Patch "x86/mpx/selftests: Adjust the self-test to fresh distros that export the MPX ABI" has been added to the 4.14-stable tree
Subsystems (3)
[email protected]
AppliedThis is a note to let you know that I've just added the patch titled
x86/mpx/selftests: Adjust the self-test to fresh distros that export the MPX ABI
to the 4.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
x86-mpx-selftests-adjust-the-self-test-to-fresh-distros-that-export-the-mpx-abi.patch
and it can be found in the queue-4.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Sun Jun 17 12:13:49 CEST 2018
From: Ingo Molnar <[email protected]>
Date: Mon, 14 May 2018 10:59:08 +0200
Subject: x86/mpx/selftests: Adjust the self-test to fresh distros that export the MPX ABI
From: Ingo Molnar <[email protected]>
[ Upstream commit 73bb4d6cd192b8629c5125aaada9892d9fc986b6 ]
Fix this warning:
mpx-mini-test.c:422:0: warning: "SEGV_BNDERR" redefined
--- tools/testing/selftests/x86/mpx-mini-test.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
tools/testing/selftests/x86/mpx-mini-test.c +5 -2
@@ -368,6 +368,11 @@ static int expected_bnd_index = -1;uint64_t shadow_plb[NR_MPX_BOUNDS_REGISTERS ][2 ];/* shadow MPX bound registers */ unsigned long shadow_map[NR_MPX_BOUNDS_REGISTERS ]; +/* Failed address bound checks: */ +#ifndef SEGV_BNDERR +# define SEGV_BNDERR 3 +#endif +/* * The kernel is supposed to provide some information about the bounds * exception in the siginfo. It should match what we have in the bounds
@@ -419,8 +424,6 @@ void handler(int signum, siginfo_t *si, br_count++;dprintf1 ("#BR 0x%jx (total seen: %d)\n" , status, br_count); -#define SEGV_BNDERR 3/* failed address bound checks */ -dprintf2 ("Saw a #BR! status 0x%jx at %016lx br_reason: %jx\n" , status, ip, br_reason);dprintf2 ("si_signo: %d\n" , si->si_signo);
Patches currently in stable-queue which might be from [email protected] are
queue-4.14/locking-rwsem-add-a-new-rwsem_anonymously_owned-flag.patch queue-4.14/x86-pkeys-selftests-factor-out-instruction-page.patch queue-4.14/kthread-sched-wait-fix-kthread_parkme-wait-loop.patch queue-4.14/proc-kcore-don-t-bounds-check-against-address-0.patch queue-4.14/stop_machine-sched-fix-migrate_swap-vs.-active_balance-deadlock.patch queue-4.14/init-fix-false-positives-in-w-x-checking.patch queue-4.14/x86-pkeys-selftests-fix-pointer-math.patch queue-4.14/x86-pkeys-selftests-adjust-the-self-test-to-fresh-distros-that-export-the-pkeys-abi.patch queue-4.14/locking-percpu-rwsem-annotate-rwsem-ownership-transfer-by-setting-rwsem_owner_unknown.patch queue-4.14/x86-pkeys-selftests-add-a-test-for-pkey-0.patch queue-4.14/x86-pkeys-selftests-stop-using-assert.patch queue-4.14/sched-core-introduce-set_special_state.patch queue-4.14/x86-pkeys-selftests-save-off-prot-for-allocations.patch queue-4.14/x86-pkeys-selftests-remove-dead-debugging-code-fix-dprint_in_signal.patch queue-4.14/x86-selftests-add-mov_to_ss-test.patch queue-4.14/sched-debug-move-the-print_rt_rq-and-print_dl_rq-declarations-to-kernel-sched-sched.h.patch queue-4.14/x86-mpx-selftests-adjust-the-self-test-to-fresh-distros-that-export-the-mpx-abi.patch queue-4.14/x86-pkeys-selftests-add-prot_exec-test.patch queue-4.14/sched-deadline-make-the-grub_reclaim-function-static.patch queue-4.14/objtool-kprobes-x86-sync-the-latest-asm-insn.h-header-with-tools-objtool-arch-x86-include-asm-insn.h.patch queue-4.14/x86-pkeys-selftests-allow-faults-on-unknown-keys.patch queue-4.14/x86-pkeys-selftests-give-better-unexpected-fault-error-messages.patch queue-4.14/efi-libstub-arm64-handle-randomized-text_offset.patch queue-4.14/x86-pkeys-selftests-fix-pkey-exhaustion-test-off-by-one.patch