函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:grity_iint_find - return the iint associated with an inode

函数原型:struct integrity_iint_cache *integrity_iint_find(struct inode *inode)

返回类型:struct integrity_iint_cache

参数:

类型参数名称
struct inode *inode
61  如果非IS_IMA(inode)则返回:NULL
64  read_lock( & integrity_iint_lock)
65  iint等于__integrity_iint_find - return the iint associated with an inode
66  read_unlock( & integrity_iint_lock)
68  返回:iint
调用者
名称描述
integrity_inode_getgrity_inode_get - find or allocate an iint associated with an inode*@inode: pointer to the inode*@return: allocated iint* Caller must lock i_mutex
ima_rdwr_violation_checkma_rdwr_violation_check* Only invalidate the PCR for measured files:* - Opening a file for write when already open for read,* results in a time of measure, time of use (ToMToU) error.* - Opening a file for read when already open for write,
ima_file_freema_file_free - called on __fput()*@file: pointer to file structure being freed* Flag files that changed, based on i_version
ima_inode_post_setattrma_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
ima_reset_appraise_flags
evm_verifyxattrvm_verifyxattr - verify the integrity of the requested xattr*@dentry: object of the verify xattr*@xattr_name: requested xattr*@xattr_value: requested xattr value*@xattr_value_len: requested xattr value length* Calculate the HMAC for the given dentry and
evm_protect_xattrvm_protect_xattr - protect the EVM extended attribute* Prevent security.evm from being modified or removed without the* necessary permissions or when the existing value is invalid.* The posix xattr acls are 'system' prefixed, which normally would not
evm_reset_status
evm_is_immutable