freebsd-skq/sys/compat
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
..
linprocfs Protect proc struct (p_args and p_comm) when doing procfs IO that pulls 2002-03-29 19:12:40 +00:00
linux Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
netbsd Remove __P. 2002-03-20 05:48:58 +00:00
pecoff Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 10:35:22 +00:00
svr4 Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00