1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00
freebsd/sys/dev/an
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
..
if_aironet_ieee.h Fix bugs in the structure for rx_frame by making gap length one byte and 2001-12-31 22:01:44 +00:00
if_an_isa.c Remove __P. 2002-03-20 02:08:01 +00:00
if_an_pccard.c Minor style problem I introduced recently 2001-11-15 06:44:43 +00:00
if_an_pci.c Remove __P. 2002-03-20 02:08:01 +00:00
if_an.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
if_anreg.h Remove __P. 2002-03-20 02:08:01 +00:00