freebsd-dev/sys/dev/si
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
..
si2_z280.c A bit more newbusification of si. This still isn't quite finished. 2000-01-24 07:24:02 +00:00
si3_t225.c Always leave SP_DCEN on (monitor DCD). Otherwise the firmware *really* 2000-01-25 16:45:54 +00:00
si_eisa.c Remove unneeded #include <sys/proc.h> lines. 2000-10-29 13:57:19 +00:00
si_isa.c A bit more newbusification of si. This still isn't quite finished. 2000-01-24 07:24:02 +00:00
si_pci.c Ack! I totally botched the pci probe routine which resulted in it trying 2000-01-24 08:11:10 +00:00
si.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
si.h A bit more newbusification of si. This still isn't quite finished. 2000-01-24 07:24:02 +00:00
sireg.h
sivar.h A bit more newbusification of si. This still isn't quite finished. 2000-01-24 07:24:02 +00:00