freebsd-dev/sys/compat/opensolaris/kern
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
..
opensolaris_atomic.c - Reduce number of atomic operations needed to be implemented in asm by 2007-06-08 12:35:47 +00:00
opensolaris_kmem.c Try to stabilize ZFS with regard to memory consumption: 2007-04-10 02:35:57 +00:00
opensolaris_kobj.c Revert UF_OPENING workaround for CURRENT. 2007-05-31 11:51:53 +00:00
opensolaris_kstat.c Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
opensolaris_misc.c MFp4: Reduce diff against vendor code: 2007-04-23 00:52:07 +00:00
opensolaris_policy.c Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); in 2007-06-12 00:12:01 +00:00
opensolaris_string.c strchr() and strrchr() are already present in the kernel, but with less 2007-04-10 21:42:12 +00:00
opensolaris_vfs.c Reimplement traverse() helper function: 2007-06-04 11:31:46 +00:00
opensolaris_zone.c