aboutsummaryrefslogtreecommitdiffstats
path: root/config/Config-kernel.in
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2019-08-27 03:52:56 +0000
committerYousong Zhou <yszhou4tech@gmail.com>2019-09-12 02:30:26 +0000
commit083bb9b6a4e33a2881da9086c65792148d0d04b1 (patch)
tree8489c70f23bc7c10653ab878430ff5f47a637a79 /config/Config-kernel.in
parent7489ea85a2596020587ba3202a55821075aa913f (diff)
downloadupstream-083bb9b6a4e33a2881da9086c65792148d0d04b1.tar.gz
upstream-083bb9b6a4e33a2881da9086c65792148d0d04b1.tar.bz2
upstream-083bb9b6a4e33a2881da9086c65792148d0d04b1.zip
config: kernel: add KERNEL_X86_VSYSCALL_EMULATION
Binaries in container images may need this. E.g. nginx:1.7.9 used in k8s default deployment manifest file for demostration [1] [1] https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#creating-a-deployment Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'config/Config-kernel.in')
-rw-r--r--config/Config-kernel.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index eeda3e1b6f..d9a9fe687f 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -54,6 +54,24 @@ config KERNEL_ARM_PMU
default n
depends on (arm || aarch64)
+config KERNEL_X86_VSYSCALL_EMULATION
+ bool "Enable vsyscall emulation"
+ default n
+ depends on x86_64
+ help
+ This enables emulation of the legacy vsyscall page. Disabling
+ it is roughly equivalent to booting with vsyscall=none, except
+ that it will also disable the helpful warning if a program
+ tries to use a vsyscall. With this option set to N, offending
+ programs will just segfault, citing addresses of the form
+ 0xffffffffff600?00.
+
+ This option is required by many programs built before 2013, and
+ care should be used even with newer programs if set to N.
+
+ Disabling this option saves about 7K of kernel size and
+ possibly 4K of additional runtime pagetable memory.
+
config KERNEL_PERF_EVENTS
bool "Compile the kernel with performance events and counters"
default n