summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.ibm.com>2020-06-10 09:18:26 -0400
committerMimi Zohar <zohar@linux.ibm.com>2020-06-12 11:30:18 -0400
commit4235b1a4efe19dd0309250170bbf0aa95e559626 (patch)
tree45de78666d03314849cb1ebcd8cc6413705bbfd2 /init
parent42413b49804b250ced70dac8815388af2d4ad872 (diff)
ima: fix mprotect checking
Make sure IMA is enabled before checking mprotect change. Addresses report of a 3.7% regression of boot-time.dhcp. Fixes: 8eb613c0b8f1 ("ima: verify mprotect change is consistent with mmap policy") Reported-by: kernel test robot <rong.a.chen@intel.com> Reviewed-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com> Tested-by: Xing Zhengjun <zhengjun.xing@linux.intel.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions