linux/tools/testing/selftests/x86
Eric W. Biederman d12fe87e62 signal/testing: Don't look for __SI_FAULT in userspace
Fix the debug print statements in these tests where they reference
si_codes and in particular __SI_FAULT.  __SI_FAULT is a kernel
internal value and should never be seen by userspace.

While I am in there also fix si_code_str.  si_codes are an enumeration
there are not a bitmap so == and not & is the apropriate operation to
test for an si_code.

Cc: Dave Hansen <dave.hansen@linux.intel.com>
Fixes: 5f23f6d082 ("x86/pkeys: Add self-tests")
Fixes: e754aedc26 ("x86/mpx, selftests: Add MPX self test")
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2017-07-19 19:13:15 -05:00
..
.gitignore selftests: x86: add missing executables to .gitignore 2017-05-03 10:55:20 -06:00
check_cc.sh
check_initial_reg_state.c selftests/x86: Add check_initial_reg_state() 2016-01-29 09:46:37 +01:00
entry_from_vm86.c selftests/x86: Add a fork() to entry_from_vm86 to catch fork bugs 2015-10-31 09:50:25 +01:00
fsgsbase.c x86/selftests: Add clobbers for int80 on x86_64 2017-03-01 10:24:56 +01:00
ioperm.c selftests/x86: Add a basic selftest for ioperm 2017-03-01 17:03:23 +01:00
iopl.c selftests/x86: Add an iopl test 2016-03-17 09:49:26 +01:00
ldt_gdt.c selftests/x86/ldt_gdt_32: Work around a glibc sigaction() bug 2017-03-23 08:25:07 +01:00
Makefile selftests: x86: override clean in lib.mk to fix warnings 2017-04-27 08:05:23 -06:00
mpx-debug.h x86/mpx, selftests: Add MPX self test 2016-06-14 12:19:24 +02:00
mpx-dig.c x86/mpx, selftests: Add MPX self test 2016-06-14 12:19:24 +02:00
mpx-hw.h x86/mpx, selftests: Add MPX self test 2016-06-14 12:19:24 +02:00
mpx-mini-test.c signal/testing: Don't look for __SI_FAULT in userspace 2017-07-19 19:13:15 -05:00
mpx-mm.h x86/mpx, selftests: Add MPX self test 2016-06-14 12:19:24 +02:00
pkey-helpers.h x86/pkeys: Add self-tests 2016-09-09 13:02:28 +02:00
protection_keys.c signal/testing: Don't look for __SI_FAULT in userspace 2017-07-19 19:13:15 -05:00
ptrace_syscall.c x86/selftests: Add clobbers for int80 on x86_64 2017-03-01 10:24:56 +01:00
raw_syscall_helper_32.S selftests/x86: Add a test for ptrace syscall restart and arg modification 2015-10-07 11:34:07 +02:00
sigreturn.c selftests/x86/sigreturn: Use CX, not AX, as the scratch register 2016-09-13 20:34:15 +02:00
single_step_syscall.c x86/selftests: Add clobbers for int80 on x86_64 2017-03-01 10:24:56 +01:00
syscall_arg_fault.c
syscall_nt.c selftests/x86: In syscall_nt, test NT|TF as well 2016-03-10 09:48:12 +01:00
sysret_rip.c selftests/x86: Add a selftest for SYSRET to noncanonical addresses 2017-01-05 09:20:02 +01:00
sysret_ss_attrs.c
test_FCMOV.c x86/fpu/math-emu, selftests: Add tests for FCMOV and FCOMI insns 2015-09-20 10:19:52 +02:00
test_FCOMI.c x86/fpu/math-emu, selftests: Add tests for FCMOV and FCOMI insns 2015-09-20 10:19:52 +02:00
test_FISTTP.c x86/fpu/math-emu, selftests: Add test for FISTTP instructions 2015-09-20 16:19:01 +02:00
test_mremap_vdso.c selftests/x86: Add vDSO mremap() test 2016-07-08 14:17:51 +02:00
test_syscall_vdso.c x86/asm/entry/32, selftests: Add 'test_syscall_vdso' test 2015-09-18 09:40:48 +02:00
test_vdso.c selftests/x86: Add test_vdso to test getcpu() 2016-11-17 08:31:22 +01:00
thunks_32.S x86/asm/entry/32, selftests: Add 'test_syscall_vdso' test 2015-09-18 09:40:48 +02:00
thunks.S
trivial_32bit_program.c
trivial_64bit_program.c
unwind_vdso.c selftests/x86: Style fixes for the 'unwind_vdso' test 2015-10-14 16:56:28 +02:00
vdso_restorer.c selftests/x86: Test __kernel_sigreturn and __kernel_rt_sigreturn 2016-01-13 10:34:40 +01:00