Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\security.c Create Date:2022-07-28 18:39:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:security_inode_rename

Proto:int security_inode_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags)

Type:int

Parameter:

TypeParameterName
struct inode *old_dir
struct dentry *old_dentry
struct inode *new_dir
struct dentry *new_dentry
unsigned intflags
1168  If Value for the false possibility is greater at compile time(IS_PRIVATE(d_backing_inode - Get upper or lower inode we should be using*@upper: The upper layer* This is the helper that should be used to get at the inode that will be used* if this dentry were to be opened as a file. The inode may be on the upper) || (d_is_positive(new_dentry) && IS_PRIVATE(d_backing_inode - Get upper or lower inode we should be using*@upper: The upper layer* This is the helper that should be used to get at the inode that will be used* if this dentry were to be opened as a file. The inode may be on the upper))) Then Return 0
1172  If flags & Exchange source and dest Then
1173  err = call_int_hook(inode_rename, 0, new_dir, new_dentry, old_dir, old_dentry)
1175  If err Then Return err
1179  Return call_int_hook(inode_rename, 0, old_dir, old_dentry, new_dir, new_dentry)