Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ima_reset_appraise_flags

Proto:static void ima_reset_appraise_flags(struct inode *inode, int digsig)

Type:void

Parameter:

TypeParameterName
struct inode *inode
intdigsig
530  If Not (ima_policy_flag & IMA_APPRAISE) || Not S_ISREG(i_mode) Then Return
533  iint = grity_iint_find - return the iint associated with an inode
534  If Not iint Then Return
536  measured_pcrs = 0
537  Atomically set a bit in memory
538  If digsig Then Atomically set a bit in memory
540  Else lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).
Caller
NameDescribe
ima_inode_setxattr
ima_inode_removexattr