函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ima_lsm_update_rule

函数原型:static int ima_lsm_update_rule(struct ima_rule_entry *entry)

返回类型:int

参数:

类型参数名称
struct ima_rule_entry *entry
308  nentry等于ima_lsm_copy_rule(entry)
309  如果非nentry则返回:负ENOMEM
312  更新RCU锁项
313  Wait for a grace period to elapse. But it is illegal to invoke* synchronize_rcu() from within an RCU read-side critical section.* Therefore, any legal call to synchronize_rcu() is a quiescent
314  ima_lsm_free_rule(entry)
316  返回:0
调用者
名称描述
ima_lsm_update_rulesThe 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.