freebsd-nq/sys
Bruce M Simpson dcf59a59fc Fix a security problem in sysctl() the long way round.
Use pre-emption detection to avoid the need for wiring a userland buffer
when copying opaque data structures.

sysctl_wire_old_buffer() is now a no-op. Other consumers of this
API should use pre-emption detection to notice update collisions.

vslock() and vsunlock() should no longer be called by any code
and should be retired in subsequent commits.

Discussed with:	pete, phk
MFC after:	1 week
2003-10-05 09:37:47 +00:00
..
alpha Migrate pmap_prefault() into the machine-independent virtual memory layer. 2003-10-03 22:46:53 +00:00
amd64 Don't bother setting a page table page's valid field. It is unused and 2003-10-05 00:12:16 +00:00
arm Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
boot Don't repeat selected defines from ns16550.h or sioreg.h. Just 2003-09-16 11:24:23 +00:00
cam Be kind to 64bit architectures. 2003-10-02 08:56:14 +00:00
coda Include <sys/mutex.h>. Don't depend on namespace pollution in <sys/vnode.h>. 2003-10-05 07:44:45 +00:00
compat Fix a (fortunately harmless) signed / unsigned bug. 2003-09-30 13:35:19 +00:00
conf While make has been fixed to grok this construct, the new make hasn't 2003-10-03 22:00:06 +00:00
contrib o remove extraneous include of <net/pfil.h> 2003-09-24 05:08:58 +00:00
crypto one more opossite conditiion. 2003-09-18 17:26:56 +00:00
ddb Reworked rev.1.14. Use the ELF symbol type again to summarily reject 2003-09-28 06:02:33 +00:00
dev Correct a typo on line 552 of revision 1.92 which was breaking GENERIC:- 2003-10-05 06:06:09 +00:00
fs Include <sys/mutex.h>. Don't depend on namespace pollution in <sys/vnode.h>. 2003-10-05 07:44:45 +00:00
geom Return ENODEV in case the driver has no dump routine. 2003-09-29 07:44:23 +00:00
gnu - File systems that wish to inspect the vnode contents or their private 2003-10-05 06:43:03 +00:00
i4b Use PCIR_BAR(x) instead of PCIR_MAPS. 2003-09-02 17:30:40 +00:00
i386 Don't bother setting a page table page's valid field. It is unused and 2003-10-05 00:12:16 +00:00
ia64 Migrate pmap_prefault() into the machine-independent virtual memory layer. 2003-10-03 22:46:53 +00:00
isa Change fb_attach() and fb_detach() to take a integer unit number rather 2003-09-26 10:41:44 +00:00
isofs/cd9660 - Don't cache_purge() in cd9660_reclaim. vclean() does it for us so 2003-10-05 02:45:36 +00:00
kern Fix a security problem in sysctl() the long way round. 2003-10-05 09:37:47 +00:00
libkern - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
modules MFp4: Change struct fw_xfer to reduce memory copy in fwmem_*() functions. 2003-10-02 04:06:56 +00:00
net Locking for updates to routing table entries. Each rtentry gets a mutex 2003-10-04 03:44:50 +00:00
net80211 Try yet again to deal with timing out nodes. We cannot hold the 2003-09-26 17:00:44 +00:00
netatalk More checking of M_PREPEND() return values: pass through link-layer 2003-08-29 19:27:09 +00:00
netatm The number of prefixes can never be negative so use an u_int for this. 2003-07-29 13:46:43 +00:00
netgraph I don't know from where the notion that device driver should or 2003-09-28 20:48:13 +00:00
netinet Locking for updates to routing table entries. Each rtentry gets a mutex 2003-10-04 03:44:50 +00:00
netinet6 Locking for updates to routing table entries. Each rtentry gets a mutex 2003-10-04 03:44:50 +00:00
netipsec MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
netipx Fix a bunch of off-by-one errors in the range checking code. 2003-09-11 21:40:21 +00:00
netkey Reduce diffs against KAME. No functional change. 2003-09-30 10:52:49 +00:00
netnatm Remove the last vestiges of ATM raw mode. This has not been useful for a 2003-08-06 14:34:38 +00:00
netncp The present defaults for the open and close for device drivers which 2003-09-27 12:01:01 +00:00
netsmb - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
nfs
nfsclient - Remove an incorrect XXX comment. This code does respect the XLOCK since 2003-10-05 06:47:56 +00:00
nfsserver - Set the sopt_dir member of the sockopt structure, otherwise, this parameter 2003-10-04 17:37:51 +00:00
opencrypto The present defaults for the open and close for device drivers which 2003-09-27 12:01:01 +00:00
pc98 MFi386: revisions 1.572, 1.573 and 1.574. 2003-10-05 09:05:45 +00:00
pccard More debug under boot verbose. 2003-08-29 23:25:00 +00:00
pci Make the i810 AGP device create a "drmsub" child device. This will be attached 2003-10-02 19:49:15 +00:00
posix4 sched_setscheduler: Return EINVAL when a invalid policy is specified, 2003-09-13 18:46:24 +00:00
powerpc Migrate pmap_prefault() into the machine-independent virtual memory layer. 2003-10-03 22:46:53 +00:00
rpc
security Use __BEGIN_DECLS and __END_DECLS around userland function prototypes 2003-10-02 03:07:51 +00:00
sparc64 Migrate pmap_prefault() into the machine-independent virtual memory layer. 2003-10-03 22:46:53 +00:00
sys Add a pre-emption counter, td_generation, so that threads can notice 2003-10-05 09:35:08 +00:00
tools Don't check the state of the vnode interlock if the specification says 2003-06-22 21:20:06 +00:00
ufs - Check the XLOCK before inspecting v_data. 2003-10-05 07:16:45 +00:00
vm Assert that the containing vm object's lock is held in 2003-10-05 06:58:07 +00:00
Makefile Revert exclusion for amd64 that stopped boot/ being built. 2003-06-26 03:52:48 +00:00