Home
last modified time | relevance | path

Searched refs:new_dir (Results 1 – 7 of 7) sorted by relevance

/security/landlock/
A Dfs.c1131 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 Dtomoyo.c264 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 Dfile.h96 struct dentry *old_dentry, const struct path *new_dir,
/security/apparmor/
A Dfile.c427 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 Dlsm.c363 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 Dsecurity.c1997 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 Dhooks.c1901 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