John Baldwin 44731cab3b 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
..
2002-03-20 02:08:01 +00:00
2002-03-20 08:56:31 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-01-08 06:47:55 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-02-04 15:55:21 +00:00
2002-02-04 14:01:27 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-23 19:37:11 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 09:55:07 +00:00
2002-03-22 06:39:13 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-23 15:36:13 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 07:51:46 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-19 23:20:21 +00:00
2002-01-14 00:13:45 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-03-20 02:08:01 +00:00
2002-02-26 03:37:35 +00:00