aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/net_namespace.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2018-07-20 21:56:52 +0000
committerDavid S. Miller <davem@davemloft.net>2018-07-20 23:44:35 -0700
commitb0e37c0d8a6abed0cd1b611314a7ebf50b0a8ed4 (patch)
tree6fd1d81da9275a6393ad3dcf467c55e1e6dedfc4 /net/core/net_namespace.c
parentnet-sysfs: require net admin in the init ns for setting tx_maxrate (diff)
downloadlinux-dev-b0e37c0d8a6abed0cd1b611314a7ebf50b0a8ed4.tar.xz
linux-dev-b0e37c0d8a6abed0cd1b611314a7ebf50b0a8ed4.zip
net-sysfs: make sure objects belong to container's owner
When creating various objects in /sys/class/net/... make sure that they belong to container's owner instead of global root (if they belong to a container/namespace). Co-Developed-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions