Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_obj_pinning.c30 int to_dfd, const char *to_path, in sys_move_mount() argument
33 return syscall(__NR_move_mount, from_dfd, from_path, to_dfd, to_path, ms_flags); in sys_move_mount()
/openbmc/linux/security/apparmor/include/
H A Dmount.h46 const struct path *to_path);
/openbmc/linux/security/apparmor/
H A Dmount.c487 const struct path *to_path) in aa_move_mount() argument
495 AA_BUG(!to_path); in aa_move_mount()
507 match_mnt(subj_cred, profile, to_path, to_buffer, in aa_move_mount()
H A Dlsm.c622 const struct path *to_path) in apparmor_move_mount() argument
630 to_path); in apparmor_move_mount()
/openbmc/linux/fs/
H A Dnamespace.c2943 static int do_set_group(struct path *from_path, struct path *to_path) in do_set_group() argument
2949 to = real_mount(to_path->mnt); in do_set_group()
2971 if (!path_mounted(to_path)) in do_set_group()
4082 struct path from_path, to_path; in SYSCALL_DEFINE5() local
4114 ret = user_path_at(to_dfd, to_pathname, lflags, &to_path); in SYSCALL_DEFINE5()
4118 ret = security_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5()
4123 ret = do_set_group(&from_path, &to_path); in SYSCALL_DEFINE5()
4125 ret = do_move_mount(&from_path, &to_path, in SYSCALL_DEFINE5()
4129 path_put(&to_path); in SYSCALL_DEFINE5()
/openbmc/linux/security/landlock/
H A Dfs.c1067 const struct path *const to_path) in hook_move_mount() argument
/openbmc/linux/include/linux/
H A Dsecurity.h322 int security_move_mount(const struct path *from_path, const struct path *to_path);
733 const struct path *to_path) in security_move_mount() argument
H A Dlsm_hook_defs.h83 const struct path *to_path)
H A Dsyscalls.h923 int to_dfd, const char __user *to_path,
/openbmc/linux/security/
H A Dsecurity.c1460 const struct path *to_path) in security_move_mount() argument
1462 return call_int_hook(move_mount, 0, from_path, to_path); in security_move_mount()
/openbmc/linux/fs/btrfs/
H A Dsend.c3531 struct fs_path *to_path = NULL; in apply_dir_move() local
3595 to_path = name; in apply_dir_move()
3597 ret = get_cur_path(sctx, pm->ino, pm->gen, to_path); in apply_dir_move()
3601 ret = send_rename(sctx, from_path, to_path); in apply_dir_move()
3664 fs_path_free(to_path); in apply_dir_move()
/openbmc/linux/fs/smb/client/
H A Dinode.c2281 const char *to_path)
2305 from_path, to_path, cifs_sb);
2268 cifs_do_rename(const unsigned int xid,struct dentry * from_dentry,const char * from_path,struct dentry * to_dentry,const char * to_path) global() argument
/openbmc/linux/security/selinux/
H A Dhooks.c2758 const struct path *to_path) in selinux_move_mount() argument
2762 return path_has_perm(cred, to_path, FILE__MOUNTON); in selinux_move_mount()