Commit 0448977c authored by Stefan Bader's avatar Stefan Bader

Revert "UBUNTU: SAUCE: apparmor: null profiles should inherit parent control flags"

This reverts commit 3432cc02.

BugLink: https://bugs.launchpad.net/bugs/1666897Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
parent 64a12e65
......@@ -350,7 +350,6 @@ struct aa_profile *aa_null_profile(struct aa_profile *parent, bool hat,
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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment