android_kernel_xiaomi_sm8350/drivers/net
David Woodhouse ca6bb5d7ab [NET]: Require CAP_NET_ADMIN to create tuntap devices.
The tuntap driver allows an admin to create persistent devices and
assign ownership of them to individual users. Unfortunately, relaxing
the permissions on the /dev/net/tun device node so that they can
actually use those devices will _also_ allow those users to create
arbitrary new devices of their own. This patch corrects that, and
adjusts the recommended permissions for the device node accordingly.

Signed-off-By: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-06-23 02:07:44 -07:00
..
appletalk [APPLETALK]: warning fix 2006-02-13 15:53:41 -08:00
arcnet Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2006-04-02 12:58:45 -07:00
arm [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
bonding [NET]: Add NETIF_F_GEN_CSUM and NETIF_F_ALL_CSUM 2006-06-17 22:06:05 -07:00
chelsio [NET]: Merge TSO/UFO fields in sk_buff 2006-06-23 02:07:29 -07:00
cris
e1000 [NET]: Merge TSO/UFO fields in sk_buff 2006-06-23 02:07:29 -07:00
fec_8xx [PATCH] Remove MODULE_PARM 2006-03-25 08:22:52 -08:00
fs_enet [PATCH] Remove MODULE_PARM 2006-03-25 08:22:52 -08:00
hamradio [NET]: Add netif_tx_lock 2006-06-17 21:30:14 -07:00
ibm_emac [PATCH] ibm_emac sparse annotations 2006-01-28 21:42:15 -05:00
irda [IRDA]: irda-usb.c: STIR421x cleanups 2006-06-17 21:30:26 -07:00
ixgb [NET]: Merge TSO/UFO fields in sk_buff 2006-06-23 02:07:29 -07:00
ixp2000 The ixp2000 driver for the enp2611 was developed on a board with 2006-05-15 12:25:29 -07:00
myri10ge [NET]: Merge TSO/UFO fields in sk_buff 2006-06-23 02:07:29 -07:00
pcmcia [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
phy Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-06-22 22:11:30 -07:00
sk98lin [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
skfp [PATCH] skfp warning fixes 2006-03-21 16:00:53 -05:00
tokenring [PATCH] Dereference in tokenring/olympic.c 2006-06-22 23:24:18 -04:00
tulip Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2006-06-19 19:07:12 -07:00
wan [PATCH] WAN: ioremap() failure checks in drivers 2006-06-22 23:32:03 -04:00
wireless [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
3c59x.c [SPARC]: Kill __irq_itoa(). 2006-06-20 01:21:29 -07:00
3c501.c [PATCH] 3c5zz ethernet: fix section warnings 2006-06-11 12:16:01 -04:00
3c501.h
3c503.c [PATCH] 3c5zz ethernet: fix section warnings 2006-06-11 12:16:01 -04:00
3c503.h
3c505.c [PATCH] 3c5zz ethernet: fix section warnings 2006-06-11 12:16:01 -04:00
3c505.h
3c507.c [PATCH] 3c5zz ethernet: fix section warnings 2006-06-11 12:16:01 -04:00
3c509.c [PATCH] 3c509: use proper suspend/resume API 2006-03-11 20:32:17 -05:00
3c515.c
3c523.c [PATCH] 3c5zz ethernet: fix section warnings 2006-06-11 12:16:01 -04:00
3c523.h
3c527.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
3c527.h
7990.c [PATCH] bogus include of linux/irq.h in 7990.c 2006-01-28 21:42:28 -05:00
7990.h
8139cp.c [NET]: Merge TSO/UFO fields in sk_buff 2006-06-23 02:07:29 -07:00
8139too.c [netdrvr] trim trailing whitespace: 8139*.c, epic100, forcedeth, tulip/* 2006-05-26 21:39:03 -04:00
8390.c [PATCH] skb_padto()-area fixes in 8390, wavelan 2006-06-22 23:32:02 -04:00
8390.h [PATCH] net: remove CONFIG_NET_CBUS conditional for NS8390 2006-03-29 17:34:02 -05:00
82596.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
a2065.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
a2065.h
ac3200.c
acenic_firmware.h [PATCH] acenic: fix section mismatches 2006-03-29 17:28:49 -05:00
acenic.c [SPARC]: Kill __irq_itoa(). 2006-06-20 01:21:29 -07:00
acenic.h
amd8111e.c
amd8111e.h
apne.c [PATCH] drivers/net/*: use time_after() and friends 2006-01-17 07:59:23 -05:00
ariadne.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
ariadne.h
at1700.c
atari_bionet.c [PATCH] Remove MODULE_PARM 2006-03-25 08:22:52 -08:00
atari_pamsnet.c [PATCH] Remove MODULE_PARM 2006-03-25 08:22:52 -08:00
atarilance.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
atp.c
atp.h
au1000_eth.c [PATCH] net: au1000_eth: PHY framework conversion 2006-06-11 23:19:00 -04:00
au1000_eth.h [PATCH] net: au1000_eth: PHY framework conversion 2006-06-11 23:19:00 -04:00
b44.c [PATCH] b44: update version to 1.01 2006-06-22 23:16:13 -04:00
b44.h [PATCH] b44: add wol for old nic 2006-06-22 23:16:13 -04:00
bmac.c
bmac.h
bnx2_fw.h [BNX2]: Use compressed firmware 2006-06-17 21:30:47 -07:00
bnx2.c [NET]: Merge TSO/UFO fields in sk_buff 2006-06-23 02:07:29 -07:00
bnx2.h [BNX2]: Use CPU native page size 2006-06-17 21:30:49 -07:00
bsd_comp.c
cassini.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
cassini.h [CASSINI]: sem2mutex 2006-03-20 22:34:09 -08:00
cs89x0.c [PATCH] cs89x0: credit Dmitry Pervushin 2006-01-16 23:15:32 -08:00
cs89x0.h
de600.c
de600.h
de620.c [PATCH] de620: fix section mismatch warning 2006-03-11 13:29:09 -05:00
de620.h
declance.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
defxx.c
defxx.h
depca.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
depca.h
dgrs_asstruct.h
dgrs_bcomm.h
dgrs_es4h.h
dgrs_ether.h
dgrs_firmware.c Massive net driver const-ification. 2006-03-03 21:33:57 -05:00
dgrs_i82596.h
dgrs_plx9060.h
dgrs.c [PATCH] EISA: tidy-up driver_register() return value 2006-03-25 08:22:53 -08:00
dgrs.h
dl2k.c [PATCH] dl2k needs dma-mapping.h 2006-05-15 11:20:58 -07:00
dl2k.h
dm9000.c
dm9000.h
dummy.c
e100.c e100: add PCI Error Recovery 2006-06-08 09:30:18 -07:00
e2100.c
eepro100.c Massive net driver const-ification. 2006-03-03 21:33:57 -05:00
eepro.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
eexpress.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
eexpress.h
epic100.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
eql.c BUG_ON() Conversion in drivers/net/ 2006-04-02 13:52:48 +02:00
es3210.c
eth16i.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
ewrk3.c
ewrk3.h
fealnx.c Massive net driver const-ification. 2006-03-03 21:33:57 -05:00
fec.c
fec.h
forcedeth.c [NET]: Merge TSO/UFO fields in sk_buff 2006-06-23 02:07:29 -07:00
gianfar_ethtool.c [PATCH] Fix locking in gianfar 2006-04-20 17:55:06 -04:00
gianfar_mii.c [PATCH] gianfar: Fix sparse warnings 2006-02-07 02:04:33 -05:00
gianfar_mii.h
gianfar_sysfs.c [PATCH] Fix locking in gianfar 2006-04-20 17:55:06 -04:00
gianfar.c [PATCH] Fix locking in gianfar 2006-04-20 17:55:06 -04:00
gianfar.h [PATCH] Fix locking in gianfar 2006-04-20 17:55:06 -04:00
gt64240eth.h
gt96100eth.c [PATCH] Remove MODULE_PARM 2006-03-25 08:22:52 -08:00
gt96100eth.h
hamachi.c Massive net driver const-ification. 2006-03-03 21:33:57 -05:00
hp100.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
hp100.h
hp-plus.c [PATCH] hp ethernet: fix section mismatches 2006-06-11 12:16:01 -04:00
hp.c [PATCH] hp ethernet: fix section mismatches 2006-06-11 12:16:01 -04:00
hplance.c [PATCH] hp300: fix driver_register() return handling, remove dio_module_init() 2006-03-25 08:22:53 -08:00
hplance.h
hydra.c [PATCH] amiga: fix driver_register() return handling, remove zorro_module_init() 2006-03-25 08:22:53 -08:00
ibmlana.c [netdrvr ibmlana, ibmveth] trim trailing whitespace 2006-05-24 01:31:14 -04:00
ibmlana.h [netdrvr ibmlana, ibmveth] trim trailing whitespace 2006-05-24 01:31:14 -04:00
ibmveth.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-06-22 22:11:30 -07:00
ibmveth.h [netdrvr ibmlana, ibmveth] trim trailing whitespace 2006-05-24 01:31:14 -04:00
ifb.c [NET]: Add netif_tx_lock 2006-06-17 21:30:14 -07:00
ioc3-eth.c [PATCH] IP27: Really set PCI64_ATTR_VIRTUAL, not PCI64_ATTR_PREC. 2006-06-22 22:52:35 -04:00
isa-skeleton.c
iseries_veth.c [PATCH] powerpc: update iseries_veth device-tree information 2006-05-19 14:35:26 +10:00
jazzsonic.c
Kconfig Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 2006-06-22 22:15:09 -07:00
lance.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
lasi_82596.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
LICENSE.SRC
lne390.c
loopback.c [NET]: Merge TSO/UFO fields in sk_buff 2006-06-23 02:07:29 -07:00
lp486e.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
mac89x0.c [PATCH] Remove MODULE_PARM 2006-03-25 08:22:52 -08:00
mac8390.c
mace.c [PATCH] Remove MODULE_PARM 2006-03-25 08:22:52 -08:00
mace.h
macmace.c
macsonic.c [PATCH] macsonic.c: missed s/driver_unregister/platform_driver_unregister/ 2006-01-28 21:42:22 -05:00
Makefile [PATCH] network driver for Hilscher netx 2006-06-22 23:28:05 -04:00
meth.c [PATCH] Remove MODULE_PARM 2006-03-25 08:22:52 -08:00
meth.h
mii.c
mipsnet.c
mipsnet.h
mv643xx_eth.c [NET]: Clean up skb_linearize 2006-06-17 21:30:16 -07:00
mv643xx_eth.h [PATCH] mv643xx_eth: Cache align skb->data if CONFIG_NOT_COHERENT_CACHE 2006-03-21 16:00:51 -05:00
mvme147.c
myri_code.h
myri_sbus.c
myri_sbus.h
natsemi.c [NET]: Add netif_tx_lock 2006-06-17 21:30:14 -07:00
ne2.c [PATCH] Section mismatch in drivers/net/ne.o during modpost 2006-06-11 12:16:01 -04:00
ne2k-pci.c BUG_ON() Conversion in drivers/net/ 2006-04-02 13:52:48 +02:00
ne3210.c
ne-h8300.c [PATCH] Remove MODULE_PARM 2006-03-25 08:22:52 -08:00
ne.c [PATCH] Section mismatch in drivers/net/ne.o during modpost 2006-06-11 12:16:01 -04:00
netconsole.c [NETCONSOLE]: Clean up initcall warning. 2006-06-05 15:04:37 -07:00
netx-eth.c [PATCH] network driver for Hilscher netx 2006-06-22 23:28:05 -04:00
ni52.c
ni52.h
ni65.c
ni65.h
ni5010.c [PATCH] Remove MODULE_PARM 2006-03-25 08:22:52 -08:00
ni5010.h
ns83820.c BUG_ON() Conversion in drivers/net/ 2006-04-02 13:52:48 +02:00
oaknet.c [PATCH] drivers/net/*: use time_after() and friends 2006-01-17 07:59:23 -05:00
pci-skeleton.c
pcnet32.c [PATCH] pcnet32: remove incorrect pcnet32_free_ring 2006-05-26 21:33:18 -04:00
plip.c Massive net driver const-ification. 2006-03-03 21:33:57 -05:00
ppp_async.c [PATCH] drivers/net/*: use time_after() and friends 2006-01-17 07:59:23 -05:00
ppp_deflate.c
ppp_generic.c [NET] ppp: Remove unnecessary pskb_may_pull 2006-06-17 21:30:18 -07:00
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c Massive net driver const-ification. 2006-03-03 21:33:57 -05:00
pppoe.c [PPPOE]: Missing result check in __pppoe_xmit(). 2006-06-05 15:34:33 -07:00
pppox.c
r8169.c [NET]: Merge TSO/UFO fields in sk_buff 2006-06-23 02:07:29 -07:00
rionet.c
rrunner.c
rrunner.h
s2io-regs.h [PATCH] s2io: additional stats 2006-05-02 15:16:36 -04:00
s2io.c [NET]: Merge TSO/UFO fields in sk_buff 2006-06-23 02:07:29 -07:00
s2io.h [PATCH] s2io: additional stats 2006-05-02 15:16:36 -04:00
saa9730.c
saa9730.h
sb1000.c Massive net driver const-ification. 2006-03-03 21:33:57 -05:00
sb1250-mac.c [PATCH] sb1250-mac: Add support for the BCM1480 2006-03-03 21:23:02 -05:00
seeq8005.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
seeq8005.h
sgiseeq.c [PATCH] Sparse: Cleanup sgiseeq sparse warnings. 2006-03-11 20:32:17 -05:00
sgiseeq.h
shaper.c [PATCH] drivers/net/*: use time_after() and friends 2006-01-17 07:59:23 -05:00
sis190.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
sis900.c Merge branch 'master' into upstream 2006-05-20 00:03:38 -04:00
sis900.h [PATCH] Add VLAN (802.1q) support to sis900 driver 2006-04-20 17:29:43 -04:00
sk_mca.c
sk_mca.h
skge.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
skge.h [PATCH] skge: transmit complete via IRQ not NAPI 2006-06-08 15:44:54 -04:00
sky2.c [NET]: Merge TSO/UFO fields in sk_buff 2006-06-23 02:07:29 -07:00
sky2.h [PATCH] sky2: more fixes for Yukon Ultra 2006-05-20 00:15:39 -04:00
slhc.c
slip.c
slip.h
smc91x.c [PATCH] smc91x: allow for dynamic bus access configs 2006-03-21 16:00:53 -05:00
smc91x.h Merge master.kernel.org:/home/rmk/linux-2.6-arm 2006-06-20 14:49:00 -07:00
smc911x.c [netdrvr smc911x] trim trailing whitespace 2006-04-20 17:39:14 -04:00
smc911x.h [netdrvr smc911x] trim trailing whitespace 2006-04-20 17:39:14 -04:00
smc9194.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
smc9194.h
smc-mca.c
smc-ultra32.c [PATCH] smc ethernet: fix section mismatch warnings 2006-06-11 12:16:01 -04:00
smc-ultra.c [PATCH] smc ethernet: fix section mismatch warnings 2006-06-11 12:16:01 -04:00
sonic.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
sonic.h
Space.c
spider_net_ethtool.c [PATCH] spidernet: performance optimizations 2006-01-17 07:25:01 -05:00
spider_net.c spidernet: enable support for bcm5461 ethernet phy 2006-05-08 16:01:12 -07:00
spider_net.h spidernet: introduce new setting 2006-05-08 16:01:11 -07:00
starfire_firmware.h
starfire_firmware.pl
starfire.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
stnic.c
sun3_82586.c
sun3_82586.h
sun3lance.c [PATCH] Remove MODULE_PARM 2006-03-25 08:22:52 -08:00
sunbmac.c
sunbmac.h
sundance.c sundance: PCI ID for ip100a 2006-06-15 23:02:00 +02:00
sungem_phy.c [PATCH] spidernet: replace whitespaces by tabs 2006-05-26 21:33:58 -04:00
sungem_phy.h spidernet: enable support for bcm5461 ethernet phy 2006-05-08 16:01:12 -07:00
sungem.c [SUNGEM]: sem2mutex 2006-03-20 22:34:25 -08:00
sungem.h [SUNGEM]: sem2mutex 2006-03-20 22:34:25 -08:00
sunhme.c [SPARC]: Kill __irq_itoa(). 2006-06-20 01:21:29 -07:00
sunhme.h
sunlance.c [SPARC]: Kill __irq_itoa(). 2006-06-20 01:21:29 -07:00
sunqe.c
sunqe.h
tc35815.c
tg3.c [NET]: Merge TSO/UFO fields in sk_buff 2006-06-23 02:07:29 -07:00
tg3.h [TG3]: Convert to non-LLTX 2006-06-17 21:58:45 -07:00
tlan.c [PATCH] drivers/net/tlan.c: #ifdef CONFIG_PCI the PCI specific code 2006-02-24 00:20:08 -05:00
tlan.h
tun.c [NET]: Require CAP_NET_ADMIN to create tuntap devices. 2006-06-23 02:07:44 -07:00
typhoon-firmware.h
typhoon.c [NET]: Merge TSO/UFO fields in sk_buff 2006-06-23 02:07:29 -07:00
typhoon.h
via-rhine.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
via-velocity.c via-velocity: the link is not correctly detected when the device starts 2006-06-23 01:18:35 +02:00
via-velocity.h via-velocity: allow MTU size less than 1500 bytes 2006-05-27 21:26:13 +02:00
wd.c
yellowfin.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
znet.c [NET]: Avoid allocating skb in skb_pad 2006-06-23 02:06:41 -07:00
zorro8390.c [PATCH] amiga: fix driver_register() return handling, remove zorro_module_init() 2006-03-25 08:22:53 -08:00