Don't blindly skip 0-group processes in signals

This commit is contained in:
Ben Gras 2006-03-08 14:46:42 +00:00
parent 6c2a1bac7b
commit 925dd3321f

View file

@ -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