函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\integrity\ima\ima_policy.c Create Date:2022-07-27 22:02:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:The LSM policy can be reloaded, leaving the IMA LSM based rules referring* to the old, stale LSM policy. Update the IMA LSM based rules to reflect* the reloaded LSM policy.

函数原型:static void ima_lsm_update_rules(void)

返回类型:void

参数:

330  needs_update等于0
331 i小于MAX_LSM_RULES循环
332  如果 audit value
333  needs_update等于1
334  退出
337  如果非needs_update则继续下一循环
340  result等于ima_lsm_update_rule(entry)
341  如果result
342  打印错误信息("lsm rule update error %d\n", result)
343  返回
调用者
名称描述
ima_lsm_policy_change