freebsd-dev/sys/fs
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
..
cd9660 Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
coda Remove __P. 2002-03-20 05:00:21 +00:00
deadfs Remove __P. 2002-03-19 22:20:14 +00:00
devfs Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
fdescfs Remove __P. 2002-03-19 22:20:14 +00:00
fifofs Remove __P. 2002-03-19 22:20:14 +00:00
hpfs Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
msdosfs Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
ntfs Remove __P. 2002-03-19 22:20:14 +00:00
nullfs Cannot release vnode underlying the nullfs vnode in null_inactive 2002-03-18 05:39:04 +00:00
nwfs Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
portalfs Remove __P. 2002-03-19 22:20:14 +00:00
procfs Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
pseudofs Part I: Update extended attribute API and ABI: 2002-02-10 04:43:22 +00:00
smbfs Add a flags parameter to VFS_VGET to pass through the desired 2002-03-17 01:25:47 +00:00
specfs Remove __P. 2002-03-19 22:20:14 +00:00
umapfs Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
unionfs Remove __P. 2002-03-19 22:20:14 +00:00