Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\syscalls.h Create Date:2022-07-28 05:58:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ksys_link

Proto:static inline long ksys_link(const char __user *oldname, const char __user *newname)

Type:long

Parameter:

TypeParameterName
const char __user *oldname
const char __user *newname
1323  Return 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
Caller
NameDescribe
maybe_link