diff options
Diffstat (limited to 'sys-kernel/cairn-sources/files/5.10.7/hardened-patches/0014-enable-PANIC_ON_OOPS-by-default.patch')
| -rw-r--r-- | sys-kernel/cairn-sources/files/5.10.7/hardened-patches/0014-enable-PANIC_ON_OOPS-by-default.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sys-kernel/cairn-sources/files/5.10.7/hardened-patches/0014-enable-PANIC_ON_OOPS-by-default.patch b/sys-kernel/cairn-sources/files/5.10.7/hardened-patches/0014-enable-PANIC_ON_OOPS-by-default.patch new file mode 100644 index 000000000000..1b705178424a --- /dev/null +++ b/sys-kernel/cairn-sources/files/5.10.7/hardened-patches/0014-enable-PANIC_ON_OOPS-by-default.patch @@ -0,0 +1,34 @@ +From 25b4b12b70440befdec8f6dff2b5959f7e05e304 Mon Sep 17 00:00:00 2001 +From: Daniel Micay <danielmicay@gmail.com> +Date: Wed, 3 May 2017 12:09:17 -0400 +Subject: [PATCH 014/113] enable PANIC_ON_OOPS by default + +Signed-off-by: Daniel Micay <danielmicay@gmail.com> +--- + lib/Kconfig.debug | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug +index 11068e77d146..45b169177fb9 100644 +--- a/lib/Kconfig.debug ++++ b/lib/Kconfig.debug +@@ -894,6 +894,7 @@ menu "Debug Oops, Lockups and Hangs" + + config PANIC_ON_OOPS + bool "Panic on Oops" ++ default y + help + Say Y here to enable the kernel to panic when it oopses. This + has the same effect as setting oops=panic on the kernel command +@@ -903,7 +904,7 @@ config PANIC_ON_OOPS + anything erroneous after an oops which could result in data + corruption or other issues. + +- Say N if unsure. ++ Say Y if unsure. + + config PANIC_ON_OOPS_VALUE + int +-- +2.30.0 + |
