diff options
author | 2016-08-10 14:36:01 -0700 | |
---|---|---|
committer | 2016-08-14 21:07:20 -0700 | |
commit | c110486f6cb240f36ec143cad6628d52c071f529 (patch) | |
tree | c7b7e3033c55e91744c9271ffd37917ee78f6085 /net | |
parent | netns: do not call pernet ops for not yet set up init_net namespace (diff) | |
download | wireguard-linux-c110486f6cb240f36ec143cad6628d52c071f529.tar.xz wireguard-linux-c110486f6cb240f36ec143cad6628d52c071f529.zip |
proc: make proc entries inherit ownership from parent
There are certain parameters that belong to net namespace and that are
exported in /proc. They should be controllable by the container's owner,
but are currently owned by global root and thus not available.
Let's change proc code to inherit ownership of parent entry, and when
create per-ns "net" proc entry set it up as owned by container's owner.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions