linux/net/8021q
Hangbin Liu 873017af77 vlan: disable SIOCSHWTSTAMP in container
With NET_ADMIN enabled in container, a normal user could be mapped to
root and is able to change the real device's rx filter via ioctl on
vlan, which would affect the other ptp process on host. Fix it by
disabling SIOCSHWTSTAMP in container.

Fixes: a6111d3c93 ("vlan: Pass SIOC[SG]HWTSTAMP ioctls to real device")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-05-09 09:31:16 -07:00
..
Kconfig
Makefile
vlan_core.c
vlan_dev.c vlan: disable SIOCSHWTSTAMP in container 2019-05-09 09:31:16 -07:00
vlan_gvrp.c
vlan_mvrp.c
vlan_netlink.c netlink: make validation more configurable for future strictness 2019-04-27 17:07:21 -04:00
vlan.c
vlan.h
vlanproc.c
vlanproc.h