diff options
author | Kees Cook <[email protected]> | 2018-10-09 14:42:57 -0700 |
---|---|---|
committer | Kees Cook <[email protected]> | 2019-01-08 13:18:42 -0800 |
commit | a8027fb0d188599ccdb2096f49f708bae04d86c4 (patch) | |
tree | fdef774e00b724d4ecf2eb0b997dc2ce773c8663 /security/selinux/hooks.c | |
parent | 79f7865d844c7703e3dc0e2f5b9ed2f3a4f412e5 (diff) |
LSM: Tie enabling logic to presence in ordered list
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: Kees Cook <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions