• Andy Lutomirski's avatar
    lkdtm: Add a DOUBLE_FAULT crash type on x86 · b09511c2
    Andy Lutomirski authored
    The DOUBLE_FAULT crash does INT $8, which is a decent approximation
    of a double fault.  This is useful for testing the double fault
    handling.  Use it like:
    Signed-off-by: default avatarAndy Lutomirski <luto@kernel.org>
    Cc: Kees Cook <keescook@chromium.org>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    b09511c2
bugs.c 9.02 KB