Home
last modified time | relevance | path

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

/security/landlock/
Dfs.c617 static int hook_path_rename(const struct path *const old_dir, in hook_path_rename() argument
628 if (old_dir->dentry != new_dir->dentry) in hook_path_rename()
635 dom, old_dir, in hook_path_rename()
/security/
Dsecurity.c1190 int security_path_rename(const struct path *old_dir, struct dentry *old_dentry, in security_path_rename() argument
1200 old_dir, old_dentry); in security_path_rename()
1205 return call_int_hook(path_rename, 0, old_dir, old_dentry, new_dir, in security_path_rename()
1290 int security_inode_rename(struct inode *old_dir, struct dentry *old_dentry, in security_inode_rename() argument
1300 old_dir, old_dentry); in security_inode_rename()
1305 return call_int_hook(inode_rename, 0, old_dir, old_dentry, in security_inode_rename()
/security/apparmor/
Dlsm.c356 static int apparmor_path_rename(const struct path *old_dir, struct dentry *old_dentry, in apparmor_path_rename() argument
367 struct user_namespace *mnt_userns = mnt_user_ns(old_dir->mnt); in apparmor_path_rename()
368 struct path old_path = { .mnt = old_dir->mnt, in apparmor_path_rename()
/security/selinux/
Dhooks.c1923 static inline int may_rename(struct inode *old_dir, in may_rename() argument
1935 old_dsec = inode_security(old_dir); in may_rename()
1953 if (old_is_dir && new_dir != old_dir) { in may_rename()