TOMOYO: Update LSM flags to no longer be exclusive
authorKees Cook <keescook@chromium.org>
Fri, 12 Oct 2018 19:07:39 +0000 (12:07 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 8 Jan 2019 21:18:45 +0000 (13:18 -0800)
With blob sharing in place, TOMOYO is no longer an exclusive LSM, so it
can operate separately now. Mark it as such.

Signed-off-by: Kees Cook <keescook@chromium.org>
security/tomoyo/tomoyo.c

index 9094cf41a2478c360baf458d6ea213578fe211d0..066c0daf0efc02a231404706713bdfa640cb3dd1 100644 (file)
@@ -577,7 +577,7 @@ static int __init tomoyo_init(void)
 DEFINE_LSM(tomoyo) = {
        .name = "tomoyo",
        .enabled = &tomoyo_enabled,
-       .flags = LSM_FLAG_LEGACY_MAJOR | LSM_FLAG_EXCLUSIVE,
+       .flags = LSM_FLAG_LEGACY_MAJOR,
        .blobs = &tomoyo_blob_sizes,
        .init = tomoyo_init,
 };