ChangeSet 1.786.99.3, 2002/10/29 15:02:47-08:00, greg@kroah.com

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


diff -Nru a/kernel/sys.c b/kernel/sys.c
--- a/kernel/sys.c	Tue Nov 26 14:02:34 2002
+++ b/kernel/sys.c	Tue Nov 26 14:02:34 2002
@@ -204,7 +204,6 @@
 cond_syscall(sys_quotactl)
 cond_syscall(sys_acct)
 cond_syscall(sys_lookup_dcookie)
-cond_syscall(sys_security)
 
 static int set_one_prio(struct task_struct *p, int niceval, int error)
 {
diff -Nru a/security/capability.c b/security/capability.c
--- a/security/capability.c	Tue Nov 26 14:02:34 2002
+++ b/security/capability.c	Tue Nov 26 14:02:34 2002
@@ -279,12 +279,6 @@
 
 #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 @@
 	.capset_set =			cap_capset_set,
 	.acct =				cap_acct,
 	.capable =			cap_capable,
-	.sys_security =			cap_sys_security,
 	.quotactl =			cap_quotactl,
 	.quota_on =			cap_quota_on,
 
