Don't sys_kill SELF if a PM exit fails; just generate a fault to get

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.
This commit is contained in:
Ben Gras 2007-02-23 12:54:02 +00:00
parent 1bf8a2e8bf
commit be30a639cd

View 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.
*/