freebsd-dev/sys/alpha
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
..
alpha Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +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 On 2nd thought, we can do without plip altogether 2002-03-27 21:10:38 +00:00
include Compromise for critical*()/cpu_critical*() recommit. Cleanup the interrupt 2002-03-27 05:39:23 +00:00
isa Don't grab the ICU lock while reading the current pending interrupts and 2002-02-08 18:30:36 +00:00
linux Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
mcbus Initialise the AS4100 console at the same time as most of the other 2002-03-26 19:46:40 +00:00
osf1 Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
pci shut up the compiler 2002-03-21 18:48:00 +00:00
tc Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
tlsb Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
Makefile Add a dopey makefile to do the tags dance, which is probably not perfect 2000-12-31 23:26:34 +00:00