summaryrefslogtreecommitdiff
path: root/sys-kernel/cairn-sources/files/5.10.8/hardened-patches/0020-set-LEGACY_VSYSCALL_NONE-by-default.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/cairn-sources/files/5.10.8/hardened-patches/0020-set-LEGACY_VSYSCALL_NONE-by-default.patch')
-rw-r--r--sys-kernel/cairn-sources/files/5.10.8/hardened-patches/0020-set-LEGACY_VSYSCALL_NONE-by-default.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys-kernel/cairn-sources/files/5.10.8/hardened-patches/0020-set-LEGACY_VSYSCALL_NONE-by-default.patch b/sys-kernel/cairn-sources/files/5.10.8/hardened-patches/0020-set-LEGACY_VSYSCALL_NONE-by-default.patch
new file mode 100644
index 000000000000..5d13f6b0f1ce
--- /dev/null
+++ b/sys-kernel/cairn-sources/files/5.10.8/hardened-patches/0020-set-LEGACY_VSYSCALL_NONE-by-default.patch
@@ -0,0 +1,25 @@
+From a1eb33a6554f3fcbc6138384b0e7a001c7343add Mon Sep 17 00:00:00 2001
+From: Daniel Micay <danielmicay@gmail.com>
+Date: Mon, 29 May 2017 07:08:42 -0400
+Subject: [PATCH 020/113] set LEGACY_VSYSCALL_NONE by default
+
+---
+ arch/x86/Kconfig | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
+index 63e1e9fc18dd..4fd082de7420 100644
+--- a/arch/x86/Kconfig
++++ b/arch/x86/Kconfig
+@@ -2296,7 +2296,7 @@ config COMPAT_VDSO
+ choice
+ prompt "vsyscall table for legacy applications"
+ depends on X86_64
+- default LEGACY_VSYSCALL_XONLY
++ default LEGACY_VSYSCALL_NONE
+ help
+ Legacy user code that does not know how to find the vDSO expects
+ to be able to issue three syscalls by calling fixed addresses in
+--
+2.30.0
+