Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/
Dnamespace.c3615 struct path from_path, to_path; in SYSCALL_DEFINE5() local
3643 ret = user_path_at(to_dfd, to_pathname, lflags, &to_path); in SYSCALL_DEFINE5()
3647 ret = security_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5()
3651 ret = do_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5()
3654 path_put(&to_path); in SYSCALL_DEFINE5()
/kernel/linux/linux-5.10/include/linux/
Dsecurity.h314 int security_move_mount(const struct path *from_path, const struct path *to_path);
697 const struct path *to_path) in security_move_mount() argument
Dlsm_hook_defs.h82 const struct path *to_path)
Dsyscalls.h1024 int to_dfd, const char __user *to_path,
/kernel/linux/linux-5.10/security/
Dsecurity.c975 int security_move_mount(const struct path *from_path, const struct path *to_path) in security_move_mount() argument
977 return call_int_hook(move_mount, 0, from_path, to_path); in security_move_mount()
/kernel/linux/linux-5.10/fs/btrfs/
Dsend.c3229 struct fs_path *to_path = NULL; in apply_dir_move() local
3293 to_path = name; in apply_dir_move()
3295 ret = get_cur_path(sctx, pm->ino, pm->gen, to_path); in apply_dir_move()
3299 ret = send_rename(sctx, from_path, to_path); in apply_dir_move()
3363 fs_path_free(to_path); in apply_dir_move()
/kernel/linux/linux-5.10/fs/cifs/
Dinode.c2000 const char *to_path) argument
2020 rc = server->ops->rename(xid, tcon, from_path, to_path, cifs_sb);
/kernel/linux/linux-5.10/security/selinux/
Dhooks.c2750 const struct path *to_path) in selinux_move_mount() argument
2754 return path_has_perm(cred, to_path, FILE__MOUNTON); in selinux_move_mount()