Commit c092e34c authored by Janne Karhunen's avatar Janne Karhunen Committed by Yongqiang Liu
Browse files

ima: use the lsm policy update notifier

mainline inclusion
from mainline-v5.3-rc1
commit b1694245
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I692HU


CVE: NA

--------------------------------

Don't do lazy policy updates while running the rule matching,
run the updates as they happen.

Depends on commit f242064c5df3 ("LSM: switch to blocking policy update notifiers")

Signed-off-by: default avatarJanne Karhunen <janne.karhunen@gmail.com>
Signed-off-by: default avatarMimi Zohar <zohar@linux.ibm.com>
Conflicts:
	security/integrity/ima/ima_main.c
Signed-off-by: default avatarGUO Zihua <guozihua@huawei.com>
Reviewed-by: default avatarXiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: default avatarYongqiang Liu <liuyongqiang13@huawei.com>
parent 725660b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment