函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:security_inode_readlink

函数原型:int security_inode_readlink(struct dentry *dentry)

返回类型:int

参数:

类型参数名称
struct dentry *dentry
1185  如果此条件成立可能性小(为编译器优化)(IS_PRIVATE(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))则返回:0
1187  返回:call_int_hook(inode_readlink, 0, dentry)
调用者
名称描述
vfs_get_linkvfs_get_link - get symlink body*@dentry: dentry on which to get symbolic link*@done: caller needs to free returned data with this* Calls security hook and i_op->get_link() on the supplied inode.* It does not touch atime