freebsd-dev/sys/netatalk
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
..
aarp.c Mechanical change to use <sys/queue.h> macro API instead of 2001-02-04 13:13:25 +00:00
aarp.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
at_control.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
at_extern.h Remove __P. 2002-03-20 02:39:27 +00:00
at_proto.c
at_rmx.c
at_var.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
at.h
COPYRIGHT
ddp_input.c Make `options NETATALK' compile after the -fno-common changes. 2002-01-16 11:26:50 +00:00
ddp_output.c * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
ddp_pcb.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
ddp_usrreq.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
ddp_var.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
ddp.h
endian.h
phase2.h