Add details on oopses and warnings

This commit is contained in:
Raja Grewal
2024-08-25 12:57:22 +10:00
parent e4909b5e28
commit 32de5e7c49
2 changed files with 5 additions and 2 deletions

View File

@ -14,7 +14,8 @@ fi
## Makes the kernel panic on oopses. This prevents the kernel
## from continuing to run a flawed processes. Many kernel exploits
## will also cause an oops which this will make the kernel kill.
## will also cause an oops which this will make the kernel kill
## the offending processes.
#sysctl kernel.panic=-1
sysctl kernel.panic_on_oops=1
#sysctl kernel.panic_on_warn=1