MFC r200667:
Return earlier from linux_do_tkill() when supplied signal number is 0.
This commit is contained in:
parent
5e860e7b2f
commit
b065c16503
@ -565,7 +565,7 @@ linux_do_tkill(struct thread *td, l_int tgid, l_int pid, l_int signum)
|
||||
|
||||
AUDIT_ARG_PROCESS(p);
|
||||
error = p_cansignal(td, p, signum);
|
||||
if (error)
|
||||
if (error != 0 || signum == 0)
|
||||
goto out;
|
||||
|
||||
error = ESRCH;
|
||||
|
Loading…
x
Reference in New Issue
Block a user