Searched refs:new_dir (Results 1 – 7 of 7) sorted by relevance
/security/landlock/ |
D | fs.c | 590 const struct path *const new_dir, in hook_path_link() argument 599 if (old_dentry->d_parent != new_dir->dentry) in hook_path_link() 605 dom, new_dir, in hook_path_link() 619 const struct path *const new_dir, in hook_path_rename() argument 628 if (old_dir->dentry != new_dir->dentry) in hook_path_rename()
|
/security/tomoyo/ |
D | tomoyo.c | 251 static int tomoyo_path_link(struct dentry *old_dentry, const struct path *new_dir, in tomoyo_path_link() argument 254 struct path path1 = { .mnt = new_dir->mnt, .dentry = old_dentry }; in tomoyo_path_link() 255 struct path path2 = { .mnt = new_dir->mnt, .dentry = new_dentry }; in tomoyo_path_link()
|
/security/apparmor/ |
D | file.c | 458 const struct path *new_dir, struct dentry *new_dentry) in aa_path_link() argument 460 struct path link = { .mnt = new_dir->mnt, .dentry = new_dentry }; in aa_path_link() 461 struct path target = { .mnt = new_dir->mnt, .dentry = old_dentry }; in aa_path_link()
|
D | lsm.c | 339 static int apparmor_path_link(struct dentry *old_dentry, const struct path *new_dir, in apparmor_path_link() argument 350 error = aa_path_link(label, old_dentry, new_dir, new_dentry); in apparmor_path_link() 357 const struct path *new_dir, struct dentry *new_dentry) in apparmor_path_rename() argument 370 struct path new_path = { .mnt = new_dir->mnt, in apparmor_path_rename()
|
/security/ |
D | security.c | 1182 int security_path_link(struct dentry *old_dentry, const struct path *new_dir, in security_path_link() argument 1187 return call_int_hook(path_link, 0, old_dentry, new_dir, new_dentry); in security_path_link() 1191 const struct path *new_dir, struct dentry *new_dentry, in security_path_rename() argument 1199 int err = call_int_hook(path_rename, 0, new_dir, new_dentry, in security_path_rename() 1205 return call_int_hook(path_rename, 0, old_dir, old_dentry, new_dir, in security_path_rename() 1291 struct inode *new_dir, struct dentry *new_dentry, in security_inode_rename() argument 1299 int err = call_int_hook(inode_rename, 0, new_dir, new_dentry, in security_inode_rename() 1306 new_dir, new_dentry); in security_inode_rename()
|
/security/apparmor/include/ |
D | file.h | 197 const struct path *new_dir, struct dentry *new_dentry);
|
/security/selinux/ |
D | hooks.c | 1925 struct inode *new_dir, in may_rename() argument 1938 new_dsec = inode_security(new_dir); in may_rename() 1953 if (old_is_dir && new_dir != old_dir) { in may_rename()
|