Commit e175888f authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

LSM: remove last remanants of sys_security missed by last patch.

parent 11fd59c5
...@@ -204,7 +204,6 @@ cond_syscall(sys_nfsservctl) ...@@ -204,7 +204,6 @@ cond_syscall(sys_nfsservctl)
cond_syscall(sys_quotactl) cond_syscall(sys_quotactl)
cond_syscall(sys_acct) cond_syscall(sys_acct)
cond_syscall(sys_lookup_dcookie) cond_syscall(sys_lookup_dcookie)
cond_syscall(sys_security)
static int set_one_prio(struct task_struct *p, int niceval, int error) static int set_one_prio(struct task_struct *p, int niceval, int error)
{ {
......
...@@ -279,12 +279,6 @@ EXPORT_SYMBOL(cap_task_reparent_to_init); ...@@ -279,12 +279,6 @@ EXPORT_SYMBOL(cap_task_reparent_to_init);
#ifdef CONFIG_SECURITY #ifdef CONFIG_SECURITY
static int cap_sys_security (unsigned int id, unsigned int call,
unsigned long *args)
{
return -ENOSYS;
}
static int cap_quotactl (int cmds, int type, int id, struct super_block *sb) static int cap_quotactl (int cmds, int type, int id, struct super_block *sb)
{ {
return 0; return 0;
...@@ -732,7 +726,6 @@ static struct security_operations capability_ops = { ...@@ -732,7 +726,6 @@ static struct security_operations capability_ops = {
.capset_set = cap_capset_set, .capset_set = cap_capset_set,
.acct = cap_acct, .acct = cap_acct,
.capable = cap_capable, .capable = cap_capable,
.sys_security = cap_sys_security,
.quotactl = cap_quotactl, .quotactl = cap_quotactl,
.quota_on = cap_quota_on, .quota_on = cap_quota_on,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment