jhb dc2e474f79 Change the suser() API to take advantage of td_ucred as well as do a
general cleanup of the API.  The entire API now consists of two functions
similar to the pre-KSE API.  The suser() function takes a thread pointer
as its only argument.  The td_ucred member of this thread must be valid
so the only valid thread pointers are curthread and a few kernel threads
such as thread0.  The suser_cred() function takes a pointer to a struct
ucred as its first argument and an integer flag as its second argument.
The flag is currently only used for the PRISON_ROOT flag.

Discussed on:	smp@
2002-04-01 21:31:13 +00:00
..
2000-12-27 22:20:13 +00:00
2002-03-19 21:54:18 +00:00
2002-03-19 21:54:18 +00:00
2002-03-19 21:54:18 +00:00
2002-03-19 21:54:18 +00:00
2002-03-19 21:54:18 +00:00
2002-03-19 21:54:18 +00:00
2002-03-19 21:54:18 +00:00
2001-12-14 19:28:06 +00:00
2002-03-19 21:54:18 +00:00
2002-03-19 21:54:18 +00:00
2002-03-19 21:54:18 +00:00
2001-12-14 19:32:47 +00:00
2002-03-29 06:58:45 +00:00
2002-03-19 21:54:18 +00:00
2002-03-19 21:54:18 +00:00
2002-03-19 21:54:18 +00:00
2002-03-19 21:54:18 +00:00
2000-07-20 17:01:10 +00:00
2002-03-19 21:54:18 +00:00
2002-03-19 21:54:18 +00:00
2002-03-19 21:54:18 +00:00
2002-03-19 21:54:18 +00:00
2002-03-19 21:54:18 +00:00
2001-06-11 12:39:29 +00:00
2002-03-19 21:54:18 +00:00
2002-03-19 21:54:18 +00:00
2002-03-19 21:54:18 +00:00
2002-03-19 21:54:18 +00:00