freebsd-dev/sys/compat/linux
Robert Watson 32f9753cfb Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); in
some cases, move to priv_check() if it was an operation on a thread and
no other flags were present.

Eliminate caller-side jail exception checking (also now-unused); jail
privilege exception code now goes solely in kern_jail.c.

We can't yet eliminate suser() due to some cases in the KAME code where
a privilege check is performed and then used in many different deferred
paths.  Do, however, move those prototypes to priv.h.

Reviewed by:	csjp
Obtained from:	TrustedBSD Project
2007-06-12 00:12:01 +00:00
..
linux_emul.c MFP4: Turn emul_lock into a mutex. 2007-04-02 18:38:13 +00:00
linux_emul.h MFP4: Turn emul_lock into a mutex. 2007-04-02 18:38:13 +00:00
linux_file.c Ensure that newpath is always initialized, even for the error case. 2007-06-10 04:37:22 +00:00
linux_futex.c Move futex support code from <arch>/support.s into linux compat directory. 2007-05-23 08:33:06 +00:00
linux_futex.h
linux_getcwd.c
linux_ioctl.c Add the CAM 'SG' peripheral device. This device implements a subset of the 2007-04-07 19:40:58 +00:00
linux_ioctl.h Whitespace fixes 2007-04-10 21:37:37 +00:00
linux_ipc.c
linux_ipc.h
linux_mib.c
linux_mib.h
linux_misc.c Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); in 2007-06-12 00:12:01 +00:00
linux_misc.h
linux_signal.c
linux_signal.h
linux_socket.c Some Linux applications (ping) pass a non-NULL msg_control argument to 2007-04-14 10:35:09 +00:00
linux_socket.h
linux_stats.c
linux_sysctl.c
linux_sysproto.h
linux_time.c
linux_uid16.c Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); in 2007-06-12 00:12:01 +00:00
linux_util.c
linux_util.h