summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a couple of undocumented test options to MD(4) to aid in regressionphk2003-04-093-24/+47
| | | | testting of GEOM.
* Add usbhidaction(1).mdodd2003-04-094-0/+614
| | | | | | This allows actions to be bound to HID events. Obtained from: NetBSD
* Diskinfo is a small program to access the basic properties of a disk device:phk2003-04-094-0/+384
| | | | | | | sectorsize, mediasize etc. It also contains a small and naïve benchmark which reports on seek and transfer performance.
* Correctly split cyl/sects bytes when we print them.phk2003-04-091-2/+5
|
* Style issue: use do {...} while(0); for multi-exit section.phk2003-04-094-9/+9
|
* At least pretend to handle USB_GET_REPORT_ID.mdodd2003-04-091-0/+4
|
* Explicitely document the locking requirements for the malloc interface.harti2003-04-091-69/+67
| | | | | | | | | | While beeing here also correct the following: - list missing macros in the header - document MALLOC_DEFINE and MALLOC_DECLARE in the SYNOPSIS section - document additional include requirements for MALLOC_DEFINE - M_NOWAIT is not 0 anymore - remove rotted diagnostic messages
* Let libdevstat calculate the device-busy % instead of home-rolling.phk2003-04-091-13/+5
|
* If rounding results in -epsilon device busy %, set it to zero.phk2003-04-091-0/+2
|
* Add a man page for options PAE.jake2003-04-092-1/+126
| | | | Sponsored by: DARPA, Network Associates Laboratories
* Add some missing prototypes to eliminate some warnings. These alreadydas2003-04-091-0/+21
| | | | | | | appear without leading underscores in gdtoa.h, but this approach avoids removing that file from the vendor branch and unduly rearranging things. Prodded by: nectar
* /strtopx/ s/result/&result/das2003-04-092-2/+2
| | | | This is the version I *meant* to commit last week.
* o Add jls(8) for listing active jails.mike2003-04-0911-24/+320
| | | | | | | o Add jexec(8) to execute a command in an existing jail. o Add -j option for killall(1) to kill all processes in a specified jail. o Add -i option to jail(8) to output jail ID of newly created jail.
* Regen.mike2003-04-095-7/+15
|
* o In struct prison, add an allprison linked list of prisons (protectedmike2003-04-0911-111/+403
| | | | | | | | | | | | | | | by allprison_mtx), a unique prison/jail identifier field, two path fields (pr_path for reporting and pr_root vnode instance) to store the chroot() point of each jail. o Add jail_attach(2) to allow a process to bind to an existing jail. o Add change_root() to perform the chroot operation on a specified vnode. o Generalize change_dir() to accept a vnode, and move namei() calls to callers of change_dir(). o Add a new sysctl (security.jail.list) which is a group of struct xprison instances that represent a snapshot of active jails. Reviewed by: rwatson, tjr
* Fix if_vr's handling of vr_encap failures. 3 parts:silby2003-04-092-20/+18
| | | | | | | | | | | | | | - Don't bother setting OACTIVE when the descriptors are all full or there's a vr_encap failure, it doesn't help anything. - Correctly roll back on the descriptor list after a failure so as not to corrupt the list. - Add a missing VR_UNLOCK(). Without these changes, vr_encap failure (which is assured during a low mbuf situation) would result in the card locking until the watchdog could fire. MFC after: 1 week
* Sync with NetBSD.mdodd2003-04-0910-190/+135
| | | | | | | | | | | | | | - Bump shared library version on libusbhid. - Retire libusbhid.h; it is called usbhid.h now. - hid_start_parse() takes a third argument. - hid_locate() takes a fifth argument. - hid_report_size() order of arguments changes. - Other changes, including formatting and whitespace. Bump __FreeBSD_version. This change will break all third party applications that rely on previous FreeBSD specific behavior.
* The fxp(4) driver is now working on sparc64 too!mux2003-04-081-1/+1
| | | | Tested by: jake
* Almost the finished article.phk2003-04-081-23/+276
| | | | | | | | | | | | Boost sample rate to 1.25 MSPS since that allows us to use a 5Mhz (/4) or 10Mhz (/8) external clock. Make the interrupt both MPSAFE and FAST, at 610 interrupts a second, and a max time to service of 5 msec, we brake for nobody. Use kernel thread to accumulate into the 25 possible wave signals. Use #ifdef _KERNEL to let .c file double as .h file defining the ioctls.
* - Pass a busdma tag and a busdma map to fxp_dma_wait() so thatmux2003-04-081-8/+13
| | | | | it can do the necessary bus_dmamap_sync() calls. - While I'm here, reorder arguments to match other functions.
* Add an XXX comment for the atomic operation in the __alpha__mux2003-04-081-1/+3
| | | | | case so that it doesn't confuse more people. Use the more correct atomic_clear_16() instead of atomic_clear_short().
* Remove some dead code.alc2003-04-081-8/+1
|
* Remove invalid cast to vm_offset_t to avoid truncating a physical addressjake2003-04-082-2/+2
| | | | | | | when doing pmap_kextract on a 2MB page. Spotted by: peter Sponsored by: DARPA, Network Associates Laboratories
* Band-aid for the "^C kills the editor" problem. I haven't yet found thedes2003-04-081-10/+6
| | | | | | | | proper way to fix this. The way this works is to prepend "exec " to the editor command to eliminate the "shell in the middle" which prevents us from properly reawakening the editor after a SIGTSTP. PR: bin/50679
* Fix breakage on sparc64.sos2003-04-081-2/+2
| | | | Note to self: always test even the smallest changes on all platforms.
* - Endian fixes.mux2003-04-081-5/+6
| | | | - 6 -> ETHER_ADDR_LEN.
* PAM-related improvements:des2003-04-081-37/+59
| | | | | | | | - if operating "as them" (su -l), use pam_{open,close}_session() - allow PAM to override $HOME (pam_chroot needs this) - chdir early, because later on we may be chrooted and chdir will fail Also use pid_t instead of int where applicable.
* Connect the pam_chroot(8) module to the build.des2003-04-081-0/+1
|
* Add a cwd option which specifies where to chdir(2) after the chroot(2).des2003-04-082-6/+22
| | | | | When using the /home/./foo scheme, this defaults to the rhs (/foo); otherwise it defaults to /.
* Introduce debug.log which gets debug.* (most of this would otherwise godes2003-04-083-0/+4
| | | | to the great bit-bucket in the sky)
* Use the new _ND macros to not include the description strings. If anyimp2003-04-081-40/+43
| | | | | | | | | | of the entries have a description, we'll use that to override the description that the pccard layer generates for us. This saves about 930 bytes in the module, so I feel it won't hurt the crowded boot disks.... # other modules to follow
* Create new _ND versions to allow one to not specify the description beimp2003-04-081-0/+5
| | | | stored in the table.
* Don't set the decription, since the pccard layer does that for us now.imp2003-04-081-10/+1
| | | | | Remove the duplicate entries that were there to disambiguate different cards that were the same, yet people wanted to have different dmesg.
* Introduce an M_ASSERTPKTHDR() macro which performs the very common taskdes2003-04-0831-66/+52
| | | | | | | of asserting that an mbuf has a packet header. Use it instead of hand- rolled versions wherever applicable. Submitted by: Hiten Pandya <hiten@unixdaemons.com>
* Fix the hangs people have been seeing. For some reason, themux2003-04-081-11/+7
| | | | | atomic operation change caused this, so backout it until I can figure out what's wrong with it.
* Remove COMPAT_FREEBSD4. It's impossible because FreeBSD 4 does notmarcel2003-04-082-2/+0
| | | | run on ia64 at all.
* Merged from kern_thread.c 1.113, avoid a panic in cpu_throw when the firstjake2003-04-081-0/+2
| | | | | | | thread of a multithreaded process exits. This unrelated and possibly wrong change was not mentioned in the commit message for kern_thread.c 1.113.
* Fix a long standing bug in handling the last part of a stripesos2003-04-082-7/+43
| | | | | | on "odd" size disks. Add printout of the RAID structure on verbose boot.
* Inherit blocked thread's context for upcall thread.davidxu2003-04-082-14/+10
|
* MFp4: when you can't allocate a resource, print a message, don't panic.imp2003-04-081-0/+19
|
* MFP4:imp2003-04-081-3/+21
| | | | | o don't access struct resource members directly. o Set a default device description based on the CIS name.
* u_int*_t -> uint*_timp2003-04-081-14/+14
| | | | -1 -> 0xffffffff
* Don't need to read this config register if we're just going toimp2003-04-081-2/+1
| | | | overwrite it in the next line.
* MFp4: Massively unbreak module loading/unloading:imp2003-04-081-62/+32
| | | | | | | | | | | | | | | | | | o Only complain about detached children that aren't pccard/cardbus. o Don't NULL out the pccarddev and cbdev devices. detach just disassociates the device and driver. It doesn't delete the child. o on driver added, just probe_and_attach the children. If there's any children attached, wakeup the device add/delete thread. o wakeup the add/delete thread with the correct cv_signal() rather than the bogus wakeup(sc). It used to be that we did a tsleep on sc in this thread, but switched to the more reliable cv stuff a while ago w/o changing this. o Remove bogus checks when reallocating memory for the registers. They weren't needed and turned out to be completely bogus. This lets me load/unload pccard with a pccard in a slot and have the child correctly detach/attach. This should help people that have wi in their kernel, but that kldload cbb and pccard, for example.
* Use vm_paddr_t for physical addresses.jake2003-04-0823-102/+102
|
* Quick fix so that the watchdog timer is not set unless packets aresilby2003-04-081-4/+5
| | | | | | | actually queued for transmission. Without this, a low memory situation would trigger false watchdog timeouts. MFC after: 1 week
* Fix up callers of xl_encap so that they handle a failure responsesilby2003-04-081-3/+10
| | | | | | | | | | | properly (likely due to mbuf exhaustion.) Previously, the driver got somewhat wedged. Also, remove the annoying messages printed every time xl_encap couldn't allocate a mbuf; they served no useful purpose, and just made an mbuf exhaustion situation more annoying. MFC after: 1 week
* Bump the date.mdodd2003-04-071-1/+1
|
* Bump the date for recent commits.mdodd2003-04-072-2/+2
|
* Correct the maxsize and maxsegsz parameters for themux2003-04-071-7/+7
| | | | | bus_dma_tag_create() calls. Without this, fxp(4) + PAE would consume insane amounts of bounce pages.
OpenPOWER on IntegriCloud