Skip to content
Commit 58acf9d9 authored by John Johansen's avatar John Johansen
Browse files

apparmor: fix module parameters can be changed after policy is locked



the policy_lock parameter is a one way switch that prevents policy
from being further modified. Unfortunately some of the module parameters
can effectively modify policy by turning off enforcement.

split policy_admin_capable into a view check and a full admin check,
and update the admin check to test the policy_lock parameter.

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