diff options
author | Eric Paris <eparis@redhat.com> | 2010-04-07 15:15:02 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-04-11 22:19:16 -0400 |
commit | 43ed8c3b4573d5f5cd314937fee63b4ab046ac5f (patch) | |
tree | bb3f094daa6f0c3f49c4c47fb5ac1c80a26e9698 /security/security.c | |
parent | 0968d0060a3c885e53d453380266c7792a55d302 (diff) |
security: remove dead hook task_setuid
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 6e5942653d4f..3900da3da87b 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -732,11 +732,6 @@ int security_kernel_module_request(char *kmod_name) | |||
732 | return security_ops->kernel_module_request(kmod_name); | 732 | return security_ops->kernel_module_request(kmod_name); |
733 | } | 733 | } |
734 | 734 | ||
735 | int security_task_setuid(uid_t id0, uid_t id1, uid_t id2, int flags) | ||
736 | { | ||
737 | return security_ops->task_setuid(id0, id1, id2, flags); | ||
738 | } | ||
739 | |||
740 | int security_task_fix_setuid(struct cred *new, const struct cred *old, | 735 | int security_task_fix_setuid(struct cred *new, const struct cred *old, |
741 | int flags) | 736 | int flags) |
742 | { | 737 | { |