函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:security_path_link

函数原型:static inline int security_path_link(struct dentry *old_dentry, const struct path *new_dir, struct dentry *new_dentry)

返回类型:int

参数:

类型参数名称
struct dentry *old_dentry
const struct path *new_dir
struct dentry *new_dentry
1712  返回:0
调用者
名称描述
do_linkatHardlinks 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