diff options
author | Eric Paris <eparis@redhat.com> | 2010-04-07 15:15:13 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-04-12 12:19:18 +1000 |
commit | 6307f8fee295b364716d28686df6e69c2fee751a (patch) | |
tree | da2d51edcca32dd71c2a3a6f74bf56e88a60293f /kernel | |
parent | 06ad187e280e725e356c62c3a30ddcd01564f8be (diff) | |
download | kernel_samsung_crespo-6307f8fee295b364716d28686df6e69c2fee751a.zip kernel_samsung_crespo-6307f8fee295b364716d28686df6e69c2fee751a.tar.gz kernel_samsung_crespo-6307f8fee295b364716d28686df6e69c2fee751a.tar.bz2 |
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')
-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 2b45b2e..53b1916 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); |