Searched refs:to_path (Results 1 - 14 of 14) sorted by relevance

/linux-master/security/apparmor/include/
H A Dmount.h46 const struct path *to_path);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_obj_pinning.c30 int to_dfd, const char *to_path,
33 return syscall(__NR_move_mount, from_dfd, from_path, to_dfd, to_path, ms_flags);
29 sys_move_mount(int from_dfd, const char *from_path, int to_dfd, const char *to_path, unsigned int ms_flags) argument
H A Dtoken.c51 int to_dfd, const char *to_path,
54 return syscall(__NR_move_mount, from_dfd, from_path, to_dfd, to_path, flags);
50 sys_move_mount(int from_dfd, const char *from_path, int to_dfd, const char *to_path, unsigned flags) argument
/linux-master/security/apparmor/
H A Dmount.c487 const struct path *to_path)
495 AA_BUG(!to_path);
507 match_mnt(subj_cred, profile, to_path, to_buffer,
485 aa_move_mount(const struct cred *subj_cred, struct aa_label *label, const struct path *from_path, const struct path *to_path) argument
H A Dlsm.c740 const struct path *to_path)
748 to_path);
739 apparmor_move_mount(const struct path *from_path, const struct path *to_path) argument
/linux-master/fs/
H A Dnamespace.c2940 static int do_set_group(struct path *from_path, struct path *to_path) argument
2946 to = real_mount(to_path->mnt);
2968 if (!path_mounted(to_path))
4076 struct path from_path, to_path; local
4108 ret = user_path_at(to_dfd, to_pathname, lflags, &to_path);
4112 ret = security_move_mount(&from_path, &to_path);
4117 ret = do_set_group(&from_path, &to_path);
4119 ret = do_move_mount(&from_path, &to_path,
4123 path_put(&to_path);
/linux-master/include/linux/
H A Dsecurity.h328 int security_move_mount(const struct path *from_path, const struct path *to_path);
761 const struct path *to_path)
760 security_move_mount(const struct path *from_path, const struct path *to_path) argument
H A Dlsm_hook_defs.h83 const struct path *to_path)
H A Dsyscalls.h935 int to_dfd, const char __user *to_path,
/linux-master/security/landlock/
H A Dfs.c1189 const struct path *const to_path)
1188 hook_move_mount(const struct path *const from_path, const struct path *const to_path) argument
/linux-master/security/
H A Dsecurity.c1546 * @to_path: destination mount point
1553 const struct path *to_path)
1555 return call_int_hook(move_mount, from_path, to_path);
1552 security_move_mount(const struct path *from_path, const struct path *to_path) argument
/linux-master/fs/btrfs/
H A Dsend.c3529 struct fs_path *to_path = NULL; local
3593 to_path = name;
3595 ret = get_cur_path(sctx, pm->ino, pm->gen, to_path);
3599 ret = send_rename(sctx, from_path, to_path);
3662 fs_path_free(to_path);
/linux-master/fs/smb/client/
H A Dinode.c2175 const char *to_path)
2199 from_path, to_path, cifs_sb);
2173 cifs_do_rename(const unsigned int xid, struct dentry *from_dentry, const char *from_path, struct dentry *to_dentry, const char *to_path) argument
/linux-master/security/selinux/
H A Dhooks.c2773 const struct path *to_path)
2777 return path_has_perm(cred, to_path, FILE__MOUNTON);
2772 selinux_move_mount(const struct path *from_path, const struct path *to_path) argument

Completed in 277 milliseconds