summaryrefslogtreecommitdiff
path: root/sys-kernel/cairn-sources/files/5.10.7/hardened-patches/0025-disable-PROC_VMCORE-by-default.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/cairn-sources/files/5.10.7/hardened-patches/0025-disable-PROC_VMCORE-by-default.patch')
-rw-r--r--sys-kernel/cairn-sources/files/5.10.7/hardened-patches/0025-disable-PROC_VMCORE-by-default.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-kernel/cairn-sources/files/5.10.7/hardened-patches/0025-disable-PROC_VMCORE-by-default.patch b/sys-kernel/cairn-sources/files/5.10.7/hardened-patches/0025-disable-PROC_VMCORE-by-default.patch
new file mode 100644
index 000000000000..e9b56376aba8
--- /dev/null
+++ b/sys-kernel/cairn-sources/files/5.10.7/hardened-patches/0025-disable-PROC_VMCORE-by-default.patch
@@ -0,0 +1,24 @@
+From 538cdbbf1df902988ec8cac228fd129a56d93845 Mon Sep 17 00:00:00 2001
+From: Daniel Micay <danielmicay@gmail.com>
+Date: Sat, 27 May 2017 07:29:45 -0400
+Subject: [PATCH 025/113] disable PROC_VMCORE by default
+
+---
+ fs/proc/Kconfig | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/fs/proc/Kconfig b/fs/proc/Kconfig
+index c930001056f9..6a0a51b3f593 100644
+--- a/fs/proc/Kconfig
++++ b/fs/proc/Kconfig
+@@ -41,7 +41,6 @@ config PROC_KCORE
+ config PROC_VMCORE
+ bool "/proc/vmcore support"
+ depends on PROC_FS && CRASH_DUMP
+- default y
+ help
+ Exports the dump image of crashed kernel in ELF format.
+
+--
+2.30.0
+