| /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 | 744 const struct path *to_path) in apparmor_move_mount() argument 753 to_path); in apparmor_move_mount()
|
| /linux/fs/ |
| H A D | namespace.c | 3212 struct path to_path; in vfs_open_tree() 3234 to_path.mnt = &old_ns_root->mnt; in vfs_open_tree() 3235 to_path.dentry = old_ns_root->mnt.mnt_root; in vfs_open_tree() 3239 LOCK_MOUNT_EXACT_COPY(mp, &to_path, copy_flags); in vfs_open_tree() 3549 static int do_set_group(const struct path *from_path, const struct path *to_path) 3552 struct mount *to = real_mount(to_path->mnt); in can_move_mount_beneath() 3567 if (!path_mounted(to_path)) in can_move_mount_beneath() 4707 const struct path *to_path, in path_pivot_root() 4712 ret = security_move_mount(from_path, to_path); in path_pivot_root() 4717 return do_set_group(from_path, to_path); in path_pivot_root() 3109 struct path to_path; create_new_namespace() local 3436 do_set_group(const struct path * from_path,const struct path * to_path) do_set_group() argument 4561 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/security/ |
| H A D | security.c | 1173 * @to_path: destination mount point 1180 const struct path *to_path) in security_move_mount() argument 1182 return call_int_hook(move_mount, from_path, to_path); in security_move_mount()
|
| /linux/fs/smb/client/ |
| H A D | inode.c | 2457 const char *to_path) 2483 from_path, to_path, cifs_sb); 2455 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 | 2836 const struct path *to_path) in selinux_umount() 2840 return path_has_perm(cred, to_path, FILE__MOUNTON); in selinux_umount() 2829 selinux_move_mount(const struct path * from_path,const struct path * to_path) selinux_move_mount() argument
|