Revision 4235b1a4efe19dd0309250170bbf0aa95e559626 authored by Mimi Zohar on 10 June 2020, 13:18:26 UTC, committed by Mimi Zohar on 12 June 2020, 15:30:18 UTC
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>
1 parent 42413b4
History
File Mode Size
BSD-2-Clause -rw-r--r-- 1.6 KB
BSD-3-Clause -rw-r--r-- 1.8 KB
BSD-3-Clause-Clear -rw-r--r-- 2.0 KB
GPL-2.0 -rw-r--r-- 18.3 KB
LGPL-2.0 -rw-r--r-- 25.6 KB
LGPL-2.1 -rw-r--r-- 26.8 KB
MIT -rw-r--r-- 1.3 KB

back to top