Searched refs:to_path (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.15/fs/ |
D | namespace.c | 2698 static int do_set_group(struct path *from_path, struct path *to_path) in do_set_group() argument 2704 to = real_mount(to_path->mnt); in do_set_group() 2726 if (to_path->dentry != to_path->mnt->mnt_root) in do_set_group() 3718 struct path from_path, to_path; in SYSCALL_DEFINE5() local 3746 ret = user_path_at(to_dfd, to_pathname, lflags, &to_path); in SYSCALL_DEFINE5() 3750 ret = security_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5() 3755 ret = do_set_group(&from_path, &to_path); in SYSCALL_DEFINE5() 3757 ret = do_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5() 3760 path_put(&to_path); in SYSCALL_DEFINE5()
|
/Linux-v5.15/security/landlock/ |
D | fs.c | 471 const struct path *const to_path) in hook_move_mount() argument
|
/Linux-v5.15/include/linux/ |
D | security.h | 318 int security_move_mount(const struct path *from_path, const struct path *to_path); 720 const struct path *to_path) in security_move_mount() argument
|
D | lsm_hook_defs.h | 84 const struct path *to_path)
|
D | syscalls.h | 1035 int to_dfd, const char __user *to_path,
|
/Linux-v5.15/security/ |
D | security.c | 1005 int security_move_mount(const struct path *from_path, const struct path *to_path) in security_move_mount() argument 1007 return call_int_hook(move_mount, 0, from_path, to_path); in security_move_mount()
|
/Linux-v5.15/fs/btrfs/ |
D | send.c | 3202 struct fs_path *to_path = NULL; in apply_dir_move() local 3266 to_path = name; in apply_dir_move() 3268 ret = get_cur_path(sctx, pm->ino, pm->gen, to_path); in apply_dir_move() 3272 ret = send_rename(sctx, from_path, to_path); in apply_dir_move() 3336 fs_path_free(to_path); in apply_dir_move()
|
/Linux-v5.15/fs/cifs/ |
D | inode.c | 2010 const char *to_path) argument 2030 rc = server->ops->rename(xid, tcon, from_path, to_path, cifs_sb);
|
/Linux-v5.15/security/selinux/ |
D | hooks.c | 2847 const struct path *to_path) in selinux_move_mount() argument 2851 return path_has_perm(cred, to_path, FILE__MOUNTON); in selinux_move_mount()
|