Searched refs:new_dir (Results 1 – 7 of 7) sorted by relevance
| /security/landlock/ |
| A D | fs.c | 1131 const struct path *const new_dir, in current_check_refer_path() argument 1166 if (old_dentry->d_parent == new_dir->dentry) { in current_check_refer_path() 1175 if (is_access_to_paths_allowed(subject->domain, new_dir, in current_check_refer_path() 1189 mnt_dir.mnt = new_dir->mnt; in current_check_refer_path() 1190 mnt_dir.dentry = new_dir->mnt->mnt_root; in current_check_refer_path() 1206 new_dir->dentry, in current_check_refer_path() 1230 request2.audit.u.path.dentry = new_dir->dentry; in current_check_refer_path() 1511 const struct path *const new_dir, in hook_path_link() argument 1514 return current_check_refer_path(old_dentry, new_dir, new_dentry, false, in hook_path_link() 1520 const struct path *const new_dir, in hook_path_rename() argument [all …]
|
| /security/tomoyo/ |
| A D | tomoyo.c | 264 static int tomoyo_path_link(struct dentry *old_dentry, const struct path *new_dir, in tomoyo_path_link() argument 267 struct path path1 = { .mnt = new_dir->mnt, .dentry = old_dentry }; in tomoyo_path_link() 268 struct path path2 = { .mnt = new_dir->mnt, .dentry = new_dentry }; in tomoyo_path_link()
|
| /security/apparmor/include/ |
| A D | file.h | 96 struct dentry *old_dentry, const struct path *new_dir,
|
| /security/apparmor/ |
| A D | file.c | 427 const struct path *new_dir, struct dentry *new_dentry) in aa_path_link() argument 429 struct path link = { .mnt = new_dir->mnt, .dentry = new_dentry }; in aa_path_link() 430 struct path target = { .mnt = new_dir->mnt, .dentry = old_dentry }; in aa_path_link()
|
| A D | lsm.c | 363 static int apparmor_path_link(struct dentry *old_dentry, const struct path *new_dir, in apparmor_path_link() argument 374 error = aa_path_link(current_cred(), label, old_dentry, new_dir, in apparmor_path_link() 382 const struct path *new_dir, struct dentry *new_dentry, in apparmor_path_rename() argument 399 struct path new_path = { .mnt = new_dir->mnt, in apparmor_path_rename()
|
| /security/ |
| A D | security.c | 1997 int security_path_link(struct dentry *old_dentry, const struct path *new_dir, in security_path_link() argument 2002 return call_int_hook(path_link, old_dentry, new_dir, new_dentry); in security_path_link() 2018 const struct path *new_dir, struct dentry *new_dentry, in security_path_rename() argument 2026 return call_int_hook(path_rename, old_dir, old_dentry, new_dir, in security_path_rename() 2253 struct inode *new_dir, struct dentry *new_dentry, in security_inode_rename() argument 2262 int err = call_int_hook(inode_rename, new_dir, new_dentry, in security_inode_rename() 2269 new_dir, new_dentry); in security_inode_rename()
|
| /security/selinux/ |
| A D | hooks.c | 1901 struct inode *new_dir, in may_rename() argument 1914 new_dsec = inode_security(new_dir); in may_rename() 1927 if (old_is_dir && new_dir != old_dir) { in may_rename()
|
Completed in 37 milliseconds