Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:trailing_symlink

Proto:static const char *trailing_symlink(struct nameidata *nd)

Type:char

Parameter:

TypeParameterName
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  If Value for the false possibility is greater at compile time(error) Then Return ERR_PTR(error)
2248  flags |= rnal use only
2249  name = NULL
2250  s = get_link(nd)
2251  Return If s Then s Else ""
Caller
NameDescribe
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