android_kernel_oneplus_msm8998/fs/proc
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
..
array.c
base.c mm, oom: reintroduce /proc/pid/oom_adj 2012-11-16 10:15:35 -08:00
cmdline.c
consoles.c
cpuinfo.c
devices.c
fd.c
fd.h
generic.c
inode.c
internal.h hold task->mempolicy while numa_maps scans. 2012-10-19 14:32:10 -07:00
interrupts.c
Kconfig
kcore.c
kmsg.c
loadavg.c
Makefile
meminfo.c
mmu.c
namespaces.c
nommu.c
page.c
proc_devtree.c
proc_net.c
proc_sysctl.c sysctl: Pass useful parameters to sysctl permissions 2012-11-18 20:30:55 -05:00
proc_tty.c
root.c
softirqs.c
stat.c
task_mmu.c hold task->mempolicy while numa_maps scans. 2012-10-19 14:32:10 -07:00
task_nommu.c
uptime.c
version.c
vmcore.c