]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit96a664d87a48b3d3e3739894630421418953cf93
tree0758d1473b978e95a90655ebdba9c7e25147b68c
parent9b7cd1365c3237d83ed94378c93ce810fb001390
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