Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fs.h Create Date:2022-07-28 05:42:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:file_dentry

Proto:static inline struct dentry *file_dentry(const struct file *file)

Type:struct dentry

Parameter:

TypeParameterName
const struct file *file
1323  Return 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.
Caller
NameDescribe
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