Eric W. Biederman 73f7ef4359 sysctl: Pass useful parameters to sysctl permissions
- Current is implicitly avaiable so passing current->nsproxy isn't useful.
- The ctl_table_header is needed to find how the sysctl table is connected
  to the rest of sysctl.
- ctl_table_root is avaiable in the ctl_table_header so no need to it.

With these changes it becomes possible to write a version of
net_sysctl_permission that takes into account the network namespace of
the sysctl table, an important feature in extending the user namespace.

Acked-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-11-18 20:30:55 -05:00
..
2012-08-31 16:14:33 -04:00
2012-11-14 20:20:44 -05:00
2012-07-19 10:48:00 -07:00
2012-10-14 22:41:27 -07:00
2012-06-15 15:30:15 -07:00
2012-05-17 18:45:20 -04:00
2012-10-09 13:57:23 -04:00
2012-11-17 22:01:18 -05:00
2012-09-26 21:10:25 -04:00