aboutsummaryrefslogtreecommitdiffstats
path: root/security/capability.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-04-07 15:15:13 -0400
committerJames Morris <jmorris@namei.org>2010-04-11 22:19:18 -0400
commit6307f8fee295b364716d28686df6e69c2fee751a (patch)
treeda2d51edcca32dd71c2a3a6f74bf56e88a60293f /security/capability.c
parent06ad187e280e725e356c62c3a30ddcd01564f8be (diff)
security: remove dead hook task_setgroups
Unused hook. Remove. Signed-off-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
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);