apparmor: make computing policy hashes conditional on kernel parameter
authorJohn Johansen <john.johansen@canonical.com>
Mon, 16 Jan 2017 08:43:07 +0000 (00:43 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 16 Jan 2017 09:18:50 +0000 (01:18 -0800)
commit31f75bfecd9cef7d485b1cda3c6c38cc0b4a5c6c
tree0758d1473b978e95a90655ebdba9c7e25147b68c
parentaa9a39ad8f60cc73e1bd2f18f0693bba6be8b067
apparmor: make computing policy hashes conditional on kernel parameter

Allow turning off the computation of the policy hashes via the
apparmor.hash_policy kernel parameter.

Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/lsm.c
security/apparmor/policy_unpack.c