]> git.baikalelectronics.ru Git - kernel.git/commit
LSM: Introduce LSM_FLAG_LEGACY_MAJOR
authorKees Cook <keescook@chromium.org>
Wed, 19 Sep 2018 23:13:25 +0000 (16:13 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 8 Jan 2019 21:18:42 +0000 (13:18 -0800)
commita066cbd539caa9fdbc55092325a036eaee5f512e
tree4a2e652b63497aef5f1b6d55f7ec24c562617a25
parentd6952d4b95d3a6897fcea7446c97f59f8d24556b
LSM: Introduce LSM_FLAG_LEGACY_MAJOR

This adds a flag for the current "major" LSMs to distinguish them when
we have a universal method for ordering all LSMs. It's called "legacy"
since the distinction of "major" will go away in the blob-sharing world.

Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Casey Schaufler <casey@schaufler-ca.com>
Reviewed-by: John Johansen <john.johansen@canonical.com>
include/linux/lsm_hooks.h
security/apparmor/lsm.c
security/selinux/hooks.c
security/smack/smack_lsm.c
security/tomoyo/tomoyo.c