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-- 1.2 KB
Makefile -rw-r--r-- 351 bytes
vlan.c -rw-r--r-- 17.6 KB
vlan.h -rw-r--r-- 6.1 KB
vlan_core.c -rw-r--r-- 12.5 KB
vlan_dev.c -rw-r--r-- 21.7 KB
vlan_gvrp.c -rw-r--r-- 1.6 KB
vlan_mvrp.c -rw-r--r-- 1.8 KB
vlan_netlink.c -rw-r--r-- 7.7 KB
vlanproc.c -rw-r--r-- 7.5 KB
vlanproc.h -rw-r--r-- 572 bytes

back to top