]> Zhao Yanbai Git Server - minix.git/commitdiff
Don't blindly skip 0-group processes in signals
authorBen Gras <ben@minix3.org>
Wed, 8 Mar 2006 14:46:42 +0000 (14:46 +0000)
committerBen Gras <ben@minix3.org>
Wed, 8 Mar 2006 14:46:42 +0000 (14:46 +0000)
servers/pm/signal.c

index 5a51e5965ee2fe4788d6a7d3012295a2b700eb57..fb4342b4f1df23d3ef9d3da8063801293305a91c 100644 (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