diff options
author | 2016-08-10 14:36:02 -0700 | |
---|---|---|
committer | 2016-08-14 21:08:58 -0700 | |
commit | e79c6a4fc923eed2bdd3b716e0f01414847db90a (patch) | |
tree | ad2cc7b3534b8767f507caf65b093fe4fca43fa9 /net/switchdev | |
parent | proc: make proc entries inherit ownership from parent (diff) | |
download | wireguard-linux-e79c6a4fc923eed2bdd3b716e0f01414847db90a.tar.xz wireguard-linux-e79c6a4fc923eed2bdd3b716e0f01414847db90a.zip |
net: make net namespace sysctls belong to container's owner
If net namespace is attached to a user namespace let's make container's
root owner of sysctls affecting said network namespace instead of global
root.
This also allows us to clean up net_ctl_permissions() because we do not
need to fudge permissions anymore for the container's owner since it now
owns the objects in question.
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions