commit | 58acf9d911c8831156634a44d0b022d683e1e50c | [log] [tgz] |
---|---|---|
author | John Johansen <john.johansen@canonical.com> | Wed Jun 22 18:01:08 2016 -0700 |
committer | John Johansen <john.johansen@canonical.com> | Tue Jul 12 08:43:10 2016 -0700 |
tree | df76653f50579f989c36eab7139919523f50d561 | |
parent | 5f20fdfed16bc599a325a145bf0123a8e1c9beea [diff] |
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: John Johansen <john.johansen@canonical.com>