freebsd-skq/sys/compat/freebsd32
ed f3a9a195cb Push down Giant inside sysctl. Also add some more assertions to the code.
In the existing code we didn't really enforce that callers hold Giant
before calling userland_sysctl(), even though there is no guarantee it
is safe. Fix this by just placing Giant locks around the call to the oid
handler. This also means we only pick up Giant for a very short period
of time. Maybe we should add MPSAFE flags to sysctl or phase it out all
together.

I've also added SYSCTL_LOCK_ASSERT(). We have to make sure sysctl_root()
and name2oid() are called with the sysctl lock held.

Reviewed by:	Jille Timmermans <jille quis cx>
2008-12-29 12:58:45 +00:00
..
freebsd32_ioctl.c Add freebsd32 compat shims for ioctl(2) 2008-09-22 16:24:36 +00:00
freebsd32_ioctl.h Add freebsd32 compat shims for ioctl(2) 2008-09-22 16:24:36 +00:00
freebsd32_ipc.h Add freebsd32 compat wrappers for msgctl() and _semctl() using 2007-12-06 23:35:29 +00:00
freebsd32_misc.c Push down Giant inside sysctl. Also add some more assertions to the code. 2008-12-29 12:58:45 +00:00
freebsd32_proto.h Regen. 2008-12-10 20:57:16 +00:00
freebsd32_signal.h Add 32-bit compat support for AIO. 2008-12-11 00:58:05 +00:00
freebsd32_syscall.h Regen. 2008-12-10 20:57:16 +00:00
freebsd32_syscalls.c Regen. 2008-12-10 20:57:16 +00:00
freebsd32_sysent.c Regen. 2008-12-10 20:57:16 +00:00
freebsd32_util.h Add support for installing 32-bit system calls from kernel modules. This 2008-09-25 20:50:21 +00:00
freebsd32.h MFp4: 2008-11-29 14:32:14 +00:00
Makefile Add a 'clean' target. 2005-10-23 23:58:23 +00:00
syscalls.conf - Remove unused sysvec variables from various syscalls.conf. 2006-08-15 17:25:55 +00:00
syscalls.master - Add 32-bit compat system calls for VFS_AIO. The system calls live in the 2008-12-10 20:56:19 +00:00