From: | Jeffrey Hsu <hsu@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Tue, 23 Mar 2004 14:19:08 -0800 (PST) |
hsu 2004/03/23 14:19:08 PST DragonFly src repository Modified files: sys/dev/netif/an if_an.c sys/dev/netif/ar if_ar.c sys/dev/netif/aue if_aue.c sys/dev/netif/awi awi.c sys/dev/netif/bfe if_bfe.c sys/dev/netif/bge if_bge.c sys/dev/netif/cs if_cs.c sys/dev/netif/cue if_cue.c sys/dev/netif/dc if_dc.c sys/dev/netif/de if_de.c sys/dev/netif/ed if_ed.c sys/dev/netif/em if_em.c sys/dev/netif/ep if_ep.c sys/dev/netif/ex if_ex.c sys/dev/netif/fe if_fe.c sys/dev/netif/fwe if_fwe.c sys/dev/netif/fxp if_fxp.c sys/dev/netif/gx if_gx.c sys/dev/netif/ie if_ie.c sys/dev/netif/kue if_kue.c sys/dev/netif/lge if_lge.c sys/dev/netif/lnc if_lnc.c sys/dev/netif/my if_my.c sys/dev/netif/nge if_nge.c sys/dev/netif/pcn if_pcn.c sys/dev/netif/plip if_plip.c sys/dev/netif/ray if_ray.c sys/dev/netif/rl if_rl.c sys/dev/netif/sbni if_sbni.c sys/dev/netif/sbsh if_sbsh.c sys/dev/netif/sf if_sf.c sys/dev/netif/sis if_sis.c sys/dev/netif/sk if_sk.c sys/dev/netif/sn if_sn.c sys/dev/netif/snc dp83932.c sys/dev/netif/sr if_sr.c sys/dev/netif/ste if_ste.c sys/dev/netif/ti if_ti.c sys/dev/netif/tl if_tl.c sys/dev/netif/tx if_tx.c sys/dev/netif/txp if_txp.c sys/dev/netif/vr if_vr.c sys/dev/netif/vx if_vx.c sys/dev/netif/wb if_wb.c sys/dev/netif/wi if_wi.c sys/dev/netif/wx if_wx.c sys/dev/netif/xe if_xe.c sys/dev/netif/xl if_xl.c sys/net bpf.c if.c if_loop.c if_var.h sys/net/disc if_disc.c sys/net/ef if_ef.c sys/net/faith if_faith.c sys/net/gif if_gif.c if_gif.h sys/net/gre if_gre.c sys/net/ppp if_ppp.c sys/net/sl if_sl.c sys/net/stf if_stf.c sys/net/tap if_tap.c sys/net/tun if_tun.c sys/net/vlan if_vlan.c sys/netgraph/fec ng_fec.c sys/netgraph/iface ng_iface.c sys/netinet if_atm.c in.c sys/netinet6 in6.c ip6_mroute.c sys/netproto/atalk at_control.c sys/netproto/ipx ipx.c sys/netproto/natm natm.c sys/netproto/ns ns.c Log: Eliminate use of curthread in if_ioctl functions by passing down the ucred structure. Revision Changes Path 1.11 +9 -8 src/sys/dev/netif/an/if_an.c 1.7 +2 -2 src/sys/dev/netif/ar/if_ar.c 1.9 +2 -2 src/sys/dev/netif/aue/if_aue.c 1.11 +5 -5 src/sys/dev/netif/awi/awi.c 1.4 +2 -2 src/sys/dev/netif/bfe/if_bfe.c 1.18 +4 -2 src/sys/dev/netif/bge/if_bge.c 1.7 +14 -13 src/sys/dev/netif/cs/if_cs.c 1.8 +2 -2 src/sys/dev/netif/cue/if_cue.c 1.10 +4 -2 src/sys/dev/netif/dc/if_dc.c 1.10 +2 -1 src/sys/dev/netif/de/if_de.c 1.12 +3 -2 src/sys/dev/netif/ed/if_ed.c 1.9 +2 -2 src/sys/dev/netif/em/if_em.c 1.9 +3 -2 src/sys/dev/netif/ep/if_ep.c 1.9 +2 -2 src/sys/dev/netif/ex/if_ex.c 1.8 +3 -2 src/sys/dev/netif/fe/if_fe.c 1.10 +2 -2 src/sys/dev/netif/fwe/if_fwe.c 1.9 +2 -2 src/sys/dev/netif/fxp/if_fxp.c 1.7 +3 -2 src/sys/dev/netif/gx/if_gx.c 1.9 +7 -5 src/sys/dev/netif/ie/if_ie.c 1.8 +2 -2 src/sys/dev/netif/kue/if_kue.c 1.9 +4 -2 src/sys/dev/netif/lge/if_lge.c 1.9 +3 -2 src/sys/dev/netif/lnc/if_lnc.c 1.8 +2 -2 src/sys/dev/netif/my/if_my.c 1.8 +4 -2 src/sys/dev/netif/nge/if_nge.c 1.9 +4 -2 src/sys/dev/netif/pcn/if_pcn.c 1.7 +2 -2 src/sys/dev/netif/plip/if_plip.c 1.11 +3 -2 src/sys/dev/netif/ray/if_ray.c 1.9 +4 -2 src/sys/dev/netif/rl/if_rl.c 1.12 +5 -5 src/sys/dev/netif/sbni/if_sbni.c 1.10 +5 -6 src/sys/dev/netif/sbsh/if_sbsh.c 1.8 +4 -2 src/sys/dev/netif/sf/if_sf.c 1.10 +2 -2 src/sys/dev/netif/sis/if_sis.c 1.13 +4 -2 src/sys/dev/netif/sk/if_sk.c 1.8 +2 -2 src/sys/dev/netif/sn/if_sn.c 1.8 +4 -2 src/sys/dev/netif/snc/dp83932.c 1.8 +3 -2 src/sys/dev/netif/sr/if_sr.c 1.9 +4 -2 src/sys/dev/netif/ste/if_ste.c 1.9 +4 -2 src/sys/dev/netif/ti/if_ti.c 1.9 +4 -2 src/sys/dev/netif/tl/if_tl.c 1.9 +3 -2 src/sys/dev/netif/tx/if_tx.c 1.9 +3 -2 src/sys/dev/netif/txp/if_txp.c 1.9 +4 -2 src/sys/dev/netif/vr/if_vr.c 1.10 +3 -2 src/sys/dev/netif/vx/if_vx.c 1.9 +4 -2 src/sys/dev/netif/wb/if_wb.c 1.10 +9 -8 src/sys/dev/netif/wi/if_wi.c 1.8 +3 -2 src/sys/dev/netif/wx/if_wx.c 1.9 +2 -2 src/sys/dev/netif/xe/if_xe.c 1.11 +4 -2 src/sys/dev/netif/xl/if_xl.c 1.14 +2 -1 src/sys/net/bpf.c 1.15 +20 -14 src/sys/net/if.c 1.10 +3 -2 src/sys/net/if_loop.c 1.10 +2 -1 src/sys/net/if_var.h 1.6 +3 -2 src/sys/net/disc/if_disc.c 1.9 +2 -2 src/sys/net/ef/if_ef.c 1.8 +3 -2 src/sys/net/faith/if_faith.c 1.9 +2 -1 src/sys/net/gif/if_gif.c 1.4 +1 -1 src/sys/net/gif/if_gif.h 1.9 +10 -11 src/sys/net/gre/if_gre.c 1.13 +4 -2 src/sys/net/ppp/if_ppp.c 1.11 +3 -2 src/sys/net/sl/if_sl.c 1.8 +3 -2 src/sys/net/stf/if_stf.c 1.11 +4 -2 src/sys/net/tap/if_tap.c 1.12 +3 -2 src/sys/net/tun/if_tun.c 1.8 +5 -3 src/sys/net/vlan/if_vlan.c 1.6 +6 -5 src/sys/netgraph/fec/ng_fec.c 1.7 +4 -2 src/sys/netgraph/iface/ng_iface.c 1.5 +2 -2 src/sys/netinet/if_atm.c 1.9 +7 -5 src/sys/netinet/in.c 1.7 +3 -2 src/sys/netinet6/in6.c 1.6 +2 -1 src/sys/netinet6/ip6_mroute.c 1.6 +3 -2 src/sys/netproto/atalk/at_control.c 1.6 +6 -3 src/sys/netproto/ipx/ipx.c 1.12 +10 -7 src/sys/netproto/natm/natm.c 1.7 +7 -4 src/sys/netproto/ns/ns.c http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/an/if_an.c.diff?r1=1.10&r2=1.11&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ar/if_ar.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/aue/if_aue.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/awi/awi.c.diff?r1=1.10&r2=1.11&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/bfe/if_bfe.c.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/bge/if_bge.c.diff?r1=1.17&r2=1.18&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/cs/if_cs.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/cue/if_cue.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/dc/if_dc.c.diff?r1=1.9&r2=1.10&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/de/if_de.c.diff?r1=1.9&r2=1.10&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ed/if_ed.c.diff?r1=1.11&r2=1.12&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/em/if_em.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ep/if_ep.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ex/if_ex.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/fe/if_fe.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/fwe/if_fwe.c.diff?r1=1.9&r2=1.10&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/fxp/if_fxp.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/gx/if_gx.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ie/if_ie.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/kue/if_kue.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/lge/if_lge.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/lnc/if_lnc.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/my/if_my.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/nge/if_nge.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/pcn/if_pcn.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/plip/if_plip.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ray/if_ray.c.diff?r1=1.10&r2=1.11&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/rl/if_rl.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/sbni/if_sbni.c.diff?r1=1.11&r2=1.12&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/sbsh/if_sbsh.c.diff?r1=1.9&r2=1.10&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/sf/if_sf.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/sis/if_sis.c.diff?r1=1.9&r2=1.10&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/sk/if_sk.c.diff?r1=1.12&r2=1.13&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/sn/if_sn.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/snc/dp83932.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/sr/if_sr.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ste/if_ste.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ti/if_ti.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/tl/if_tl.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/tx/if_tx.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/txp/if_txp.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/vr/if_vr.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/vx/if_vx.c.diff?r1=1.9&r2=1.10&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/wb/if_wb.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/wi/if_wi.c.diff?r1=1.9&r2=1.10&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/wx/if_wx.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/xe/if_xe.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/xl/if_xl.c.diff?r1=1.10&r2=1.11&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/bpf.c.diff?r1=1.13&r2=1.14&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/if.c.diff?r1=1.14&r2=1.15&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/if_loop.c.diff?r1=1.9&r2=1.10&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/if_var.h.diff?r1=1.9&r2=1.10&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/disc/if_disc.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/ef/if_ef.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/faith/if_faith.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/gif/if_gif.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/gif/if_gif.h.diff?r1=1.3&r2=1.4&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/gre/if_gre.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/ppp/if_ppp.c.diff?r1=1.12&r2=1.13&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/sl/if_sl.c.diff?r1=1.10&r2=1.11&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/stf/if_stf.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/tap/if_tap.c.diff?r1=1.10&r2=1.11&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/tun/if_tun.c.diff?r1=1.11&r2=1.12&f=h http://www.dragonflybsd.org/cvsweb/src/sys/net/vlan/if_vlan.c.diff?r1=1.7&r2=1.8&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netgraph/fec/ng_fec.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netgraph/iface/ng_iface.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netinet/if_atm.c.diff?r1=1.4&r2=1.5&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netinet/in.c.diff?r1=1.8&r2=1.9&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/in6.c.diff?r1=1.6&r2=1.7&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/ip6_mroute.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/atalk/at_control.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ipx/ipx.c.diff?r1=1.5&r2=1.6&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/natm/natm.c.diff?r1=1.11&r2=1.12&f=h http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ns/ns.c.diff?r1=1.6&r2=1.7&f=h