]> Zhao Yanbai Git Server - minix.git/commitdiff
Don't sys_kill SELF if a PM exit fails; just generate a fault to get
authorBen Gras <ben@minix3.org>
Fri, 23 Feb 2007 12:54:02 +0000 (12:54 +0000)
committerBen Gras <ben@minix3.org>
Fri, 23 Feb 2007 12:54:02 +0000 (12:54 +0000)
us killed through the kernel with PM finding out.

This makes it unnecessary for servers and drivers to be able to do
sys_kill generally, so KILL can go out of /etc/drivers.conf.

lib/syslib/panic.c

index 72d7329073e074e73fed35609e2a633af5a1c2d8..dae8adbccdbb8c51dfdf69d402c4a49575618385 100644 (file)
@@ -30,9 +30,6 @@ int num;                      /* number to go with format string */
       }
   }
 
-  /* Try to signal ourself */
-  sys_kill(SELF, SIGKILL);
-
   /* If exiting nicely through PM fails for some reason, try to
    * commit suicide. E.g., message to PM might fail due to deadlock.
    */