| /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 | 487 const struct path *to_path) in aa_move_mount() argument 495 AA_BUG(!to_path); in aa_move_mount() 507 match_mnt(subj_cred, profile, to_path, to_buffer, in aa_move_mount()
|
| H A D | lsm.c | 739 const struct path *to_path) in apparmor_move_mount() argument 748 to_path); in apparmor_move_mount()
|
| /linux/fs/ |
| H A D | namespace.c | 3101 struct path to_path; in create_new_namespace() local 3114 to_path.mnt = &old_ns_root->mnt; in create_new_namespace() 3115 to_path.dentry = old_ns_root->mnt.mnt_root; in create_new_namespace() 3119 LOCK_MOUNT_EXACT_COPY(mp, &to_path, copy_flags); in create_new_namespace() 3426 static int do_set_group(const struct path *from_path, const struct path *to_path) in do_set_group() argument 3429 struct mount *to = real_mount(to_path->mnt); in do_set_group() 3444 if (!path_mounted(to_path)) in do_set_group() 4543 const struct path *to_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() [all …]
|
| /linux/security/landlock/ |
| H A D | fs.c | 1436 const struct path *const to_path) in hook_move_mount() 1446 log_fs_change_topology_path(subject, handle_layer, to_path); in hook_move_mount() 1437 hook_move_mount(const struct path * const from_path,const struct path * const to_path) hook_move_mount() argument
|
| /linux/security/ |
| H A D | security.c | 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 | 2415 const char *to_path) argument 2441 from_path, to_path, cifs_sb);
|
| /linux/security/selinux/ |
| H A D | hooks.c | 2821 const struct path *to_path) in selinux_move_mount() argument 2825 return path_has_perm(cred, to_path, FILE__MOUNTON); in selinux_move_mount()
|