函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:do_symlinkat

函数原型:long do_symlinkat(const char __user *oldname, int newdfd, const char __user *newname)

返回类型:long

参数:

类型参数名称
const char __user *oldname
intnewdfd
const char __user *newname
4084  lookup_flags等于0
4086  from等于getname(oldname)
4087  如果是错误则返回:错误
4089  retry :
4090  dentry等于user_path_create(newdfd, newname, & path, lookup_flags)
4091  error等于错误
4092  如果是错误则转到:out_putname
4095  error等于security_path_symlink( & path, dentry, pointer to actual string )
4096  如果非errorerror等于vfs_symlink( Where the name belongs to - NULL is * negative , dentry, pointer to actual string )
4098  done_path_create( & path, dentry)
4099  如果ry_estale - determine whether the caller should retry an operation*@error: the error that would currently be returned*@flags: flags being used for next lookup attempt* Check to see if the error code was -ESTALE, and then determine whether
4100  lookup_flags或等于ll ->d_revalidate() to trust no cache
4101  转到:retry
4103  out_putname :
4104  putname(from)
4105  返回:error
调用者
名称描述
SYSCALL_DEFINE3
SYSCALL_DEFINE2
ksys_symlink