Make Watchdog Signal Configurable
Allows configuring the watchdog signal (with a default of SIGABRT). This allows an alternative to SIGABRT when coredumps are not desirable. Appropriate references to SIGABRT or aborting were renamed to reflect more liberal watchdog signals. Closes #8658
This commit is contained in:
committed by
Lennart Poettering
parent
ee8d493cbd
commit
c87700a133
+2
-2
@@ -4509,8 +4509,8 @@ static int operation_to_signal(KillContext *c, KillOperation k) {
|
||||
case KILL_KILL:
|
||||
return c->final_kill_signal;
|
||||
|
||||
case KILL_ABORT:
|
||||
return SIGABRT;
|
||||
case KILL_WATCHDOG:
|
||||
return c->watchdog_signal;
|
||||
|
||||
default:
|
||||
assert_not_reached("KillOperation unknown");
|
||||
|
||||
Reference in New Issue
Block a user