[PATCH 1/3] x86/mpx: remove selftests Makefile entry

From: Dave Hansen
Date: Fri Jul 05 2019 - 14:06:58 EST



From: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>

MPX is being removed from the kernel due to a lack of support
in the toolchain going forward (gcc).

This is the smallest possible patch to fix some issues that
have been reported around running the MPX selftests. It is
would also have been part of any removal series, so it is
offered first.

Signed-off-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
Cc: x86@xxxxxxxxxx
Cc: Andy Lutomirski <luto@xxxxxxxxxx>
---

b/tools/testing/selftests/x86/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN tools/testing/selftests/x86/Makefile~mpx-remove-x86-selftests-makefile tools/testing/selftests/x86/Makefile
--- a/tools/testing/selftests/x86/Makefile~mpx-remove-x86-selftests-makefile 2019-07-05 10:40:42.179907064 -0700
+++ b/tools/testing/selftests/x86/Makefile 2019-07-05 10:40:42.183907064 -0700
@@ -11,7 +11,7 @@ CAN_BUILD_X86_64 := $(shell ./check_cc.s
CAN_BUILD_WITH_NOPIE := $(shell ./check_cc.sh $(CC) trivial_program.c -no-pie)

TARGETS_C_BOTHBITS := single_step_syscall sysret_ss_attrs syscall_nt test_mremap_vdso \
- check_initial_reg_state sigreturn iopl mpx-mini-test ioperm \
+ check_initial_reg_state sigreturn iopl ioperm \
protection_keys test_vdso test_vsyscall mov_ss_trap
TARGETS_C_32BIT_ONLY := entry_from_vm86 syscall_arg_fault test_syscall_vdso unwind_vdso \
test_FCMOV test_FCOMI test_FISTTP \
_