函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namei.c Create Date:2022-07-29 10:34:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:trailing_symlink

函数原型:static const char *trailing_symlink(struct nameidata *nd)

返回类型:char

参数:

类型参数名称
struct nameidata *nd
2245  error等于may_follow_link - Check symlink following for unsafe situations*@nd: nameidata pathwalk data* In the case of the sysctl_protected_symlinks sysctl being enabled,* CAP_DAC_OVERRIDE needs to be specifically ignored if the symlink is
2246  如果此条件成立可能性小(为编译器优化)(error)则返回:错误号
2248  flags或等于rnal use only
2249  name = NULL
2250  s等于get_link(nd)
2251  返回:如果ss否则""
调用者
名称描述
path_lookupatReturns 0 and nd will be valid on success; Retuns error, otherwise.
path_mountpointpath_mountpoint - look up a path to be umounted*@nd: lookup context*@flags: lookup flags*@path: pointer to container for result* Look up the given name, but don't attempt to revalidate the last component.
path_openat