Searched defs:new_dir (Results 1 - 6 of 6) sorted by path

/security/apparmor/
H A Dfile.c334 * @new_dir: directory the new link will be created in (NOT NULL)
349 struct path *new_dir, struct dentry *new_dentry)
351 struct path link = { new_dir->mnt, new_dentry };
352 struct path target = { new_dir->mnt, old_dentry };
348 aa_path_link(struct aa_profile *profile, struct dentry *old_dentry, struct path *new_dir, struct dentry *new_dentry) argument
H A Dlsm.c302 static int apparmor_path_link(struct dentry *old_dentry, struct path *new_dir, argument
313 error = aa_path_link(profile, old_dentry, new_dir, new_dentry);
318 struct path *new_dir, struct dentry *new_dentry)
329 struct path new_path = { new_dir->mnt, new_dentry };
317 apparmor_path_rename(struct path *old_dir, struct dentry *old_dentry, struct path *new_dir, struct dentry *new_dentry) argument
/security/
H A Dcapability.c296 static int cap_path_link(struct dentry *old_dentry, struct path *new_dir, argument
H A Dsecurity.c447 int security_path_link(struct dentry *old_dentry, struct path *new_dir, argument
452 return security_ops->path_link(old_dentry, new_dir, new_dentry);
456 struct path *new_dir, struct dentry *new_dentry,
464 int err = security_ops->path_rename(new_dir, new_dentry,
470 return security_ops->path_rename(old_dir, old_dentry, new_dir,
556 struct inode *new_dir, struct dentry *new_dentry,
564 int err = security_ops->inode_rename(new_dir, new_dentry,
571 new_dir, new_dentry);
455 security_path_rename(struct path *old_dir, struct dentry *old_dentry, struct path *new_dir, struct dentry *new_dentry, unsigned int flags) argument
555 security_inode_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) argument
/security/selinux/
H A Dhooks.c1797 struct inode *new_dir,
1810 new_dsec = new_dir->i_security;
1823 if (old_is_dir && new_dir != old_dir) {
1795 may_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) argument
/security/tomoyo/
H A Dtomoyo.c270 * @new_dir: Pointer to "struct path".
275 static int tomoyo_path_link(struct dentry *old_dentry, struct path *new_dir, argument
278 struct path path1 = { new_dir->mnt, old_dentry };
279 struct path path2 = { new_dir->mnt, new_dentry };

Completed in 119 milliseconds