freebsd-nq/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 Get rid of the twisted MFREE() macro entirely. 2002-02-05 02:00:56 +00:00
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 Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ng_bpf.h
ng_bridge.c Typo. 2001-12-15 20:53:15 +00:00
ng_bridge.h
ng_cisco.c log routine called w/ %ld and int argument, cast argument to long 2001-10-29 02:22:49 +00:00
ng_cisco.h
ng_echo.c
ng_echo.h
ng_eiface.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ng_eiface.h
ng_etf.c A node that allows ethernet type packets to be filtered to different 2001-10-30 07:28:17 +00:00
ng_etf.h A node that allows ethernet type packets to be filtered to different 2001-10-30 07:28:17 +00:00
ng_ether.c The hardware checksum code makes the assumption that a packet routed out 2002-02-05 18:27:30 +00:00
ng_ether.h
ng_frame_relay.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ng_frame_relay.h
ng_gif_demux.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ng_gif_demux.h
ng_gif.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ng_gif.h Fixed pedantic syntax error (trailing semicolon in enum). 2001-10-04 07:51:42 +00:00
ng_hole.c
ng_hole.h
ng_iface.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ng_iface.h
ng_ip_input.c Add ng_ip_input. A new netgraph node for queuing IP packets into the 2001-09-27 21:54:27 +00:00
ng_ip_input.h Add ng_ip_input. A new netgraph node for queuing IP packets into the 2001-09-27 21:54:27 +00:00
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 When a socket is not connected, allow the peer "struct sockaddr" 2001-11-28 19:39:58 +00:00
ng_lmi.c
ng_lmi.h
ng_message.h
ng_mppc.c o Move NTOHL() and associated macros into <sys/param.h>. These are 2002-02-18 20:35:27 +00:00
ng_mppc.h Add support for 56 bit MPPE encryption. 2001-12-15 02:07:32 +00:00
ng_one2many.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ng_one2many.h
ng_parse.c Fix bug in previous commit. 2002-02-12 18:33:10 +00:00
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 Send a NGM_PPPOE_ACNAME message to userland when a node is connected. 2002-02-20 15:51:11 +00:00
ng_pppoe.h Send a NGM_PPPOE_ACNAME message to userland when a node is connected. 2002-02-20 15:51:11 +00:00
ng_pptpgre.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ng_pptpgre.h
ng_rfc1490.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
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 Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ng_split.h
ng_tee.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
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 Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ng_UI.h
ng_vjc.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ng_vjc.h
NOTES