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
..
2007-04-30 20:26:11 +00:00
2005-08-26 15:27:18 +00:00
2006-12-04 00:41:48 +00:00
2006-01-21 10:44:34 +00:00
2007-05-11 11:05:30 +00:00
2007-04-04 15:30:31 +00:00
2007-05-11 11:00:48 +00:00
2007-03-24 22:15:02 +00:00