mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
lkdtm: Enable DOUBLE_FAULT on all architectures
commitf123c42bbeupstream Where feasible, I prefer to have all tests visible on all architectures, but to have them wired to XFAIL. DOUBLE_FAIL was set up to XFAIL, but wasn't actually being added to the test list. Fixes:cea23efb4d("lkdtm/bugs: Make double-fault test always available") Cc: stable@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20210623203936.3151093-7-keescook@chromium.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> [sudip: adjust context] Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b6c657abb8
commit
f760c1101f
|
|
@ -173,9 +173,7 @@ static const struct crashtype crashtypes[] = {
|
||||||
CRASHTYPE(USERCOPY_KERNEL),
|
CRASHTYPE(USERCOPY_KERNEL),
|
||||||
CRASHTYPE(STACKLEAK_ERASING),
|
CRASHTYPE(STACKLEAK_ERASING),
|
||||||
CRASHTYPE(CFI_FORWARD_PROTO),
|
CRASHTYPE(CFI_FORWARD_PROTO),
|
||||||
#ifdef CONFIG_X86_32
|
|
||||||
CRASHTYPE(DOUBLE_FAULT),
|
CRASHTYPE(DOUBLE_FAULT),
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user