Skip to content
Commit 2bd8dbbf authored by John Johansen's avatar John Johansen
Browse files

apparmor: add ns being viewed as a param to policy_view_capable()



Prepare for a tighter pairing of user namespaces and apparmor policy
namespaces, by making the ns to be viewed available and checking
that the user namespace level is the same as the policy ns level.

This strict pairing will be relaxed once true support of user namespaces
lands.

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