mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-12-17 16:23:52 -05:00
Move kernel.panic=-1 setting to sysctl, allow turning panic-on-oops off with systemctl
This commit is contained in:
parent
725565c42e
commit
135ee80450
3 changed files with 22 additions and 20 deletions
|
|
@ -196,9 +196,7 @@ kernel.perf_event_paranoid=3
|
|||
## KSPP=yes
|
||||
## KSPP sets CONFIG_PANIC_TIMEOUT=-1.
|
||||
##
|
||||
## See /usr/libexec/security-misc/panic-on-oops for implementation.
|
||||
##
|
||||
#kernel.panic=-1
|
||||
kernel.panic=-1
|
||||
|
||||
## Force immediate kernel panic on OOM (out of memory) scenarios.
|
||||
## Registers a kernel panic whenever the oom_killer is triggered to kill some rouge process based on their OOM score.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue