• Kees Cook's avatar
    lkdtm: Move crashtype definitions into each category · 73f62e60
    Kees Cook authored
    It's long been annoying that to add a new LKDTM test one had to update
    lkdtm.h and core.c to get it "registered". Switch to a per-category
    list and update the crashtype walking code in core.c to handle it.
    
    This also means that all the lkdtm_* tests themselves can be static now.
    
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: default avatarKees Cook <keescook@chromium.org>
    73f62e60
powerpc.c 3.11 KB