/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
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()
|
D | token.c | 51 int to_dfd, const char *to_path, in sys_move_mount() argument 54 return syscall(__NR_move_mount, from_dfd, from_path, to_dfd, to_path, flags); in sys_move_mount()
|
/linux-6.12.1/security/apparmor/include/ |
D | mount.h | 46 const struct path *to_path);
|
/linux-6.12.1/security/apparmor/ |
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()
|
D | lsm.c | 741 const struct path *to_path) in apparmor_move_mount() argument 749 to_path); in apparmor_move_mount()
|
/linux-6.12.1/fs/ |
D | namespace.c | 3095 static int do_set_group(struct path *from_path, struct path *to_path) in do_set_group() argument 3101 to = real_mount(to_path->mnt); in do_set_group() 3123 if (!path_mounted(to_path)) in do_set_group() 4235 struct path from_path, to_path; in SYSCALL_DEFINE5() local 4267 ret = user_path_at(to_dfd, to_pathname, lflags, &to_path); in SYSCALL_DEFINE5() 4271 ret = security_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5() 4276 ret = do_set_group(&from_path, &to_path); in SYSCALL_DEFINE5() 4278 ret = do_move_mount(&from_path, &to_path, in SYSCALL_DEFINE5() 4282 path_put(&to_path); in SYSCALL_DEFINE5()
|
/linux-6.12.1/include/linux/ |
D | security.h | 340 int security_move_mount(const struct path *from_path, const struct path *to_path); 781 const struct path *to_path) in security_move_mount() argument
|
D | lsm_hook_defs.h | 83 const struct path *to_path)
|
D | syscalls.h | 942 int to_dfd, const char __user *to_path,
|
/linux-6.12.1/security/landlock/ |
D | fs.c | 1345 const struct path *const to_path) in hook_move_mount() argument
|
/linux-6.12.1/security/ |
D | security.c | 1657 const struct path *to_path) in security_move_mount() argument 1659 return call_int_hook(move_mount, from_path, to_path); in security_move_mount()
|
/linux-6.12.1/fs/btrfs/ |
D | send.c | 3530 struct fs_path *to_path = NULL; in apply_dir_move() local 3594 to_path = name; in apply_dir_move() 3596 ret = get_cur_path(sctx, pm->ino, pm->gen, to_path); in apply_dir_move() 3600 ret = send_rename(sctx, from_path, to_path); in apply_dir_move() 3663 fs_path_free(to_path); in apply_dir_move()
|
/linux-6.12.1/fs/smb/client/ |
D | inode.c | 2252 const char *to_path) argument 2276 from_path, to_path, cifs_sb);
|
/linux-6.12.1/security/selinux/ |
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()
|