Home
last modified time | relevance | path

Searched refs:old_dir (Results 1 – 3 of 3) sorted by relevance

/security/
Dsecurity.c1064 int security_path_rename(const struct path *old_dir, struct dentry *old_dentry, in security_path_rename() argument
1074 old_dir, old_dentry); in security_path_rename()
1079 return call_int_hook(path_rename, 0, old_dir, old_dentry, new_dir, in security_path_rename()
1165 int security_inode_rename(struct inode *old_dir, struct dentry *old_dentry, in security_inode_rename() argument
1175 old_dir, old_dentry); in security_inode_rename()
1180 return call_int_hook(inode_rename, 0, old_dir, old_dentry, in security_inode_rename()
/security/apparmor/
Dlsm.c343 static int apparmor_path_rename(const struct path *old_dir, struct dentry *old_dentry, in apparmor_path_rename() argument
354 struct path old_path = { .mnt = old_dir->mnt, in apparmor_path_rename()
/security/selinux/
Dhooks.c1906 static inline int may_rename(struct inode *old_dir, in may_rename() argument
1918 old_dsec = inode_security(old_dir); in may_rename()
1936 if (old_is_dir && new_dir != old_dir) { in may_rename()