mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-11-26 00:18:24 -05:00
comments
This commit is contained in:
parent
5d67277c9f
commit
31fd316e72
1 changed files with 4 additions and 0 deletions
|
|
@ -17,10 +17,14 @@ fi
|
||||||
## to run after an inconsistent state is triggered by a potentially
|
## to run after an inconsistent state is triggered by a potentially
|
||||||
## flawed processes. The reasons for the errors could be kernel
|
## flawed processes. The reasons for the errors could be kernel
|
||||||
## exploit attempts but may also simply be general software bugs.
|
## exploit attempts but may also simply be general software bugs.
|
||||||
|
##
|
||||||
|
## https://docs.kernel.org/admin-guide/sysctl/kernel.html#oops-limit
|
||||||
sysctl kernel.oops_limit=1
|
sysctl kernel.oops_limit=1
|
||||||
|
## https://docs.kernel.org/admin-guide/sysctl/kernel.html#warn-limit
|
||||||
sysctl kernel.warn_limit=1
|
sysctl kernel.warn_limit=1
|
||||||
|
|
||||||
## Makes the system immediately reboot on the occurrence of a single
|
## Makes the system immediately reboot on the occurrence of a single
|
||||||
## kernel panic. This reduces the risk and impact of both denial of
|
## kernel panic. This reduces the risk and impact of both denial of
|
||||||
## service and cold boot attacks.
|
## service and cold boot attacks.
|
||||||
|
## https://docs.kernel.org/admin-guide/sysctl/kernel.html#panic
|
||||||
sysctl kernel.panic=-1
|
sysctl kernel.panic=-1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue