diff options
author | Eric Paris <eparis@redhat.com> | 2010-04-07 23:15:13 +0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-04-12 06:19:18 +0400 |
commit | 6307f8fee295b364716d28686df6e69c2fee751a (patch) | |
tree | da2d51edcca32dd71c2a3a6f74bf56e88a60293f /kernel/groups.c | |
parent | 06ad187e280e725e356c62c3a30ddcd01564f8be (diff) | |
download | linux-6307f8fee295b364716d28686df6e69c2fee751a.tar.xz |
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.c | 6 |
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); |