summaryrefslogtreecommitdiff
path: root/security/tomoyo/tomoyo.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-10-12 22:07:39 +0300
committerKees Cook <keescook@chromium.org>2019-01-09 00:18:45 +0300
commita5e2fe7ede1268d2f80fe49ca1f717d0e3750995 (patch)
tree94817828eb739a1ac2a659d73baf2d633b07c0ea /security/tomoyo/tomoyo.c
parentecd5f82e05ddd9b06c258167ec7467ac79741d77 (diff)
downloadlinux-a5e2fe7ede1268d2f80fe49ca1f717d0e3750995.tar.xz
TOMOYO: Update LSM flags to no longer be exclusive
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>
Diffstat (limited to 'security/tomoyo/tomoyo.c')
-rw-r--r--security/tomoyo/tomoyo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tomoyo/tomoyo.c b/security/tomoyo/tomoyo.c
index 9094cf41a247..066c0daf0efc 100644
--- a/security/tomoyo/tomoyo.c
+++ b/security/tomoyo/tomoyo.c
@@ -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,
};