linux/net/8021q
Eric W. Biederman 276996fda0 net: Allow the userns root to control vlans.
Allow an unpriviled user who has created a user namespace, and then
created a network namespace to effectively use the new network
namespace, by reducing capable(CAP_NET_ADMIN) and
capable(CAP_NET_RAW) calls to be ns_capable(net->user_ns,
CAP_NET_ADMIN), or capable(net->user_ns, CAP_NET_RAW) calls.

Allow the vlan ioctls:
SET_VLAN_INGRESS_PRIORITY_CMD
SET_VLAN_EGRESS_PRIORITY_CMD
SET_VLAN_FLAG_CMD
SET_VLAN_NAME_TYPE_CMD
ADD_VLAN_CMD
DEL_VLAN_CMD

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-11-18 20:33:00 -05:00
..
Kconfig vlan: Add GVRP support 2008-07-05 21:26:57 -07:00
Makefile vlan: uninline __vlan_hwaccel_rx 2008-07-08 03:23:36 -07:00
vlan.c net: Allow the userns root to control vlans. 2012-11-18 20:33:00 -05:00
vlan.h vlan: add 802.1q netpoll support 2011-12-08 19:58:30 -05:00
vlan_core.c vlan: fix bond/team enslave of vlan challenged slave/port 2012-10-16 14:41:46 -04:00
vlan_dev.c vlan: set sysfs device_type to 'vlan' 2012-11-08 22:02:23 -05:00
vlan_gvrp.c vlan: rename vlan_dev_info to vlan_dev_priv 2011-12-08 19:51:30 -05:00
vlan_netlink.c vlan: Stop using NLA_PUT*(). 2012-04-02 04:33:44 -04:00
vlanproc.c treewide: fix comment/printk/variable typos 2012-09-01 10:33:05 -07:00
vlanproc.h [VLAN]: Add a net argument to proc init and cleanup calls. 2008-04-16 00:51:12 -07:00