aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2002-10-28 23:02:47 -0800
committerGreg Kroah-Hartman <greg@kroah.com>2002-10-28 23:02:47 -0800
commite175888f40d9b14b62ca6b5dab3573b364029ce0 (patch)
tree8a289025bd4fdac405994f523671ba13ab1e605e /security
parent11fd59c56063029cee9b7098be72ceb05240787b (diff)
downloadhistory-e175888f40d9b14b62ca6b5dab3573b364029ce0.tar.gz
LSM: remove last remanants of sys_security missed by last patch.
Diffstat (limited to 'security')
-rw-r--r--security/capability.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/security/capability.c b/security/capability.c
index 4c9df92fc13067..eccb560f77c4fd 100644
--- a/security/capability.c
+++ b/security/capability.c
@@ -279,12 +279,6 @@ EXPORT_SYMBOL(cap_task_reparent_to_init);
#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)
{
return 0;
@@ -732,7 +726,6 @@ static struct security_operations capability_ops = {
.capset_set = cap_capset_set,
.acct = cap_acct,
.capable = cap_capable,
- .sys_security = cap_sys_security,
.quotactl = cap_quotactl,
.quota_on = cap_quota_on,