/linux-master/security/apparmor/include/ |
H A D | mount.h | 46 const struct path *to_path);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_obj_pinning.c | 30 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 D | token.c | 51 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 D | mount.c | 487 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 D | lsm.c | 740 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 D | namespace.c | 2940 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 D | security.h | 328 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 D | lsm_hook_defs.h | 83 const struct path *to_path)
|
H A D | syscalls.h | 935 int to_dfd, const char __user *to_path,
|
/linux-master/security/landlock/ |
H A D | fs.c | 1189 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 D | security.c | 1546 * @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 D | send.c | 3529 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 D | inode.c | 2175 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 D | hooks.c | 2773 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
|