freebsd-dev/sys/dev/rp
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
..
rp_isa.c Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
rp_pci.c Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
rp.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
rpreg.h 1. Update Comtrol RocketPort driver(rp) to version 3.02. 2000-06-11 06:43:16 +00:00
rpvar.h Force the RxBuf and TxBuf arrays to be aligned on 16-bit boundaries to 2001-11-05 12:57:46 +00:00