Home
last modified time | relevance | path

Searched refs:to_path (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/fs/
Dnamespace.c3590 struct path from_path, to_path; in SYSCALL_DEFINE5() local
3618 ret = user_path_at(to_dfd, to_pathname, lflags, &to_path); in SYSCALL_DEFINE5()
3622 ret = security_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5()
3626 ret = do_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5()
3629 path_put(&to_path); in SYSCALL_DEFINE5()
/Linux-v5.10/include/linux/
Dsecurity.h311 int security_move_mount(const struct path *from_path, const struct path *to_path);
694 const struct path *to_path) in security_move_mount() argument
Dlsm_hook_defs.h82 const struct path *to_path)
Dsyscalls.h1000 int to_dfd, const char __user *to_path,
/Linux-v5.10/security/
Dsecurity.c959 int security_move_mount(const struct path *from_path, const struct path *to_path) in security_move_mount() argument
961 return call_int_hook(move_mount, 0, from_path, to_path); in security_move_mount()
/Linux-v5.10/fs/btrfs/
Dsend.c3219 struct fs_path *to_path = NULL; in apply_dir_move() local
3280 to_path = name; in apply_dir_move()
3282 ret = get_cur_path(sctx, pm->ino, pm->gen, to_path); in apply_dir_move()
3286 ret = send_rename(sctx, from_path, to_path); in apply_dir_move()
3350 fs_path_free(to_path); in apply_dir_move()
/Linux-v5.10/fs/cifs/
Dinode.c2001 const char *to_path) argument
2021 rc = server->ops->rename(xid, tcon, from_path, to_path, cifs_sb);
/Linux-v5.10/security/selinux/
Dhooks.c2740 const struct path *to_path) in selinux_move_mount() argument
2744 return path_has_perm(cred, to_path, FILE__MOUNTON); in selinux_move_mount()