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: Ubuntu-5.10.0-12.13~5820^2~20^2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=a5e2fe7ede1268d2f80fe49ca1f717d0e3750995;p=mirror_ubuntu-hirsute-kernel.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 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, };