]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - security/apparmor/policy.c
UBUNTU: SAUCE: apparmor: null profiles should inherit parent control flags
[mirror_ubuntu-zesty-kernel.git] / security / apparmor / policy.c
index f2ffcf109e28b0efd8cd2fa66f53a5e723657e62..f5f286ab70b42860f9477ac64d45226499124511 100644 (file)
@@ -350,6 +350,7 @@ name:
        profile->label.flags |= FLAG_NULL;
        if (hat)
                profile->label.flags |= FLAG_HAT;
+       profile->path_flags = parent->path_flags;
 
        /* released on free_profile */
        rcu_assign_pointer(profile->parent, aa_get_profile(parent));