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
Kconfig -rw-r--r-- 2.0 KB
Makefile -rw-r--r-- 225 bytes
smack.h -rw-r--r-- 13.8 KB
smack_access.c -rw-r--r-- 16.6 KB
smack_lsm.c -rw-r--r-- 116.4 KB
smack_netfilter.c -rw-r--r-- 2.2 KB
smackfs.c -rw-r--r-- 68.8 KB

back to top