Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\integrity\ima\ima_policy.c Create Date:2022-07-28 19:58:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static void ima_lsm_update_rules(void)

Type:void

Parameter:Nothing

330  needs_update = 0
331  When i < MAX_LSM_RULES cycle
332  If audit value Then
333  needs_update = 1
334  Break
337  If Not needs_update Then Continue
340  result = ima_lsm_update_rule(entry)
341  If result Then
342  pr_err("lsm rule update error %d\n", result)
343  Return
Caller
NameDescribe
ima_lsm_policy_change