summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Back out 1.112,1.113. I don't have enough resources to fix breakagesglebius2006-02-221-1/+7
| | | | introduced by this change.
* If opendir(".") fails after descending into a subdirectory viapeadar2006-02-221-1/+2
| | | | | | | | | | chdir(), be sure to undo the effects of the chdir before continuing. Without this, after hitting a directory with mode 0111 (for example), tar will get lost, and won't add any yet unvisted files to your archive. (Or possibly add the wrong files, I suppose...) Reviewed By: kientzle@
* Document the relation between $command and $foo_program.yar2006-02-221-0/+15
| | | | | PR: docs/68453 MFC after: 3 days
* Do not use bio structure after g_io_deliver(), it may not longer by valid.pjd2006-02-221-1/+1
| | | | | Found and fixed by: Vsevolod Lobko <seva@ip.net.ua> MFC after: 3 days
* - Revert r1.406 until a solution can be found that doesn't break nfs. Thejeff2006-02-222-56/+42
| | | | | | | | statfs handler in nfs will lock vnodes which may lead to deadlock or recursion. Found by: kris Pointy hat to: me
* Mention NO_NLS_CATALOGS.ume2006-02-221-0/+4
| | | | Suggested by: Niclas Zeising <lothrandil__at__n00b.apagnu.se>
* - We must hold a reference to a vnode before calling vgone() otherwisejeff2006-02-221-0/+2
| | | | | | | it may not be removed from the freelist. MFC After: 1 week Found by: kris
* - We can not hold a vnode lock while we do a lookup. Search for and loadjeff2006-02-221-19/+25
| | | | | | | | | | | modules prior to looking up the directory which we will cover to avoid this problem in mount. - We must hold the coveredvp locked before we can busy the mountpoint to prevent a lock order reversal with the vfs_busy() in lookup which holds the directory lock prior to doing a vfs_busy(). The directory lock is required to safely clear the v_mountedhere field on the directory. MFC After: 1 week
* - Grab a mnt ref in vfs_busy() before dropping the interlock. This willjeff2006-02-221-1/+6
| | | | | | | | prevent the mount point from going away while we're waiting on the lock. The ref does not need to persist once we have the lock because the lock prevents the mount point from being unmounted. MFC After: 1 week
* - Hold the vnode used in the statfs related functions until we're done withjeff2006-02-222-42/+56
| | | | | | | | the VFS_STATFS call to prevent the mount from disappearing while we're stating. - Convert these routines to use MPSAFE namei semantics. MFC After: 1 week
* - spell VOP_LOCK(vp, LK_RELEASE... VOP_UNLOCK(vp,... so that asserts injeff2006-02-221-7/+8
| | | | | | | | | | | vop_lock_post do not trigger. - Rearrange null_inactive to null_hashrem earlier so there is no chance of finding the null node on the hash list after the locks have been switched. - We should never have a NULL lowervp in null_reclaim() so there is no need to handle this situation. panic instead. MFC After: 1 week
* - Assert that the lowervp is locked in null_hashget().jeff2006-02-221-26/+21
| | | | | | | | | | - Simplify the logic dealing with recycled vnodes in null_hashget() and null_hashins(). Since we hold the lower node locked in both cases the null node can not be undergoing recycling unless reclaim somehow called null_nodeget(). The logic that was in place was not safe and was essentially dead code. MFC After: 1 week
* - Using LK_NOWAIT in qsync() can get us into infinite loop situations thatjeff2006-02-221-1/+1
| | | | | | lead to deadlocks. Remove it. MFC After: 1 week
* - Deadfs should not use the std GETWRITEMOUNT routine. Add one that alwaysjeff2006-02-221-0/+14
| | | | | | returns NULL. MFC After: 1 week
* Remove commented out qualifier to dumping a message.mjacob2006-02-221-2/+2
|
* Add option -w to specify graph width.mdodd2006-02-222-6/+48
| | | | | | Use COLUMNS, terminal width for default graph width. Reviewed by: rwatson
* Mention NO_NLS_CATALOGS.ume2006-02-221-0/+1
|
* Add multi-process support to simple http micro-benchmark, now the default.rwatson2006-02-221-43/+204
| | | | | Use -t for thread support. Also added are -n to specify number of threads or process, and -s to set the length of the test.
* Add multi-process support to simple httpd micro-benchmark, which is nowrwatson2006-02-221-37/+127
| | | | the default. With -t, threads are used.
* Disable POSIX SIGEV_THREAD notification support, soon we will have a commondavidxu2006-02-221-1/+0
| | | | library which can be reused both for libthr and libpthread.
* Abstract function mqfs_create_node() to create a mqueue node.davidxu2006-02-221-67/+76
|
* If block size is zero, use normal file operations to do I/O,davidxu2006-02-221-0/+3
| | | | | | this eliminates a divided-by-zero fault. Recommended by: phk
* use the specified key index for non-group keys; this fixes staticsam2006-02-211-4/+5
| | | | | | | | | wep key configure at key indices > 0 and 802.1x/EAPOL operation with ap's that want the station to install a key at indices > 0. Hard work by: Joe Love Reviewed by: avatar MFC after: 1 week
* honor user-specified key index for global key slotssam2006-02-211-0/+6
| | | | | | Submitted by: Joe Love Reviewed by: avatar MFC after: 1 week
* Lock the vm_object while checking its type to see if it is a vnode-backedjhb2006-02-211-11/+25
| | | | | | | | | | | object that requires Giant in vm_object_deallocate(). This is somewhat hairy in that if we can't obtain Giant directly, we have to drop the object lock, then lock Giant, then relock the object lock and verify that we still need Giant. If we don't (because the object changed to OBJT_DEAD for example), then we drop Giant before continuing. Reviewed by: alc Tested by: kris
* Move the ruadd() in kern_exit() to save our final stats in our childjhb2006-02-211-2/+3
| | | | | | | stats even further down in exit1() so that it includes the runtime and tick counts from the final time slice for the dying thread. Reviewed by: phk
* Split calcru() back into a calcru1() function shared with calccru() andjhb2006-02-211-10/+33
| | | | | | | | | | a calcru() wrapper that passes a local rusage_ext on the stack that is a snapshot to do the calculations on. Now we can pass p->p_crux to calcru1() in calccru() again which fixes the issues with runtime going backwards messages when dead processes are harvested by init. Reviewed by: phk Tested by: Stefan Ehmann shoesoft at gmx dot net
* - In the interrupt handler clear the interrupt source flags beforemarius2006-02-212-34/+48
| | | | | | | | | | | | | | | | | | | processing the interrupt events. If we clear them afterwards we can completely miss some events as the NIC can change the source flags while we're in the handler. In order to not get another interrupt while we're in ifp->if_input() with the driver lock dropped we now turn off NIC interrupts while in the interrupt handler. Previously this was meant to be achieved by clearing the interrupt source flags after processing the interrupt events but didn't really work as clearing these flags doesn't actually acknowledge and re-enable the events. This fixes the device timeouts seen with the VMware LANCE. - Relax the watchdog timer somewhat; don't enable it until the last packet is enqueued and if there is a TX interrupt but there are still outstanding ones reload the timer. Reported and tested by: Morten Rodal <morten@rodal.no> MFC after: 3 days
* NO_WPA_SUPPLICANT_EAPOL is a bool, not a strsam2006-02-211-1/+1
|
* Clear csum_flags after reading data from socket buffer. Otherwise,ru2006-02-211-0/+1
| | | | | | | | if ksocket is connected to an interface-type node somewhere later in the graph (e.g., ng_eiface or ng_iface), the csum_data may be applied to a wrong packet (if we encapsulate Ethernet or IP). MFC after: 3 days
* For pts, print the pts number, instead of the full name. As it was, we endedcognet2006-02-211-0/+2
| | | | | | up always printing "pts". Submitted by: Michal Mertl <mime at traveller dot cz>
* In wall and who, check that the utmp entry isn't stalled, as it is done in w.cognet2006-02-212-3/+36
| | | | | | | Apparently with the new pts code stalled entries are printed, when they are not with the BSD ptys. Submitted by: Michal Mertl <mime at traveller dot cz>
* Initialize the port_bst and port_bsh variables.nyan2006-02-211-0/+2
| | | | | | | | The ed driver on pc98 was broken by if_edvar.h rev1.31. Reported by: Kaho Toshikazu (kaho at elam kais kyoto-u ac jp) Tested by: Eiji Kato (ekato at a1 mbn or jp) MFC after: 3 days
* New release notes: GNOME 2.12.3, KDE 3.5.1, Perl 5.8.8, X.org 6.9.0.bmah2006-02-212-4/+44
| | | | MFCs noted: OpenSSH 4.2p1, sendmail 8.13.4.
* Remove unused variable.njl2006-02-211-2/+0
| | | | | Coverity ID: 558 Found by: Coverity Prevent
* Remove unused variable.njl2006-02-211-2/+0
| | | | | Coverity ID: 548 Found by: Coverity Prevent
* Remove unused variable.njl2006-02-211-2/+0
| | | | | Coverity ID: 546 Found by: Coverity Prevent
* Add semicolons on the end of some "&merged;" entity usages.bmah2006-02-202-14/+14
| | | | | | Fortunately this was fairly harmless. Rusty SGML: bmah
* Attempt to make running the new rc in a jail more automatic bydougb2006-02-201-1/+6
| | | | | | | resetting of early_late_divider to a more appropriate value if the admin has not modified the default. Reviewed by: brooks
* Enable automatic hardware notes generation for myri10ge(4).brueffer2006-02-203-0/+5
|
* correct check for whether wpa is enabledsam2006-02-201-1/+1
| | | | MFC after: 3 days
* Update for the 9550 series of controllers.brueffer2006-02-201-4/+15
| | | | Missing hardware entries notices by: nemesis on irc
* treat setting the optional ie to a zero-length datum to mean "deletesam2006-02-201-7/+17
| | | | | | | | the ie"; this helps drivers that (wrongly) check ic_opt_ie against NULL when making decisions Reviewed by: luigi, avatar MFC after: 3 days
* Obey opt_inet6.h in kernel build directory.ume2006-02-202-2/+8
| | | | | Reported by: Peter Losher <plosher-keyword-freebsd.a36e57__at__plosh.net> MFC after: 3 days
* Disable the myri10ge driver on pc98.nyan2006-02-201-1/+1
|
* Copy MAC address to fix alignment problems.ticso2006-02-201-2/+8
| | | | | Tested on alpha (AS600) with RTL8169S Suggested by: jhb
* Fix scancode translation tablemarkus2006-02-201-2/+3
| | | | | Approved by: emax MFC after: 3 days
* Read cycle count before sending signal, this fixes a userland threaddavidxu2006-02-201-1/+1
| | | | | | suspension bug. MFC after: 3 days
* Fix grammar.glebius2006-02-201-1/+1
| | | | Submitted by: ru
* Hook the myri10ge driver to the i386 and amd64 module builds.gallatin2006-02-201-0/+3
| | | | | Sponsored by: Myricom Inc. Reviewed by: scottl
OpenPOWER on IntegriCloud