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:
parent
1bf8a2e8bf
commit
be30a639cd
1 changed files with 0 additions and 3 deletions
|
@ -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
|
/* If exiting nicely through PM fails for some reason, try to
|
||||||
* commit suicide. E.g., message to PM might fail due to deadlock.
|
* commit suicide. E.g., message to PM might fail due to deadlock.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue