diff options
author | Andy Lutomirski <luto@kernel.org> | 2019-06-27 06:45:09 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-06-28 00:04:40 +0200 |
commit | 7f0a5e0755832301e7b010eab46fb715c483ba60 (patch) | |
tree | 8b60402483f9267206b722b330ac2ed9a6319ab1 /arch/x86/entry/vsyscall | |
parent | x86/vsyscall: Add __ro_after_init to global variables (diff) | |
download | linux-7f0a5e0755832301e7b010eab46fb715c483ba60.tar.xz linux-7f0a5e0755832301e7b010eab46fb715c483ba60.zip |
selftests/x86: Add a test for process_vm_readv() on the vsyscall page
get_gate_page() is a piece of somewhat alarming code to make
get_user_pages() work on the vsyscall page. Test it via
process_vm_readv().
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/0fe34229a9330e8f9de9765967939cc4f1cf26b1.1561610354.git.luto@kernel.org
Diffstat (limited to 'arch/x86/entry/vsyscall')
0 files changed, 0 insertions, 0 deletions