diff options
author | Mimi Zohar <[email protected]> | 2020-06-10 09:18:26 -0400 |
---|---|---|
committer | Mimi Zohar <[email protected]> | 2020-06-12 11:30:18 -0400 |
commit | 4235b1a4efe19dd0309250170bbf0aa95e559626 (patch) | |
tree | 45de78666d03314849cb1ebcd8cc6413705bbfd2 /scripts/gdb/linux/modules.py | |
parent | 42413b49804b250ced70dac8815388af2d4ad872 (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 <[email protected]>
Reviewed-by: Lakshmi Ramasubramanian <[email protected]>
Tested-by: Xing Zhengjun <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions