/linux-6.12.1/security/apparmor/ |
D | mount.c | 488 struct aa_label *label, const struct path *from_path, in aa_move_mount() argument 496 AA_BUG(!from_path); in aa_move_mount() 505 if (!our_mnt(from_path->mnt)) in aa_move_mount() 507 from_path = NULL; in aa_move_mount() 510 from_path, from_buffer, in aa_move_mount()
|
D | lsm.c | 740 static int apparmor_move_mount(const struct path *from_path, in apparmor_move_mount() argument 748 error = aa_move_mount(current_cred(), label, from_path, in apparmor_move_mount()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_obj_pinning.c | 29 static inline int sys_move_mount(int from_dfd, const char *from_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 | 50 static inline int sys_move_mount(int from_dfd, const char *from_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 | 45 struct aa_label *label, const struct path *from_path,
|
/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 3100 from = real_mount(from_path->mnt); in do_set_group() 3121 if (!path_mounted(from_path)) in do_set_group() 4235 struct path from_path, to_path; in SYSCALL_DEFINE5() local 4258 ret = user_path_at(from_dfd, from_pathname, lflags, &from_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() 4284 path_put(&from_path); in SYSCALL_DEFINE5()
|
/linux-6.12.1/fs/btrfs/ |
D | send.c | 3529 struct fs_path *from_path = NULL; in apply_dir_move() local 3543 from_path = fs_path_alloc(); in apply_dir_move() 3544 if (!name || !from_path) { in apply_dir_move() 3558 pm->gen, from_path); in apply_dir_move() 3565 from_path); in apply_dir_move() 3568 ret = fs_path_add_path(from_path, name); in apply_dir_move() 3600 ret = send_rename(sctx, from_path, to_path); in apply_dir_move() 3662 fs_path_free(from_path); in apply_dir_move()
|
/linux-6.12.1/include/linux/ |
D | security.h | 340 int security_move_mount(const struct path *from_path, const struct path *to_path); 780 static inline int security_move_mount(const struct path *from_path, in security_move_mount() argument
|
D | lsm_hook_defs.h | 82 LSM_HOOK(int, 0, move_mount, const struct path *from_path,
|
D | syscalls.h | 941 asmlinkage long sys_move_mount(int from_dfd, const char __user *from_path,
|
/linux-6.12.1/fs/smb/client/ |
D | inode.c | 2251 const char *from_path, struct dentry *to_dentry, argument 2276 from_path, to_path, cifs_sb); 2302 .path = from_path,
|
/linux-6.12.1/security/landlock/ |
D | fs.c | 1344 static int hook_move_mount(const struct path *const from_path, in hook_move_mount() argument
|
/linux-6.12.1/security/ |
D | security.c | 1656 int security_move_mount(const struct path *from_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/security/selinux/ |
D | hooks.c | 2770 static int selinux_move_mount(const struct path *from_path, in selinux_move_mount() argument
|