Skip to content

Commit

Permalink
selinux: remove secondary ops call to task_kill
Browse files Browse the repository at this point in the history
Remove secondary ops call to task_kill, which is
a noop in capabilities.

Acked-by: Serge Hallyn <serue@us.ibm.com>
Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
  • Loading branch information
James Morris committed Jan 29, 2009
1 parent ef76e74 commit 2cbbd19
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions security/selinux/hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -3405,10 +3405,6 @@ static int selinux_task_kill(struct task_struct *p, struct siginfo *info,
u32 perm;
int rc;

rc = secondary_ops->task_kill(p, info, sig, secid);
if (rc)
return rc;

if (!sig)
perm = PROCESS__SIGNULL; /* null signal; existence test */
else
Expand Down

0 comments on commit 2cbbd19

Please sign in to comment.