aboutsummaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-04-07 15:15:08 -0400
committerJames Morris <jmorris@namei.org>2010-04-11 22:19:17 -0400
commit06ad187e280e725e356c62c3a30ddcd01564f8be (patch)
tree5406ae3382d62971ed8b981533075657aa18d16b /security/security.c
parent43ed8c3b4573d5f5cd314937fee63b4ab046ac5f (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.c5
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
741int 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
746int security_task_setpgid(struct task_struct *p, pid_t pgid) 741int 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);