Searched refs:to_path (Results 1 – 9 of 9) sorted by relevance
/linux-6.3-rc2/fs/ |
A D | namespace.c | 2752 static int do_set_group(struct path *from_path, struct path *to_path) in do_set_group() argument 2758 to = real_mount(to_path->mnt); in do_set_group() 2780 if (to_path->dentry != to_path->mnt->mnt_root) in do_set_group() 3773 struct path from_path, to_path; in SYSCALL_DEFINE5() local 3801 ret = user_path_at(to_dfd, to_pathname, lflags, &to_path); in SYSCALL_DEFINE5() 3805 ret = security_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5() 3810 ret = do_set_group(&from_path, &to_path); in SYSCALL_DEFINE5() 3812 ret = do_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5() 3815 path_put(&to_path); in SYSCALL_DEFINE5()
|
/linux-6.3-rc2/security/landlock/ |
A D | fs.c | 1059 const struct path *const to_path) in hook_move_mount() argument
|
/linux-6.3-rc2/include/linux/ |
A D | security.h | 320 int security_move_mount(const struct path *from_path, const struct path *to_path); 727 const struct path *to_path) in security_move_mount() argument
|
A D | lsm_hook_defs.h | 82 const struct path *to_path)
|
A D | syscalls.h | 1038 int to_dfd, const char __user *to_path,
|
/linux-6.3-rc2/security/ |
A D | security.c | 1041 int security_move_mount(const struct path *from_path, const struct path *to_path) in security_move_mount() argument 1043 return call_int_hook(move_mount, 0, from_path, to_path); in security_move_mount()
|
/linux-6.3-rc2/fs/btrfs/ |
A D | send.c | 3506 struct fs_path *to_path = NULL; in apply_dir_move() local 3570 to_path = name; in apply_dir_move() 3572 ret = get_cur_path(sctx, pm->ino, pm->gen, to_path); in apply_dir_move() 3576 ret = send_rename(sctx, from_path, to_path); in apply_dir_move() 3639 fs_path_free(to_path); in apply_dir_move()
|
/linux-6.3-rc2/fs/cifs/ |
A D | inode.c | 2075 const char *to_path) argument 2098 rc = server->ops->rename(xid, tcon, from_path, to_path, cifs_sb);
|
/linux-6.3-rc2/security/selinux/ |
A D | hooks.c | 2754 const struct path *to_path) in selinux_move_mount() argument 2758 return path_has_perm(cred, to_path, FILE__MOUNTON); in selinux_move_mount()
|
Completed in 56 milliseconds