summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Implement a dummy atomic_cmpset_32(). It should be safe to use it in rtld asOlivier Houchard2004-11-231-0/+11
| | | | | | | the signals are masked anyway. Notes: svn path=/head/; revision=138023
* Enable interrupts as soon as the pending interrupts have been masked.Olivier Houchard2004-11-231-4/+3
| | | | Notes: svn path=/head/; revision=138022
* Use ns8250.Olivier Houchard2004-11-232-3/+2
| | | | Notes: svn path=/head/; revision=138021
* Assert the inpcb lock in tcp_twstart(), which does both read-modify-writeRobert Watson2004-11-232-0/+20
| | | | | | | | | | | | | | | | | | | | | | on the tcpcb, but also calls into tcp_close() and tcp_twrespond(). Annotate that tcp_twrecycleable() requires the inpcb lock because it does a series of non-atomic reads of the tcpcb, but is currently called without the inpcb lock by the caller. This is a bug. Assert the inpcb lock in tcp_twclose() as it performs a read-modify-write of the timewait structure/inpcb, and calls in_pcbdetach() which requires the lock. Assert the inpcb lock in tcp_twrespond(), as it performs multiple non-atomic reads of the tcptw and inpcb structures, as well as calling mac_create_mbuf_from_inpcb(), tcpip_fillheaders(), which require the inpcb lock. MFC after: 2 weeks Notes: svn path=/head/; revision=138020
* Assert inpcb lock in tcp_quench(), tcp_drop_syn_sent(), tcp_mtudisc(),Robert Watson2004-11-232-0/+8
| | | | | | | | | and tcp_drop(), due to read-modify-write of TCP state variables. MFC after: 2 weeks Notes: svn path=/head/; revision=138019
* Assert the tcbinfo write lock in tcp_new_isn(), as the tcbinfo lockRobert Watson2004-11-232-8/+22
| | | | | | | | | | | | | | | protects access to the ISN state variables. Acquire the tcbinfo write lock in tcp_isn_tick() to synchronize timer-driven isn bumping. Staticize internal ISN variables since they're not used outside of tcp_subr.c. MFC after: 2 weeks Notes: svn path=/head/; revision=138018
* Add missed 'the'.Gleb Smirnoff2004-11-231-1/+1
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=138016
* Document new changes:Gleb Smirnoff2004-11-231-7/+30
| | | | | | | | | | | - how node listens to flow control messages - how node sends flow control messages Reviewed by: ru MFC after: 1 week Notes: svn path=/head/; revision=138015
* - Add missing Giant drop before acquiring the topology lock.Pawel Jakub Dawidek2004-11-231-3/+6
| | | | | | | - Move DROP_GIANT()/PICKUP_GIANT() to g_gate_ioctl(). Notes: svn path=/head/; revision=138014
* Bump documentation date for last commit, before I get poked by ruSimon L. B. Nielsen2004-11-231-1/+1
| | | | | | | for forgetting it. Notes: svn path=/head/; revision=138013
* Add Dell PERC 4e/Di and Dell PERC 4e/Si to the list of supportedSimon L. B. Nielsen2004-11-231-0/+4
| | | | | | | | | | devices. Submitted by: Muthu_T@Dell.com MFC after: 3 days Notes: svn path=/head/; revision=138012
* Netgraph flow control: change interface status when node receiveGleb Smirnoff2004-11-231-0/+12
| | | | | | | | | | LINK_IS_UP/LINK_IS_DOWN messages. Approved by: julian (mentor), implicitly MFC after: 1 week Notes: svn path=/head/; revision=138011
* Introduce new failure detection algorithm, called NG_ONE2MANY_FAIL_NOTIFY.Gleb Smirnoff2004-11-232-1/+66
| | | | | | | | | | | | | It means, that node listens to flow control messages from downstreams and removes link from list of active links whenever a LINK_IS_DOWN message is received. If LINK_IS_UP message is received, then links is put back into list of active links. Approved by: julian (mentor), implicitly MFC after: 1 week Notes: svn path=/head/; revision=138010
* o Use ng_timeout() instead of timeout(9).Gleb Smirnoff2004-11-231-11/+33
| | | | | | | | | | | | | | o Implement some netgraph flow control: - Whenever status of HDLC heartbeat from pear is timed out, send NGM_LINK_IS_DOWN message. - If HDLC link changes status from down to up, send NGM_LINK_IS_UP message. Approved by: julian (mentor), implicitly MFC after: 1 week Notes: svn path=/head/; revision=138009
* Hopefully fix the "aicasm" build-tool issue when using ${KERNSRCDIR}Ruslan Ermilov2004-11-231-1/+1
| | | | | | | | | different from ${.CURDIR}. Reported by: jhb Notes: svn path=/head/; revision=138008
* Unhook the loader subdirectory. The ia64 EFI loader is now buildMarcel Moolenaar2004-11-231-1/+1
| | | | | | | under ../ia64/efi. Notes: svn path=/head/; revision=138004
* Hookup the efi subdirectory.Marcel Moolenaar2004-11-231-1/+1
| | | | Notes: svn path=/head/; revision=138003
* This file was repocopied from src/sys/boot/efi/loader.Marcel Moolenaar2004-11-231-38/+32
| | | | | | | Updated for the new build location. Notes: svn path=/head/; revision=138002
* Visit the efi subdirectory before we visit the machine-specificMarcel Moolenaar2004-11-231-5/+5
| | | | | | | | subdirectory so that the library built there can be used by the machine specific boot code. Notes: svn path=/head/; revision=138001
* This file was repocopied from src/sys/boot/efi/arch/ia64.Marcel Moolenaar2004-11-230-0/+0
| | | | Notes: svn path=/head/; revision=138000
* This file was repocopied from src/sys/boot/efi/loader.Marcel Moolenaar2004-11-230-0/+0
| | | | Notes: svn path=/head/; revision=137999
* It appears that 'kbd' device has never been used and isn't needed.Warner Losh2004-11-235-5/+0
| | | | | | | | Build tests show that this isn't used for GENERIC or LINT, and nobody seemed to know why they existed. Notes: svn path=/head/; revision=137998
* Add arm/mem.c.Olivier Houchard2004-11-221-0/+1
| | | | Notes: svn path=/head/; revision=137997
* [Sorry, forgot to commit my source changes in my previous commit.]Joerg Wunsch2004-11-221-2/+5
| | | | | | | | | | | | | | | | | Document all options and general usage. Implement the -a option to bump the annotation_level. This improves the Emacs gud behaviour. You can now supply the following function (defun gud-gdb-massage-args (file args) (cons "-a" args)) (e.g. by evaluating it from the *scratch* buffer) and get the normal jump to the source window when browsing the stack. We should probably eventually supply our own kgdb submode to gud.el. Notes: svn path=/head/; revision=137993
* Document all options and general usage.Joerg Wunsch2004-11-221-0/+67
| | | | | | | | | | | | | | | Implement the -a option to bump the annotation_level. This improves the Emacs gud behaviour. You can now supply the following function (defun gud-gdb-massage-args (file args) (cons "-a" args)) (e.g. by evaluating it from the *scratch* buffer) and get the normal jump to the source window when browsing the stack. We should probably eventually supply our own kgdb submode to gud.el. Notes: svn path=/head/; revision=137992
* Get rid of the shell table sentinel. It isn't needed anymore becauseHartmut Brandt2004-11-221-10/+1
| | | | | | | JobMatchShell returns NULL when no shell name matches since revision 1.51. Notes: svn path=/head/; revision=137991
* Fix the abuse of Ar macros for designating flag options, use Fl instead.Joerg Wunsch2004-11-221-4/+4
| | | | Notes: svn path=/head/; revision=137990
* Remove "Unlocked read" annotations associated with previously unlockedRobert Watson2004-11-222-6/+0
| | | | | | | | | | use of socket buffer fields in the TCP input code. These references are now protected by use of the receive socket buffer lock. MFC after: 1 week Notes: svn path=/head/; revision=137988
* When looking for a virtual host to handle the connection,Yaroslav Tykhiy2004-11-221-2/+3
| | | | | | | | | stop the search on the first match for efficiency. Submitted by: Nick Leuta Notes: svn path=/head/; revision=137987
* Calling pam_chauthtok() isn't really needed sinceYaroslav Tykhiy2004-11-221-7/+3
| | | | | | | | | an FTP user has no chance to change password anyway. Submitted by: Nick Leuta Notes: svn path=/head/; revision=137986
* Don't log the chroot dir on every command since it's constant for a session.Yaroslav Tykhiy2004-11-221-9/+8
| | | | | | | | | | Log it once at the beginning of the session instead. OTOH, log wd each time for the sake of better auditing and consistent log format. Proposed by: Nick Leuta <skynick -at- mail.sc.ru> Notes: svn path=/head/; revision=137985
* Always log remote IP.Yaroslav Tykhiy2004-11-221-13/+9
| | | | | | | PR: bin/59773 Notes: svn path=/head/; revision=137984
* Treat host name buffers consistently.Yaroslav Tykhiy2004-11-221-12/+23
| | | | Notes: svn path=/head/; revision=137983
* Make hme(4) mpsafePyun YongHyeon2004-11-224-29/+123
| | | | | | | | | | | | | | | | - Let hme_start()/hme_init() acquire lock and then call hme_start_locked()/hme_init_locked() respectivly. - Teardown interrupt handler before hme_detach(). - Remove IFF_NEEDSGIANT flag and mark interrupt handler INTR_MPSAFE. - Set callout handler to CALLOUT_MPSAFE. - Add locks in hme MII interface. Reviewed by: jake Tested by: Julian C. Dunn <jdunn at opentrend dot net> MFC after: 2 weeks Notes: svn path=/head/; revision=137982
* Remove some information that only applies to the old a.out core dump format.David Schultz2004-11-221-35/+0
| | | | Notes: svn path=/head/; revision=137981
* Print dates the right way round.Greg Lehey2004-11-211-0/+2
| | | | Notes: svn path=/head/; revision=137979
* Remove struct ia64_itir and use a plain old uint64_t instead.Marcel Moolenaar2004-11-214-23/+20
| | | | Notes: svn path=/head/; revision=137978
* Cleanup.Olivier Houchard2004-11-211-41/+3
| | | | Notes: svn path=/head/; revision=137977
* Set the frame pointer to 0 in fork_trampoline().Olivier Houchard2004-11-211-0/+1
| | | | Notes: svn path=/head/; revision=137976
* Implement breakpoints and single stepping on arm.Olivier Houchard2004-11-214-21/+109
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=137975
* Do not attempt to skip a breakpoint that is a result of a software single step,Olivier Houchard2004-11-211-3/+12
| | | | | | | or bad things happen. Notes: svn path=/head/; revision=137974
* Properly wither the geom container on detach. This will allow one toWarner Losh2004-11-211-0/+5
| | | | | | | | | | | then later reload fdc and not have duplicate fd devices in dev. # Maybe this should be moved to a convenience function. Reviewed by: phk Notes: svn path=/head/; revision=137973
* uart_i8251_ops is gone.Yoshihiro Takahashi2004-11-211-8/+2
| | | | Notes: svn path=/head/; revision=137972
* s/send/sent/ in comment describing TCPS_SYN_RECEIVED.Robert Watson2004-11-211-1/+1
| | | | Notes: svn path=/head/; revision=137971
* Neither of the arguments to closef() can be NULL anymore, so don'tDavid Schultz2004-11-211-4/+1
| | | | | | | check for that. Notes: svn path=/head/; revision=137970
* Remove an extra #includeScott Long2004-11-212-2/+0
| | | | Notes: svn path=/head/; revision=137966
* MFC amd64:Scott Long2004-11-211-29/+45
| | | | | | | | | | | Consolidate all of the bounce tests into the BUS_DMA_COULD_BOUNCE flag. Allocate the bounce zone at either tag creation or map creation to help avoid null-pointer derefs later on. Track total pages per zone so that each zone can get a minimum allocation at tag creation time instead of being defeated by mis-behaving tags that suck up the max amount. Notes: svn path=/head/; revision=137965
* Consolidate all of the bounce tests into the BUS_DMA_COULD_BOUNCE flag.Scott Long2004-11-211-29/+45
| | | | | | | | | | Allocate the bounce zone at either tag creation or map creation to help avoid null-pointer derefs later on. Track total pages per zone so that each zone can get a minimum allocation at tag creation time instead of being defeated by mis-behaving tags that suck up the max amount. Notes: svn path=/head/; revision=137964
* Don't force busdma to pre-allocate bounce pages for static allocations.Scott Long2004-11-211-2/+2
| | | | Notes: svn path=/head/; revision=137962
* Don't force busdma to pre-allocate bounce pages for the parent tag.Scott Long2004-11-211-2/+2
| | | | Notes: svn path=/head/; revision=137961