Home
last modified time | relevance | path

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

/security/tomoyo/
Dtomoyo.c258 static int tomoyo_path_link(struct dentry *old_dentry, const struct path *new_dir, in tomoyo_path_link() argument
261 struct path path1 = { .mnt = new_dir->mnt, .dentry = old_dentry }; in tomoyo_path_link()
262 struct path path2 = { .mnt = new_dir->mnt, .dentry = new_dentry }; in tomoyo_path_link()
/security/apparmor/
Dfile.c465 const struct path *new_dir, struct dentry *new_dentry) in aa_path_link() argument
467 struct path link = { .mnt = new_dir->mnt, .dentry = new_dentry }; in aa_path_link()
468 struct path target = { .mnt = new_dir->mnt, .dentry = old_dentry }; in aa_path_link()
Dlsm.c326 static int apparmor_path_link(struct dentry *old_dentry, const struct path *new_dir, in apparmor_path_link() argument
337 error = aa_path_link(label, old_dentry, new_dir, new_dentry); in apparmor_path_link()
344 const struct path *new_dir, struct dentry *new_dentry) in apparmor_path_rename() argument
356 struct path new_path = { .mnt = new_dir->mnt, in apparmor_path_rename()
/security/
Dsecurity.c1056 int security_path_link(struct dentry *old_dentry, const struct path *new_dir, in security_path_link() argument
1061 return call_int_hook(path_link, 0, old_dentry, new_dir, new_dentry); in security_path_link()
1065 const struct path *new_dir, struct dentry *new_dentry, in security_path_rename() argument
1073 int err = call_int_hook(path_rename, 0, new_dir, new_dentry, in security_path_rename()
1079 return call_int_hook(path_rename, 0, old_dir, old_dentry, new_dir, in security_path_rename()
1166 struct inode *new_dir, struct dentry *new_dentry, in security_inode_rename() argument
1174 int err = call_int_hook(inode_rename, 0, new_dir, new_dentry, in security_inode_rename()
1181 new_dir, new_dentry); in security_inode_rename()
/security/apparmor/include/
Dfile.h197 const struct path *new_dir, struct dentry *new_dentry);
/security/selinux/
Dhooks.c1908 struct inode *new_dir, in may_rename() argument
1921 new_dsec = inode_security(new_dir); in may_rename()
1936 if (old_is_dir && new_dir != old_dir) { in may_rename()