/linux-master/security/apparmor/include/ |
H A D | mount.h | 45 struct aa_label *label, const struct path *from_path,
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_obj_pinning.c | 29 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 D | token.c | 50 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 D | mount.c | 486 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 D | lsm.c | 739 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 D | namespace.c | 2940 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 D | send.c | 3528 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 D | security.h | 328 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 D | lsm_hook_defs.h | 82 LSM_HOOK(int, 0, move_mount, const struct path *from_path,
|
H A D | syscalls.h | 934 asmlinkage long sys_move_mount(int from_dfd, const char __user *from_path,
|
/linux-master/security/landlock/ |
H A D | fs.c | 1188 static int hook_move_mount(const struct path *const from_path, argument
|
/linux-master/security/ |
H A D | security.c | 1545 * @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 D | inode.c | 2174 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 D | hooks.c | 2772 static int selinux_move_mount(const struct path *from_path, argument
|