Skip to content
Snippets Groups Projects
Commit 31ec99e1 authored by John Johansen's avatar John Johansen
Browse files

apparmor: switch to apparmor to internal capable check for policy management


With LSM stacking calling back into capable to check for MAC_ADMIN
for apparmor policy results in asking the other stacked LSMs for
MAC_ADMIN resulting in the other LSMs answering based on their
policy management.

For apparmor policy management we just need to call apparmor's
capability fn directly.

Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 92de220a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment