From: Kees Cook Date: Fri, 12 Oct 2018 19:07:39 +0000 (-0700) Subject: TOMOYO: Update LSM flags to no longer be exclusive X-Git-Tag: v5.15~6410^2~44^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5e2fe7ede1268d2f80fe49ca1f717d0e3750995;p=platform%2Fkernel%2Flinux-starfive.git 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 --- diff --git a/security/tomoyo/tomoyo.c b/security/tomoyo/tomoyo.c index 9094cf4..066c0da 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, };