]> git.baikalelectronics.ru Git - kernel.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)
commita42c4c2609bd177e76e6ef415350e4d735545bf5
treec8af1056a6fdf747ff0cc9c11b4727f9ce051720
parentaf9fa69496b488a08daf8becdf7206232684a695
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