mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-16 10:51:30 +07:00
Provide the option to immediately reboot on a kernel panics
This commit is contained in:
@ -119,6 +119,7 @@ kernel.perf_event_paranoid=3
|
||||
## See /usr/libexec/security-misc/panic-on-oops for implementation.
|
||||
##
|
||||
#kernel.panic_on_oops=1
|
||||
#kernel.panic=-1
|
||||
|
||||
## Enable ASLR for mmap base, stack, VDSO pages, and heap.
|
||||
## Heap randomization can lead to breakages with legacy applications.
|
||||
|
@ -16,3 +16,4 @@ fi
|
||||
## from continuing to run a flawed processes. Many kernel exploits
|
||||
## will also cause an oops which this will make the kernel kill.
|
||||
sysctl kernel.panic_on_oops=1
|
||||
#sysctl kernel.panic=-1
|
||||
|
Reference in New Issue
Block a user