]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
UBUNTU: SAUCE: apparmor: update flags to no longer be exclusive
authorJohn Johansen <john.johansen@canonical.com>
Fri, 15 Mar 2019 18:31:53 +0000 (11:31 -0700)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 26 Mar 2019 14:54:22 +0000 (09:54 -0500)
With blob sharing in place, and secid use reverted apparmor is no
longer an exclusive LSM, so it can operate separately now.

Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
security/apparmor/lsm.c

index d9c0c8f147ec9db67d1241e4e0eb5f9712152818..7f4b0154dc391ef010c40d4df77b7538d2397bd6 100644 (file)
@@ -1676,7 +1676,7 @@ alloc_out:
 
 DEFINE_LSM(apparmor) = {
        .name = "apparmor",
-       .flags = LSM_FLAG_LEGACY_MAJOR | LSM_FLAG_EXCLUSIVE,
+       .flags = LSM_FLAG_LEGACY_MAJOR,
        .enabled = &apparmor_enabled,
        .blobs = &apparmor_blob_sizes,
        .init = apparmor_init,