函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fs.h Create Date:2022-07-27 06:44:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:file_dentry

函数原型:static inline struct dentry *file_dentry(const struct file *file)

返回类型:struct dentry

参数:

类型参数名称
const struct file *file
1323  返回:d_real - Return the real dentry*@dentry: the dentry to query*@inode: inode to select the dentry from multiple layers (can be NULL)* If dentry is on a union/overlay, then return the underlying, real dentry.* Otherwise return the dentry itself.
调用者
名称描述
process_measurement
ima_appraise_measurementma_appraise_measurement - appraise file measurement* Call evm_verifyxattr() to verify the integrity of 'security.ima'.* Assuming success, compare the xattr hash with the collected measurement.* Return 0 on success, error code otherwise
ima_update_xattrma_update_xattr - update 'security.ima' hash value
file_remove_privsRemove special file priviledges (suid, capabilities) when file is written* to or truncated.
fscrypt_file_openscrypt_file_open - prepare to open a possibly-encrypted regular file*@inode: the inode being opened*@filp: the struct file being set up* Currently, an encrypted regular file can only be opened if its encryption key