Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vfs_symlink

Proto:int vfs_symlink(struct inode *dir, struct dentry *dentry, const char *oldname)

Type:int

Parameter:

TypeParameterName
struct inode *dir
struct dentry *dentry
const char *oldname
4058  error = Check whether we can create an object with dentry child in directory* dir.* 1. We can't do it if child already exists (open has special treatment for* this case, but since we are inlined it's OK)* 2
4060  If error Then Return error
4063  If Not symlink Then Return -EPERM
4066  error = security_inode_symlink(dir, dentry, oldname)
4067  If error Then Return error
4070  error = symlink(dir, dentry, oldname)
4071  If Not error Then snotify_create - 'name' was linked in
4073  Return error
Caller
NameDescribe
do_symlinkat