aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/x86
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2019-06-26 21:45:08 -0700
committerThomas Gleixner <tglx@linutronix.de>2019-06-28 00:04:40 +0200
commit441cedab2dfca18fe4983cbc795de04536ed421e (patch)
treeedc94bb896bc62f7504668f09a720a947e20ce57 /tools/testing/selftests/x86
parentx86/vsyscall: Change the default vsyscall mode to xonly (diff)
downloadwireguard-linux-441cedab2dfca18fe4983cbc795de04536ed421e.tar.xz
wireguard-linux-441cedab2dfca18fe4983cbc795de04536ed421e.zip
x86/vsyscall: Add __ro_after_init to global variables
The vDSO is only configurable by command-line options, so make its global variables __ro_after_init. This seems highly unlikely to ever stop an exploit, but it's nicer anyway. Signed-off-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Kees Cook <keescook@chromium.org> Cc: Florian Weimer <fweimer@redhat.com> Cc: Jann Horn <jannh@google.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Kernel Hardening <kernel-hardening@lists.openwall.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lkml.kernel.org/r/a386925835e49d319e70c4d7404b1f6c3c2e3702.1561610354.git.luto@kernel.org
Diffstat (limited to 'tools/testing/selftests/x86')
0 files changed, 0 insertions, 0 deletions