Skip to content
Commit 145a0ef2 authored by John Johansen's avatar John Johansen
Browse files

apparmor: fix blob compression when ns is forced on a policy load



When blob compression is turned on, if the policy namespace is forced
onto a policy load, the policy load will fail as the namespace name
being referenced is inside the compressed policy blob, resulting in
invalid or names that are too long. So duplicate the name before the
blob is compressed.

Fixes: 876dd866c084 ("apparmor: Initial implementation of raw policy blob compression")
Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent fe166a9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment