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/capability.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/capability.c')
-rw-r--r-- | security/capability.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/security/capability.c b/security/capability.c index a927bdea1816..41ff54f3b4d8 100644 --- a/security/capability.c +++ b/security/capability.c | |||
@@ -392,11 +392,6 @@ static int cap_kernel_module_request(char *kmod_name) | |||
392 | return 0; | 392 | return 0; |
393 | } | 393 | } |
394 | 394 | ||
395 | static int cap_task_setuid(uid_t id0, uid_t id1, uid_t id2, int flags) | ||
396 | { | ||
397 | return 0; | ||
398 | } | ||
399 | |||
400 | static int cap_task_setgid(gid_t id0, gid_t id1, gid_t id2, int flags) | 395 | static int cap_task_setgid(gid_t id0, gid_t id1, gid_t id2, int flags) |
401 | { | 396 | { |
402 | return 0; | 397 | return 0; |
@@ -972,7 +967,6 @@ void security_fixup_ops(struct security_operations *ops) | |||
972 | set_to_cap_if_null(ops, kernel_act_as); | 967 | set_to_cap_if_null(ops, kernel_act_as); |
973 | set_to_cap_if_null(ops, kernel_create_files_as); | 968 | set_to_cap_if_null(ops, kernel_create_files_as); |
974 | set_to_cap_if_null(ops, kernel_module_request); | 969 | set_to_cap_if_null(ops, kernel_module_request); |
975 | set_to_cap_if_null(ops, task_setuid); | ||
976 | set_to_cap_if_null(ops, task_fix_setuid); | 970 | set_to_cap_if_null(ops, task_fix_setuid); |
977 | set_to_cap_if_null(ops, task_setgid); | 971 | set_to_cap_if_null(ops, task_setgid); |
978 | set_to_cap_if_null(ops, task_setpgid); | 972 | set_to_cap_if_null(ops, task_setpgid); |