freebsd-skq/sys/netgraph
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
..
netgraph.h Official timeout routines for netgraph nodes that know how to 2002-03-05 20:26:20 +00:00
ng_async.c
ng_async.h
ng_base.c Official timeout routines for netgraph nodes that know how to 2002-03-05 20:26:20 +00:00
ng_bpf.c
ng_bpf.h
ng_bridge.c
ng_bridge.h
ng_cisco.c
ng_cisco.h
ng_echo.c
ng_echo.h
ng_eiface.c
ng_eiface.h
ng_etf.c
ng_etf.h
ng_ether.c
ng_ether.h
ng_frame_relay.c
ng_frame_relay.h
ng_gif_demux.c
ng_gif_demux.h
ng_gif.c
ng_gif.h
ng_hole.c
ng_hole.h
ng_iface.c
ng_iface.h
ng_ip_input.c
ng_ip_input.h
ng_ksocket.c Simple p_ucred -> td_ucred changes to start using the per-thread ucred 2002-02-27 18:32:23 +00:00
ng_ksocket.h
ng_lmi.c
ng_lmi.h
ng_message.h
ng_mppc.c
ng_mppc.h
ng_one2many.c
ng_one2many.h
ng_parse.c
ng_parse.h
ng_ppp.c Fix bugs where the ng_ppp node could transmit PPP frames whose length 2002-03-15 02:31:14 +00:00
ng_ppp.h
ng_pppoe.c
ng_pppoe.h
ng_pptpgre.c
ng_pptpgre.h
ng_rfc1490.c
ng_rfc1490.h
ng_sample.c
ng_sample.h
ng_socket.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
ng_socket.h
ng_socketvar.h
ng_split.c
ng_split.h
ng_tee.c
ng_tee.h
ng_tty.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
ng_tty.h
ng_UI.c
ng_UI.h
ng_vjc.c
ng_vjc.h
NOTES