summaryrefslogtreecommitdiff
path: root/sys-kernel/cairn-sources/files/5.9.6/hardened-patches/0006-enable-DEBUG_LIST-by-default.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/cairn-sources/files/5.9.6/hardened-patches/0006-enable-DEBUG_LIST-by-default.patch')
-rw-r--r--sys-kernel/cairn-sources/files/5.9.6/hardened-patches/0006-enable-DEBUG_LIST-by-default.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-kernel/cairn-sources/files/5.9.6/hardened-patches/0006-enable-DEBUG_LIST-by-default.patch b/sys-kernel/cairn-sources/files/5.9.6/hardened-patches/0006-enable-DEBUG_LIST-by-default.patch
new file mode 100644
index 000000000000..cff16bcfcb80
--- /dev/null
+++ b/sys-kernel/cairn-sources/files/5.9.6/hardened-patches/0006-enable-DEBUG_LIST-by-default.patch
@@ -0,0 +1,25 @@
+From 2f4b0eec7cf84f132d0dd9ffad22d6d71cbb282b Mon Sep 17 00:00:00 2001
+From: Daniel Micay <danielmicay@gmail.com>
+Date: Wed, 3 May 2017 12:10:57 -0400
+Subject: [PATCH 006/108] enable DEBUG_LIST by default
+
+Signed-off-by: Daniel Micay <danielmicay@gmail.com>
+---
+ lib/Kconfig.debug | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
+index 491789a793ae..808fe4f2739b 100644
+--- a/lib/Kconfig.debug
++++ b/lib/Kconfig.debug
+@@ -1452,6 +1452,7 @@ menu "Debug kernel data structures"
+ config DEBUG_LIST
+ bool "Debug linked list manipulation"
+ depends on DEBUG_KERNEL || BUG_ON_DATA_CORRUPTION
++ default y
+ help
+ Enable this to turn on extended checks in the linked-list
+ walking routines.
+--
+2.29.2
+