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
..
2006-11-18 17:27:39 +00:00
2007-04-10 21:37:37 +00:00
2007-01-14 16:34:43 +00:00
2006-12-21 13:11:06 +00:00
2007-01-14 16:07:01 +00:00
2006-12-31 12:39:10 +00:00
2006-12-31 11:56:16 +00:00
2007-01-07 19:14:06 +00:00
2006-10-15 12:51:43 +00:00
2006-12-20 20:17:35 +00:00
2007-02-24 16:49:25 +00:00