Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:security_path_unlink

Proto:static inline int security_path_unlink(const struct path *dir, struct dentry *dentry)

Type:int

Parameter:

TypeParameterName
const struct path *dir
struct dentry *dentry
1677  Return 0
Caller
NameDescribe
do_unlinkatMake sure that the actual truncation of the file will occur outside its* directory's i_mutex. Truncate can take a long time if there is a lot of* writeout happening, and we don't want to prevent access to the directory* while waiting on the I/O.