Add details on kernel panics

This commit is contained in:
Raja Grewal 2024-08-25 12:47:04 +10:00
parent 56b28e3826
commit e4909b5e28
No known key found for this signature in database
GPG key ID: 92CA473C156B64C4
4 changed files with 20 additions and 8 deletions

View file

@ -15,5 +15,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.
sysctl kernel.panic_on_oops=1
#sysctl kernel.panic=-1
sysctl kernel.panic_on_oops=1
#sysctl kernel.panic_on_warn=1
#sysctl kernel.oops_limit=1
#sysctl kernel.warn_limit=1