security: remove unused security_sysctl hook
authorLucian Adrian Grijincu <lucian.grijincu@gmail.com>
Tue, 1 Feb 2011 16:44:56 +0000 (18:44 +0200)
committerEric Paris <eparis@redhat.com>
Tue, 1 Feb 2011 16:54:02 +0000 (11:54 -0500)
commit4916ca401e3051dad326ddd69765bd0e3f32fb9b
tree593778babcd691a498a909a5eaf462f29d241cf6
parent8e6c96935fcc1ed3dbebc96fddfef3f2f2395afc
security: remove unused security_sysctl hook

The only user for this hook was selinux. sysctl routes every call
through /proc/sys/. Selinux and other security modules use the file
system checks for sysctl too, so no need for this hook any more.

Signed-off-by: Lucian Adrian Grijincu <lucian.grijincu@gmail.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
include/linux/security.h
kernel/sysctl.c
security/capability.c
security/security.c