]> 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)
commit17b2daab0b234f485bf7ef4e910001938a4d1a0f
treec8af1056a6fdf747ff0cc9c11b4727f9ce051720
parent046a81e8bd1a193167f14c80de98e4b1fbb28bdc
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