1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/sys/i386
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
..
acpica Fix typo in function name. 2002-01-10 03:26:46 +00:00
apm Remove __P. 2002-03-20 05:48:58 +00:00
bios Remove __P. 2002-03-20 05:48:58 +00:00
compile Don't need the .keep_me files. Obrien and I committed past each other. 2001-07-01 23:35:44 +00:00
conf Remove references to KTR_EXTEND. 2002-04-01 19:25:22 +00:00
i386 Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
ibcs2 Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
include GC #if 0'd assembly mutex micro operations. If someone wants to bring 2002-03-28 15:14:23 +00:00
isa Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +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
pci Major rework of the iicbus/smbus framework: 2002-03-23 15:49:15 +00:00
svr4 Remove __P. 2002-03-20 07:51:46 +00:00
Makefile Update pathnames for creation of tags file. 2001-12-05 01:23:21 +00:00