• Kees Cook's avatar
    lkdtm: Split WARNING into separate tests · 1ee170ea
    Kees Cook authored
    There are three paths through the kernel code exception logging:
    
    - BUG (no configurable printk message)
    - WARN_ON (no configurable printk message)
    - WARN (configurable printk message)
    
    LKDTM was not testing WARN_ON(). This is needed to evaluate the placement
    of the "cut here" line, which needs special handling in each of the
    three exceptions (and between architectures that implement instruction
    exceptions to implement the code exceptions).
    Signed-off-by: default avatarKees Cook <keescook@chromium.org>
    1ee170ea
lkdtm.h 3.06 KB