]> 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)
commitc77673c84de458b0a262bf24292b139c4e35295e
treeb10c56c61afe3f562d407070af416b47a5806c6c
parentd6d826b4fa4425397733510d7c98c7c2df0b6a43
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: 3faf62e5a252 ("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