freebsd-nq/sys/nfsserver
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
..
nfs_serv.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
nfs_srvcache.c Unwind some more macros. NFSMADV() was kinda silly since it was right 2001-09-28 04:37:08 +00:00
nfs_srvsock.c Rename some variables that end up shadowing their namesakes in the NFS client 2002-01-08 19:41:06 +00:00
nfs_srvsubs.c Remove references to vm_zone.h and switch over to the new uma API. 2002-03-20 10:07:52 +00:00
nfs_syscalls.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
nfs.h Rename some variables that end up shadowing their namesakes in the NFS client 2002-01-08 19:41:06 +00:00
nfsm_subs.h The macro nfsm_reply() is supposed to allocate a reply in all cases, 2002-01-11 22:22:39 +00:00
nfsrvcache.h Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +00:00
nfsrvstats.h Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +00:00