aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/capability.c6
-rw-r--r--security/security.c5
2 files changed, 0 insertions, 11 deletions
diff --git a/security/capability.c b/security/capability.c
index 66cd7453563f..247c04edd468 100644
--- a/security/capability.c
+++ b/security/capability.c
@@ -412,11 +412,6 @@ static void cap_task_getsecid(struct task_struct *p, u32 *secid)
412 *secid = 0; 412 *secid = 0;
413} 413}
414 414
415static int cap_task_setgroups(struct group_info *group_info)
416{
417 return 0;
418}
419
420static int cap_task_getioprio(struct task_struct *p) 415static int cap_task_getioprio(struct task_struct *p)
421{ 416{
422 return 0; 417 return 0;
@@ -967,7 +962,6 @@ void security_fixup_ops(struct security_operations *ops)
967 set_to_cap_if_null(ops, task_getpgid); 962 set_to_cap_if_null(ops, task_getpgid);
968 set_to_cap_if_null(ops, task_getsid); 963 set_to_cap_if_null(ops, task_getsid);
969 set_to_cap_if_null(ops, task_getsecid); 964 set_to_cap_if_null(ops, task_getsecid);
970 set_to_cap_if_null(ops, task_setgroups);
971 set_to_cap_if_null(ops, task_setnice); 965 set_to_cap_if_null(ops, task_setnice);
972 set_to_cap_if_null(ops, task_setioprio); 966 set_to_cap_if_null(ops, task_setioprio);
973 set_to_cap_if_null(ops, task_getioprio); 967 set_to_cap_if_null(ops, task_getioprio);
diff --git a/security/security.c b/security/security.c
index 1e35dd669209..5cf9ca6890f6 100644
--- a/security/security.c
+++ b/security/security.c
@@ -759,11 +759,6 @@ void security_task_getsecid(struct task_struct *p, u32 *secid)
759} 759}
760EXPORT_SYMBOL(security_task_getsecid); 760EXPORT_SYMBOL(security_task_getsecid);
761 761
762int security_task_setgroups(struct group_info *group_info)
763{
764 return security_ops->task_setgroups(group_info);
765}
766
767int security_task_setnice(struct task_struct *p, int nice) 762int security_task_setnice(struct task_struct *p, int nice)
768{ 763{
769 return security_ops->task_setnice(p, nice); 764 return security_ops->task_setnice(p, nice);