diff options
author | Lucian Adrian Grijincu <lucian.grijincu@gmail.com> | 2011-02-01 11:44:56 -0500 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2011-02-01 11:54:02 -0500 |
commit | 4916ca401e3051dad326ddd69765bd0e3f32fb9b (patch) | |
tree | 593778babcd691a498a909a5eaf462f29d241cf6 /security/security.c | |
parent | 8e6c96935fcc1ed3dbebc96fddfef3f2f2395afc (diff) |
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>
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/security/security.c b/security/security.c index 4830f36e1ab5..8f28685ee0d9 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -182,11 +182,6 @@ int security_real_capable_noaudit(struct task_struct *tsk, int cap) | |||
182 | return ret; | 182 | return ret; |
183 | } | 183 | } |
184 | 184 | ||
185 | int security_sysctl(struct ctl_table *table, int op) | ||
186 | { | ||
187 | return security_ops->sysctl(table, op); | ||
188 | } | ||
189 | |||
190 | int security_quotactl(int cmds, int type, int id, struct super_block *sb) | 185 | int security_quotactl(int cmds, int type, int id, struct super_block *sb) |
191 | { | 186 | { |
192 | return security_ops->quotactl(cmds, type, id, sb); | 187 | return security_ops->quotactl(cmds, type, id, sb); |