Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2cbbd198 authored by James Morris's avatar James Morris
Browse files

selinux: remove secondary ops call to task_kill



Remove secondary ops call to task_kill, which is
a noop in capabilities.

Acked-by: default avatarSerge Hallyn <serue@us.ibm.com>
Acked-by: default avatarEric Paris <eparis@redhat.com>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent ef76e748
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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