Skip to content
Commit 15372b97 authored by John Johansen's avatar John Johansen
Browse files

apparmor: ensure unconfined profiles have dfas initialized



Generally unconfined has early bailout tests and does not need the
dfas initialized, however if an early bailout test is ever missed
it will result in an oops.

Be defensive and initialize the unconfined profile to have null dfas
(no permission) so if an early bailout test is missed we fail
closed (no perms granted) instead of oopsing.

Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 290638a5
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