summaryrefslogtreecommitdiff
path: root/kernel/groups.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-12 12:19:18 +1000
commit6307f8fee295b364716d28686df6e69c2fee751a (patch)
treeda2d51edcca32dd71c2a3a6f74bf56e88a60293f /kernel/groups.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 'kernel/groups.c')
-rw-r--r--kernel/groups.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/groups.c b/kernel/groups.c
index 2b45b2ee3964..53b1916c9492 100644
--- a/kernel/groups.c
+++ b/kernel/groups.c
@@ -164,12 +164,6 @@ int groups_search(const struct group_info *group_info, gid_t grp)
*/
int set_groups(struct cred *new, struct group_info *group_info)
{
- int retval;
-
- retval = security_task_setgroups(group_info);
- if (retval)
- return retval;
-
put_group_info(new->group_info);
groups_sort(group_info);
get_group_info(group_info);