函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\syscalls.h Create Date:2022-07-27 06:57:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ksys_link

函数原型:static inline long ksys_link(const char __user *oldname, const char __user *newname)

返回类型:long

参数:

类型参数名称
const char __user *oldname
const char __user *newname
1323  返回:Hardlinks are often used in delicate situations. We avoid* security-related surprises by not following symlinks on the* newname. --KAB* We don't follow them on the oldname either to be compatible* with linux 2.0, and to avoid hard-linking to directories
调用者
名称描述
maybe_link