| /linux/security/apparmor/ |
| H A D | mount.c | 486 struct aa_label *label, const struct path *from_path, in aa_move_mount() argument 494 AA_BUG(!from_path); in aa_move_mount() 503 if (!our_mnt(from_path->mnt)) in aa_move_mount() 505 from_path = NULL; in aa_move_mount() 508 from_path, from_buffer, in aa_move_mount()
|
| H A D | lsm.c | 738 static int apparmor_move_mount(const struct path *from_path, in apparmor_move_mount() argument 747 error = aa_move_mount(current_cred(), label, from_path, in apparmor_move_mount()
|
| /linux/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, 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()
|
| H A D | token.c | 57 static inline int sys_move_mount(int from_dfd, const char *from_path, 61 return syscall(__NR_move_mount, from_dfd, from_path, to_dfd, to_path, flags); in drop_priv_caps() 51 sys_move_mount(int from_dfd,const char * from_path,int to_dfd,const char * to_path,unsigned flags) sys_move_mount() argument
|
| /linux/security/apparmor/include/ |
| H A D | mount.h | 45 struct aa_label *label, const struct path *from_path,
|
| /linux/fs/ |
| H A D | namespace.c | 3426 static int do_set_group(const struct path *from_path, const struct path *to_path) in do_set_group() argument 3428 struct mount *from = real_mount(from_path->mnt); in do_set_group() 3442 if (!path_mounted(from_path)) in do_set_group() 4542 static inline int vfs_move_mount(const struct path *from_path, in vfs_move_mount() argument 4548 ret = security_move_mount(from_path, to_path); in vfs_move_mount() 4553 return do_set_group(from_path, to_path); in vfs_move_mount() 4555 return do_move_mount(from_path, to_path, mflags); in vfs_move_mount() 4572 struct path from_path __free(path_put) = {}; in SYSCALL_DEFINE5() 4631 ret = filename_lookup(from_dfd, from_name, lflags, &from_path, NULL); in SYSCALL_DEFINE5() 4635 return vfs_move_mount(&from_path, &to_path, mflags); in SYSCALL_DEFINE5()
|
| /linux/fs/smb/client/ |
| H A D | inode.c | 2414 const char *from_path, struct dentry *to_dentry, argument 2441 from_path, to_path, cifs_sb); 2474 .path = from_path,
|
| /linux/security/ |
| H A D | security.c | 1179 int security_move_mount(const struct path *from_path, in security_move_mount() argument 1182 return call_int_hook(move_mount, from_path, to_path); in security_move_mount()
|
| /linux/security/landlock/ |
| H A D | fs.c | 1435 static int hook_move_mount(const struct path *const from_path, 1436 hook_move_mount(const struct path * const from_path,const struct path * const to_path) hook_move_mount() argument
|
| /linux/include/linux/ |
| H A D | syscalls.h | 973 asmlinkage long sys_move_mount(int from_dfd, const char __user *from_path,
|
| /linux/security/selinux/ |
| H A D | hooks.c | 2820 static int selinux_move_mount(const struct path *from_path, in selinux_move_mount() argument
|