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/capability.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/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 41ff54f3b4d8..66cd7453563f 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_setgid(gid_t id0, gid_t id1, gid_t id2, int flags) | ||
396 | { | ||
397 | return 0; | ||
398 | } | ||
399 | |||
400 | static int cap_task_setpgid(struct task_struct *p, pid_t pgid) | 395 | static int cap_task_setpgid(struct task_struct *p, pid_t pgid) |
401 | { | 396 | { |
402 | return 0; | 397 | return 0; |
@@ -968,7 +963,6 @@ void security_fixup_ops(struct security_operations *ops) | |||
968 | set_to_cap_if_null(ops, kernel_create_files_as); | 963 | set_to_cap_if_null(ops, kernel_create_files_as); |
969 | set_to_cap_if_null(ops, kernel_module_request); | 964 | set_to_cap_if_null(ops, kernel_module_request); |
970 | set_to_cap_if_null(ops, task_fix_setuid); | 965 | set_to_cap_if_null(ops, task_fix_setuid); |
971 | set_to_cap_if_null(ops, task_setgid); | ||
972 | set_to_cap_if_null(ops, task_setpgid); | 966 | set_to_cap_if_null(ops, task_setpgid); |
973 | set_to_cap_if_null(ops, task_getpgid); | 967 | set_to_cap_if_null(ops, task_getpgid); |
974 | set_to_cap_if_null(ops, task_getsid); | 968 | set_to_cap_if_null(ops, task_getsid); |