Dmitry Torokhov e79c6a4fc9 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>
2016-08-14 21:08:58 -07:00
..
2016-07-28 12:26:31 -07:00
2016-08-02 19:39:09 -04:00
2016-05-20 17:58:30 -07:00
2016-07-28 12:26:31 -07:00
2016-07-30 16:33:25 -07:00
2016-07-29 12:05:25 +02:00
2016-06-23 00:29:53 +02:00
2016-05-23 17:04:14 -07:00
2016-07-27 09:53:35 -07:00
2016-06-07 22:07:09 -04:00
2016-07-28 17:38:16 -07:00
2016-07-27 09:53:35 -07:00
2016-06-21 09:38:45 +10:00
2016-06-21 09:23:11 +10:00
2016-05-23 17:04:14 -07:00
2016-06-20 17:11:29 -04:00
2016-07-01 10:24:18 -04:00
2016-06-21 09:23:11 +10:00
2016-07-26 16:19:19 -07:00
2016-07-26 16:19:19 -07:00