Home
last modified time | relevance | path

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

/security/tomoyo/
A Dtomoyo.c267 struct path path1 = { .mnt = new_dir->mnt, .dentry = old_dentry }; in tomoyo_path_link() local
270 return tomoyo_path2_perm(TOMOYO_TYPE_LINK, &path1, &path2); in tomoyo_path_link()
290 struct path path1 = { .mnt = old_parent->mnt, .dentry = old_dentry }; in tomoyo_path_rename() local
295 &path1); in tomoyo_path_rename()
300 return tomoyo_path2_perm(TOMOYO_TYPE_RENAME, &path1, &path2); in tomoyo_path_rename()
A Dfile.c713 .path1 = { .mnt = path->mnt, .dentry = path->dentry }, in tomoyo_path_number_perm()
761 .path1 = { .mnt = path->mnt, .dentry = path->dentry }, in tomoyo_check_open_permission()
807 .path1 = { .mnt = path->mnt, .dentry = path->dentry }, in tomoyo_path_perm()
864 .path1 = { .mnt = path->mnt, .dentry = path->dentry }, in tomoyo_mkdev_perm()
903 int tomoyo_path2_perm(const u8 operation, const struct path *path1, in tomoyo_path2_perm() argument
911 .path1 = { .mnt = path1->mnt, .dentry = path1->dentry }, in tomoyo_path2_perm()
922 if (!tomoyo_get_realpath(&buf1, path1) || in tomoyo_path2_perm()
928 if (!d_is_dir(path1->dentry)) in tomoyo_path2_perm()
A Dmount.c140 obj.path1 = path; in tomoyo_mount_acl()
175 if (obj.path1.dentry) in tomoyo_mount_acl()
176 path_put(&obj.path1); in tomoyo_mount_acl()
A Dcommon.h591 struct path path1; member
987 int tomoyo_path2_perm(const u8 operation, const struct path *path1,
A Ddomain.c724 ee->obj.path1 = bprm->file->f_path; in tomoyo_find_next_domain()
A Dcondition.c723 dentry = obj->path1.dentry; in tomoyo_get_attributes()

Completed in 15 milliseconds