freebsd-dev/sys/netatm
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
..
ipatm Remove __P. 2002-03-20 08:00:54 +00:00
sigpvc Remove __P. 2002-03-20 08:00:54 +00:00
spans Remove __P. 2002-03-20 08:00:54 +00:00
uni Remove __P. 2002-03-20 08:00:54 +00:00
atm_aal5.c Remove __P. 2002-03-20 02:39:27 +00:00
atm_cm.c Remove __P. 2002-03-20 02:39:27 +00:00
atm_cm.h Remove __P. 2002-03-20 02:39:27 +00:00
atm_device.c Unbreak fore adapters from POV of warnings. 2002-02-27 21:12:44 +00:00
atm_if.c Remove __P. 2002-03-20 02:39:27 +00:00
atm_if.h Remove __P. 2002-03-20 02:39:27 +00:00
atm_ioctl.h
atm_pcb.h More HARP polishina: 2000-10-12 07:42:34 +00:00
atm_proto.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
atm_sap.h
atm_sigmgr.h Remove __P. 2002-03-20 02:39:27 +00:00
atm_signal.c Remove __P. 2002-03-20 02:39:27 +00:00
atm_socket.c Give struct socket structures a ref counting interface similar to 2001-11-17 03:07:11 +00:00
atm_stack.h Remove __P. 2002-03-20 02:39:27 +00:00
atm_subr.c Remove __P. 2002-03-20 02:39:27 +00:00
atm_sys.h Remove __P. 2002-03-20 02:39:27 +00:00
atm_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
atm_var.h Remove __P. 2002-03-20 02:39:27 +00:00
atm_vc.h More HARP polishina: 2000-10-12 07:42:34 +00:00
atm.h
port.h Replace a few more lines of code orphaned by MFREE going away. 2002-02-07 22:08:32 +00:00
queue.h