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
ccids
Kconfig -rw-r--r-- 1.1 KB
Makefile -rw-r--r-- 878 bytes
ackvec.c -rw-r--r-- 12.2 KB
ackvec.h -rw-r--r-- 4.5 KB
ccid.c -rw-r--r-- 5.1 KB
ccid.h -rw-r--r-- 8.6 KB
dccp.h -rw-r--r-- 16.0 KB
diag.c -rw-r--r-- 2.1 KB
feat.c -rw-r--r-- 47.0 KB
feat.h -rw-r--r-- 4.4 KB
input.c -rw-r--r-- 21.7 KB
ipv4.c -rw-r--r-- 28.5 KB
ipv6.c -rw-r--r-- 30.3 KB
ipv6.h -rw-r--r-- 608 bytes
minisocks.c -rw-r--r-- 7.3 KB
options.c -rw-r--r-- 16.2 KB
output.c -rw-r--r-- 20.2 KB
proto.c -rw-r--r-- 30.2 KB
qpolicy.c -rw-r--r-- 3.2 KB
sysctl.c -rw-r--r-- 2.6 KB
timer.c -rw-r--r-- 7.1 KB
trace.h -rw-r--r-- 2.2 KB

back to top