freebsd-dev/sys/dev/asr
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
..
asr.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
dptalign.h Convert C++ style comments to proper C ones. 2001-12-13 23:48:34 +00:00
dptsig.h Convert C++ style comments to proper C ones. 2001-12-13 23:48:34 +00:00
i2oadptr.h Convert C++ style comments to proper C ones. 2001-12-13 23:48:34 +00:00
i2obscsi.h Convert C++ style comments to proper C ones. 2001-12-13 23:48:34 +00:00
i2odep.h Convert C++ style comments to proper C ones. 2001-12-13 23:48:34 +00:00
i2odpt.h Convert C++ style comments to proper C ones. 2001-12-13 23:48:34 +00:00
i2oexec.h Convert C++ style comments to proper C ones. 2001-12-13 23:48:34 +00:00
i2omsg.h Convert C++ style comments to proper C ones. 2001-12-13 23:48:34 +00:00
i2otypes.h Convert C++ style comments to proper C ones. 2001-12-13 23:48:34 +00:00
i2outil.h Convert C++ style comments to proper C ones. 2001-12-13 23:48:34 +00:00
MAINTAINER Convert C++ style comments to proper C ones. 2001-12-13 23:48:34 +00:00
osd_defs.h Convert C++ style comments to proper C ones. 2001-12-13 23:48:34 +00:00
osd_unix.h Convert C++ style comments to proper C ones. 2001-12-13 23:48:34 +00:00
osd_util.h Convert C++ style comments to proper C ones. 2001-12-13 23:48:34 +00:00
sys_info.h Convert C++ style comments to proper C ones. 2001-12-13 23:48:34 +00:00