]> git.baikalelectronics.ru Git - kernel.git/commit
lkdtm/bugs: Make double-fault test always available
authorKees Cook <keescook@chromium.org>
Thu, 2 Jan 2020 20:29:17 +0000 (12:29 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jan 2020 14:38:28 +0000 (15:38 +0100)
commit282da798e466a0c44c4b21be7e4eafac04c9322b
treeb10c56c61afe3f562d407070af416b47a5806c6c
parent1d90d987b6abe481ca483c1712b76ed45b58952b
lkdtm/bugs: Make double-fault test always available

Adjust the DOUBLE_FAULT test to always be available (so test harnesses
don't have to make exceptions more missing tests), and for the
arch-specific tests to "XFAIL" so that test harnesses can reason about
expected vs unexpected failures.

Fixes: 41b6354b4a6e ("lkdtm: Add a DOUBLE_FAULT crash type on x86")
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/202001021226.751D3F869D@keescook
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/lkdtm/bugs.c