函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ma_inode_post_setattr - reflect file metadata changes*@dentry: pointer to the affected dentry* Changes to a dentry's metadata might result in needing to appraise.* This function is called from notify_change(), which expects the caller

函数原型:void ima_inode_post_setattr(struct dentry *dentry)

返回类型:void

参数:

类型参数名称
struct dentry *dentry
491  inode等于d_backing_inode - Get upper or lower inode we should be using*@upper: The upper layer* This is the helper that should be used to get at the inode that will be used* if this dentry were to be opened as a file. The inode may be on the upper
495  如果非ima_policy_flag按位与IMA_APPRAISE的值或非S_ISREG(i_mode)或非i_opflags按位与IOP_XATTR的值则返回
499  action等于ma_must_appraise - set appraise flag* Return 1 to appraise or hash
500  如果非action__vfs_removexattr(dentry, XATTR_NAME_IMA)
502  iint等于grity_iint_find - return the iint associated with an inode
503  如果iint
504  设置内存位
505  如果非actionlear_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).