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

/linux-master/security/apparmor/include/
H A Dmount.h45 struct aa_label *label, const struct path *from_path,
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_obj_pinning.c29 static inline int sys_move_mount(int from_dfd, const char *from_path, argument
33 return syscall(__NR_move_mount, from_dfd, from_path, to_dfd, to_path, ms_flags);
H A Dtoken.c50 static inline int sys_move_mount(int from_dfd, const char *from_path, argument
54 return syscall(__NR_move_mount, from_dfd, from_path, to_dfd, to_path, flags);
/linux-master/security/apparmor/
H A Dmount.c486 struct aa_label *label, const struct path *from_path,
494 AA_BUG(!from_path);
503 if (!our_mnt(from_path->mnt))
505 from_path = NULL;
508 from_path, from_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.c739 static int apparmor_move_mount(const struct path *from_path, argument
747 error = aa_move_mount(current_cred(), label, from_path,
/linux-master/fs/
H A Dnamespace.c2940 static int do_set_group(struct path *from_path, struct path *to_path) argument
2945 from = real_mount(from_path->mnt);
2966 if (!path_mounted(from_path))
4076 struct path from_path, to_path; local
4099 ret = user_path_at(from_dfd, from_pathname, lflags, &from_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,
4125 path_put(&from_path);
/linux-master/fs/btrfs/
H A Dsend.c3528 struct fs_path *from_path = NULL; local
3542 from_path = fs_path_alloc();
3543 if (!name || !from_path) {
3557 pm->gen, from_path);
3564 from_path);
3567 ret = fs_path_add_path(from_path, name);
3599 ret = send_rename(sctx, from_path, to_path);
3661 fs_path_free(from_path);
/linux-master/include/linux/
H A Dsecurity.h328 int security_move_mount(const struct path *from_path, const struct path *to_path);
760 static inline int security_move_mount(const struct path *from_path, argument
H A Dlsm_hook_defs.h82 LSM_HOOK(int, 0, move_mount, const struct path *from_path,
H A Dsyscalls.h934 asmlinkage long sys_move_mount(int from_dfd, const char __user *from_path,
/linux-master/security/landlock/
H A Dfs.c1188 static int hook_move_mount(const struct path *const from_path, argument
/linux-master/security/
H A Dsecurity.c1545 * @from_path: source mount point
1552 int security_move_mount(const struct path *from_path, argument
1555 return call_int_hook(move_mount, from_path, to_path);
/linux-master/fs/smb/client/
H A Dinode.c2174 const char *from_path, struct dentry *to_dentry,
2199 from_path, to_path, cifs_sb);
2225 .path = from_path,
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.c2772 static int selinux_move_mount(const struct path *from_path, argument

Completed in 273 milliseconds