freebsd-nq/sys/dev/awi
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
..
am79c930.c Remove __P. 2002-03-20 02:08:01 +00:00
am79c930reg.h
am79c930var.h Remove __P. 2002-03-20 02:08:01 +00:00
awi_wep.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
awi_wicfg.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
awi.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
awireg.h
awivar.h Remove __P. 2002-03-20 02:08:01 +00:00
if_awi_pccard.c Set ifp->if_name to "awi" instead of device_get_name(dev) to avoid 2002-02-26 20:09:19 +00:00