diff options
author | Eric Paris <eparis@redhat.com> | 2010-04-07 15:15:08 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-04-11 22:19:17 -0400 |
commit | 06ad187e280e725e356c62c3a30ddcd01564f8be (patch) | |
tree | 5406ae3382d62971ed8b981533075657aa18d16b /security/security.c | |
parent | 43ed8c3b4573d5f5cd314937fee63b4ab046ac5f (diff) |
security: remove dead hook task_setgid
Unused hook. Remove.
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/security/security.c b/security/security.c index 3900da3da87b..1e35dd669209 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -738,11 +738,6 @@ int security_task_fix_setuid(struct cred *new, const struct cred *old, | |||
738 | return security_ops->task_fix_setuid(new, old, flags); | 738 | return security_ops->task_fix_setuid(new, old, flags); |
739 | } | 739 | } |
740 | 740 | ||
741 | int security_task_setgid(gid_t id0, gid_t id1, gid_t id2, int flags) | ||
742 | { | ||
743 | return security_ops->task_setgid(id0, id1, id2, flags); | ||
744 | } | ||
745 | |||
746 | int security_task_setpgid(struct task_struct *p, pid_t pgid) | 741 | int security_task_setpgid(struct task_struct *p, pid_t pgid) |
747 | { | 742 | { |
748 | return security_ops->task_setpgid(p, pgid); | 743 | return security_ops->task_setpgid(p, pgid); |