diff options
author | Kees Cook | 2018-09-20 01:13:25 +0200 |
---|---|---|
committer | Kees Cook | 2019-01-08 22:18:42 +0100 |
commit | 47008e5161fa097ce9b848dee194b43262b743a5 (patch) | |
tree | 4a2e652b63497aef5f1b6d55f7ec24c562617a25 /security/tomoyo | |
parent | Linux 5.0-rc1 (diff) | |
download | kernel-qcow2-linux-47008e5161fa097ce9b848dee194b43262b743a5.tar.gz kernel-qcow2-linux-47008e5161fa097ce9b848dee194b43262b743a5.tar.xz kernel-qcow2-linux-47008e5161fa097ce9b848dee194b43262b743a5.zip |
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>
Diffstat (limited to 'security/tomoyo')
-rw-r--r-- | security/tomoyo/tomoyo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/tomoyo/tomoyo.c b/security/tomoyo/tomoyo.c index 1b5b5097efd7..09f7af130d3a 100644 --- a/security/tomoyo/tomoyo.c +++ b/security/tomoyo/tomoyo.c @@ -552,5 +552,6 @@ static int __init tomoyo_init(void) DEFINE_LSM(tomoyo) = { .name = "tomoyo", + .flags = LSM_FLAG_LEGACY_MAJOR, .init = tomoyo_init, }; |