• Kees Cook's avatar
    LSM: Tie enabling logic to presence in ordered list · a8027fb0
    Kees Cook authored
    Until now, any LSM without an enable storage variable was considered
    enabled. This inverts the logic and sets defaults to true only if the
    LSM gets added to the ordered initialization list. (And an exception
    continues for the major LSMs until they are integrated into the ordered
    initialization in a later patch.)
    Signed-off-by: default avatarKees Cook <keescook@chromium.org>
    a8027fb0
security.c 48.9 KB