| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
testting of GEOM.
|
|
|
|
|
|
| |
This allows actions to be bound to HID events.
Obtained from: NetBSD
|
|
|
|
|
|
|
| |
sectorsize, mediasize etc.
It also contains a small and naïve benchmark which reports on seek
and transfer performance.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
Sponsored by: DARPA, Network Associates Laboratories
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
This is the version I *meant* to commit last week.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
Tested by: jake
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
it can do the necessary bus_dmamap_sync() calls.
- While I'm here, reorder arguments to match other functions.
|
|
|
|
|
| |
case so that it doesn't confuse more people. Use the more
correct atomic_clear_16() instead of atomic_clear_short().
|
| |
|
|
|
|
|
|
|
| |
when doing pmap_kextract on a 2MB page.
Spotted by: peter
Sponsored by: DARPA, Network Associates Laboratories
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Note to self: always test even the smallest changes on all platforms.
|
|
|
|
| |
- 6 -> ETHER_ADDR_LEN.
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
|
|
|
|
| |
When using the /home/./foo scheme, this defaults to the rhs (/foo);
otherwise it defaults to /.
|
|
|
|
| |
to the great bit-bucket in the sky)
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
stored in the table.
|
|
|
|
|
| |
Remove the duplicate entries that were there to disambiguate different
cards that were the same, yet people wanted to have different dmesg.
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
atomic operation change caused this, so backout it until I
can figure out what's wrong with it.
|
|
|
|
| |
run on ia64 at all.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
on "odd" size disks.
Add printout of the RAID structure on verbose boot.
|
| |
|
| |
|
|
|
|
|
| |
o don't access struct resource members directly.
o Set a default device description based on the CIS name.
|
|
|
|
| |
-1 -> 0xffffffff
|
|
|
|
| |
overwrite it in the next line.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
actually queued for transmission. Without this, a low memory situation
would trigger false watchdog timeouts.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
| |
bus_dma_tag_create() calls. Without this, fxp(4) + PAE
would consume insane amounts of bounce pages.
|