OSDN Git Service

ima: use the lsm policy update notifier
authorJanne Karhunen <janne.karhunen@gmail.com>
Fri, 14 Jun 2019 12:20:15 +0000 (15:20 +0300)
committerMimi Zohar <zohar@linux.ibm.com>
Fri, 14 Jun 2019 13:02:43 +0000 (09:02 -0400)
commitb169424551930a9325f700f502802f4d515194e5
tree5b38bb996cfe6791c0c672a1576c198ed8c9599e
parent42df744c4166af6959eda2df1ee5cde744d4a1c3
ima: use the lsm policy update notifier

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: Janne Karhunen <janne.karhunen@gmail.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
security/integrity/ima/ima.h
security/integrity/ima/ima_main.c
security/integrity/ima/ima_policy.c