freebsd-skq/sys/net
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
..
bpf_compat.h
bpf_filter.c Remove __P. 2002-03-19 21:54:18 +00:00
bpf.c Remove __P. 2002-03-19 21:54:18 +00:00
bpf.h Remove __P. 2002-03-19 21:54:18 +00:00
bpfdesc.h
bridge.c Add hooks for very basic IPFilter support in bridging. Set, 2002-03-18 00:55:23 +00:00
bridge.h
bsd_comp.c Fixed some style bugs in the removal of __P(()). The main ones were 2002-03-24 09:34:04 +00:00
ethernet.h Remove __P. 2002-03-19 21:54:18 +00:00
fddi.h - Merge the pdq driver (if_fpa and if_fea) from NetBSD. 2002-03-29 11:22:22 +00:00
if_arc.h Remove __P. 2002-03-19 21:54:18 +00:00
if_arcsubr.c Remove __P. 2002-03-19 21:54:18 +00:00
if_arp.h
if_atm.h Remove __P. 2002-03-19 21:54:18 +00:00
if_atmsubr.c
if_disc.c
if_dl.h Remove __P. 2002-03-19 21:54:18 +00:00
if_ef.c
if_ethersubr.c Fixed some style bugs in the removal of __P(()). The main ones were 2002-03-24 09:34:04 +00:00
if_faith.c Remove __P. 2002-03-19 21:54:18 +00:00
if_fddisubr.c - Merge the pdq driver (if_fpa and if_fea) from NetBSD. 2002-03-29 11:22:22 +00:00
if_gif.c Remove __P. 2002-03-19 21:54:18 +00:00
if_gif.h Fixed some style bugs in the removal of __P(()). The main ones were 2002-03-24 09:34:04 +00:00
if_ieee80211.h
if_iso88025subr.c
if_llc.h Sync with NetBSD. 2002-03-29 06:58:45 +00:00
if_loop.c Simplify the interface cloning framework by handling unit 2002-03-11 09:26:07 +00:00
if_media.c Remove __P. 2002-03-19 21:54:18 +00:00
if_media.h Remove __P. 2002-03-19 21:54:18 +00:00
if_mib.c
if_mib.h
if_ppp.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
if_ppp.h
if_pppvar.h Fixed some style bugs in the removal of __P(()). The main ones were 2002-03-24 09:34:04 +00:00
if_sl.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
if_slvar.h
if_sppp.h
if_spppsubr.c
if_stf.c Remove __P. 2002-03-19 21:54:18 +00:00
if_stf.h Remove __P. 2002-03-19 21:54:18 +00:00
if_tap.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
if_tap.h
if_tapvar.h
if_tun.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
if_tun.h
if_tunvar.h
if_types.h
if_var.h Remove __P. 2002-03-19 21:54:18 +00:00
if_vlan_var.h Simplify the interface cloning framework by handling unit 2002-03-11 09:26:07 +00:00
if_vlan.c Simplify the interface cloning framework by handling unit 2002-03-11 09:26:07 +00:00
if.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
if.h Remove __P. 2002-03-19 21:54:18 +00:00
intrq.c
intrq.h Remove __P. 2002-03-19 21:54:18 +00:00
iso88025.h
net_osdep.c
net_osdep.h Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
netisr.h Remove __P. 2002-03-19 21:54:18 +00:00
pfil.c Remove __P. 2002-03-19 21:54:18 +00:00
pfil.h Fixed some style bugs in the removal of __P(()). The main ones were 2002-03-24 09:34:04 +00:00
pfkeyv2.h
ppp_comp.h Fixed some style bugs in the removal of __P(()). The main ones were 2002-03-24 09:34:04 +00:00
ppp_deflate.c Fixed some style bugs in the removal of __P(()). The main ones were 2002-03-24 09:34:04 +00:00
ppp_defs.h
ppp_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
radix.c Fixed some style bugs in the removal of __P(()). The main ones were 2002-03-24 09:34:04 +00:00
radix.h Remove __P. 2002-03-19 21:54:18 +00:00
raw_cb.c
raw_cb.h Remove __P. 2002-03-19 21:54:18 +00:00
raw_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
route.c Remove __P. 2002-03-19 21:54:18 +00:00
route.h Fixed some style bugs in the removal of __P(()). The main ones were 2002-03-24 09:34:04 +00:00
rtsock.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
slcompress.c
slcompress.h Remove __P. 2002-03-19 21:54:18 +00:00
slip.h
zlib.c Work around zlib bug where using a deflate window size of 8 will 2002-03-23 13:05:53 +00:00
zlib.h