aboutsummaryrefslogtreecommitdiffstats
path: root/security/capability.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/capability.c')
-rw-r--r--security/capability.c6
1 files changed, 0 insertions, 6 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);