| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | bpf_obj_pinning.c | 30 int to_dfd, const char *to_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 | 58 int to_dfd, const char *to_path, in drop_priv_caps() 61 return syscall(__NR_move_mount, from_dfd, from_path, to_dfd, to_path, flags); in drop_priv_caps() 52 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 | 46 const struct path *to_path);
|
| /linux/security/apparmor/ |
| H A D | mount.c | 426 const struct path *to_path) in aa_move_mount() argument 436 AA_BUG(!to_path); in aa_move_mount() 448 match_mnt(profile, to_path, to_buffer, from_path, in aa_move_mount()
|
| H A D | lsm.c | 745 const struct path *to_path) in apparmor_move_mount() 754 to_path); in apparmor_move_mount() 744 apparmor_move_mount(const struct path * from_path,const struct path * to_path) apparmor_move_mount() argument
|
| /linux/fs/ |
| H A D | namespace.c | 3216 struct path to_path; in create_new_namespace() local 3238 to_path.mnt = &old_ns_root->mnt; in create_new_namespace() 3239 to_path.dentry = old_ns_root->mnt.mnt_root; in create_new_namespace() 3243 LOCK_MOUNT_EXACT_COPY(mp, &to_path, copy_flags); in create_new_namespace() 3564 static int do_set_group(const struct path *from_path, const struct path *to_path) in do_set_group() argument 3567 struct mount *to = real_mount(to_path->mnt); in do_set_group() 3582 if (!path_mounted(to_path)) in do_set_group() 4727 const struct path *to_path, in SYSCALL_DEFINE3() 4732 ret = security_move_mount(from_path, to_path); in vfs_move_mount() 4737 return do_set_group(from_path, to_path); in vfs_move_mount() 4730 vfs_move_mount(const struct path * from_path,const struct path * to_path,enum mnt_tree_flags_t mflags) vfs_move_mount() argument [all...] |
| /linux/security/landlock/ |
| H A D | fs.c | 1550 const struct path *const to_path) in hook_move_mount() argument 1560 log_fs_change_topology_path(subject, handle_layer, to_path); in hook_move_mount()
|
| /linux/include/linux/ |
| H A D | security.h | 390 int security_move_mount(const struct path *from_path, const struct path *to_path); 861 const struct path *to_path) in security_path_notify() 852 security_move_mount(const struct path * from_path,const struct path * to_path) security_move_mount() argument
|
| H A D | lsm_hook_defs.h | 83 const struct path *to_path)
|
| /linux/security/ |
| H A D | security.c | 1187 * @to_path: destination mount point 1194 const struct path *to_path) 1196 return call_int_hook(move_mount, from_path, to_path); in security_path_notify() 1180 security_move_mount(const struct path * from_path,const struct path * to_path) security_move_mount() argument
|
| /linux/fs/smb/client/ |
| H A D | inode.c | 2459 const char *to_path) 2485 from_path, to_path, cifs_sb); 2457 cifs_do_rename(const unsigned int xid,struct dentry * from_dentry,const char * from_path,struct dentry * to_dentry,const char * to_path) global() argument
|
| /linux/fs/btrfs/ |
| H A D | send.c | 3448 struct fs_path *to_path __free(fs_path_free) = NULL; in apply_dir_move() 3510 to_path = name; in apply_dir_move() 3512 ret = get_cur_path(sctx, pm->ino, pm->gen, to_path); in apply_dir_move() 3516 ret = send_rename(sctx, from_path, to_path); in apply_dir_move()
|
| /linux/security/selinux/ |
| H A D | hooks.c | 2838 const struct path *to_path) in selinux_move_mount() 2842 return path_has_perm(cred, to_path, FILE__MOUNTON); 2836 selinux_move_mount(const struct path * from_path,const struct path * to_path) selinux_move_mount() argument
|