Don't blindly skip 0-group processes in signals
This commit is contained in:
parent
6c2a1bac7b
commit
925dd3321f
1 changed files with 0 additions and 1 deletions
|
@ -550,7 +550,6 @@ int signo; /* signal to send to process (0 to _NSIG) */
|
|||
if (proc_id == 0 && mp->mp_procgrp != rmp->mp_procgrp) continue;
|
||||
if (proc_id == -1 && rmp->mp_pid <= INIT_PID) continue;
|
||||
if (proc_id < -1 && rmp->mp_procgrp != -proc_id) continue;
|
||||
if (rmp->mp_procgrp == 0) continue;
|
||||
|
||||
/* Check for permission. */
|
||||
if (mp->mp_effuid != SUPER_USER
|
||||
|
|
Loading…
Reference in a new issue