]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
x86/entry, selftests: Further improve user entry sanity checks
authorAndy Lutomirski <luto@kernel.org>
Fri, 3 Jul 2020 17:02:54 +0000 (10:02 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 4 Jul 2020 17:47:25 +0000 (19:47 +0200)
commit3c73b81a9164d0c1b6379d6672d2772a9e95168e
treec8af1056a6fdf747ff0cc9c11b4727f9ce051720
parentdb5b2c5a90a111618f071d231a8b945cf522313e
x86/entry, selftests: Further improve user entry sanity checks

Chasing down a Xen bug caused me to realize that the new entry sanity
checks are still fairly weak.  Add some more checks.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/881de09e786ab93ce56ee4a2437ba2c308afe7a9.1593795633.git.luto@kernel.org
arch/x86/entry/common.c
tools/testing/selftests/x86/syscall_nt.c