Searched refs:old_dir (Results 1 – 4 of 4) sorted by relevance
/security/ |
D | security.c | 1209 int security_path_rename(const struct path *old_dir, struct dentry *old_dentry, in security_path_rename() argument 1217 return call_int_hook(path_rename, 0, old_dir, old_dentry, new_dir, in security_path_rename() 1302 int security_inode_rename(struct inode *old_dir, struct dentry *old_dentry, in security_inode_rename() argument 1312 old_dir, old_dentry); in security_inode_rename() 1317 return call_int_hook(inode_rename, 0, old_dir, old_dentry, in security_inode_rename()
|
/security/apparmor/ |
D | lsm.c | 356 static int apparmor_path_rename(const struct path *old_dir, struct dentry *old_dentry, in apparmor_path_rename() argument 370 struct user_namespace *mnt_userns = mnt_user_ns(old_dir->mnt); in apparmor_path_rename() 371 struct path old_path = { .mnt = old_dir->mnt, in apparmor_path_rename()
|
/security/landlock/ |
D | fs.c | 1097 static int hook_path_rename(const struct path *const old_dir, in hook_path_rename() argument
|
/security/selinux/ |
D | hooks.c | 1851 static inline int may_rename(struct inode *old_dir, in may_rename() argument 1863 old_dsec = inode_security(old_dir); in may_rename() 1881 if (old_is_dir && new_dir != old_dir) { in may_rename()
|