| /linux-6.15/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 | 52 int to_dfd, const char *to_path, in sys_move_mount() argument 55 return syscall(__NR_move_mount, from_dfd, from_path, to_dfd, to_path, flags); in sys_move_mount()
|
| /linux-6.15/security/apparmor/include/ |
| H A D | mount.h | 46 const struct path *to_path);
|
| /linux-6.15/security/apparmor/ |
| H A D | mount.c | 489 const struct path *to_path) in aa_move_mount() argument 497 AA_BUG(!to_path); in aa_move_mount() 509 match_mnt(subj_cred, profile, to_path, to_buffer, in aa_move_mount()
|
| H A D | lsm.c | 741 const struct path *to_path) in apparmor_move_mount() argument 749 to_path); in apparmor_move_mount()
|
| /linux-6.15/fs/ |
| H A D | namespace.c | 3397 to = real_mount(to_path->mnt); in do_set_group() 3419 if (!path_mounted(to_path)) in do_set_group() 4598 ret = security_move_mount(from_path, to_path); in vfs_move_mount() 4603 return do_set_group(from_path, to_path); in vfs_move_mount() 4605 return do_move_mount(from_path, to_path, mflags); in vfs_move_mount() 4621 struct path to_path __free(path_put) = {}; in SYSCALL_DEFINE5() 4665 to_path = fd_file(f_to)->f_path; in SYSCALL_DEFINE5() 4666 path_get(&to_path); in SYSCALL_DEFINE5() 4668 ret = filename_lookup(to_dfd, to_name, lflags, &to_path, NULL); in SYSCALL_DEFINE5() 4678 return vfs_move_mount(&fd_file(f_from)->f_path, &to_path, mflags); in SYSCALL_DEFINE5() [all …]
|
| /linux-6.15/security/landlock/ |
| H A D | fs.c | 1438 const struct path *const to_path) in hook_move_mount() argument 1448 log_fs_change_topology_path(subject, handle_layer, to_path); in hook_move_mount()
|
| /linux-6.15/include/linux/ |
| H A D | security.h | 390 int security_move_mount(const struct path *from_path, const struct path *to_path); 844 const struct path *to_path) in security_move_mount() argument
|
| H A D | lsm_hook_defs.h | 83 const struct path *to_path)
|
| H A D | syscalls.h | 959 int to_dfd, const char __user *to_path,
|
| /linux-6.15/security/ |
| H A D | security.c | 1662 const struct path *to_path) in security_move_mount() argument 1664 return call_int_hook(move_mount, from_path, to_path); in security_move_mount()
|
| /linux-6.15/fs/btrfs/ |
| H A D | send.c | 3550 struct fs_path *to_path = NULL; in apply_dir_move() local 3614 to_path = name; in apply_dir_move() 3616 ret = get_cur_path(sctx, pm->ino, pm->gen, to_path); in apply_dir_move() 3620 ret = send_rename(sctx, from_path, to_path); in apply_dir_move() 3683 fs_path_free(to_path); in apply_dir_move()
|
| /linux-6.15/fs/smb/client/ |
| H A D | inode.c | 2379 const char *to_path) argument 2403 from_path, to_path, cifs_sb);
|
| /linux-6.15/security/selinux/ |
| H A D | hooks.c | 2771 const struct path *to_path) in selinux_move_mount() argument 2775 return path_has_perm(cred, to_path, FILE__MOUNTON); in selinux_move_mount()
|