Home
last modified time | relevance | path

Searched refs:to_path (Results 1 – 13 of 13) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_obj_pinning.c30 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 Dtoken.c52 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/security/apparmor/include/
H A Dmount.h46 const struct path *to_path);
/linux/security/apparmor/
H A Dmount.c487 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 Dlsm.c738 const struct path *to_path) in apparmor_move_mount() argument
747 to_path); in apparmor_move_mount()
/linux/fs/
H A Dnamespace.c3096 struct path to_path; in create_new_namespace() local
3109 to_path.mnt = &old_ns_root->mnt; in create_new_namespace()
3110 to_path.dentry = old_ns_root->mnt.mnt_root; in create_new_namespace()
3114 LOCK_MOUNT_EXACT_COPY(mp, &to_path, copy_flags); in create_new_namespace()
3417 static int do_set_group(const struct path *from_path, const struct path *to_path) in do_set_group() argument
3420 struct mount *to = real_mount(to_path->mnt); in do_set_group()
3435 if (!path_mounted(to_path)) in do_set_group()
4513 const struct path *to_path, in vfs_move_mount() argument
4518 ret = security_move_mount(from_path, to_path); in vfs_move_mount()
4523 return do_set_group(from_path, to_path); in vfs_move_mount()
[all …]
/linux/security/landlock/
H A Dfs.c1437 const struct path *const to_path) in hook_move_mount() argument
1447 log_fs_change_topology_path(subject, handle_layer, to_path); in hook_move_mount()
/linux/include/linux/
H A Dlsm_hook_defs.h83 const struct path *to_path)
H A Dsyscalls.h970 int to_dfd, const char __user *to_path,
/linux/security/
H A Dsecurity.c1147 * @to_path: destination mount point
1154 const struct path *to_path) in security_move_mount() argument
1156 return call_int_hook(move_mount, from_path, to_path); in security_move_mount()
/linux/fs/btrfs/
H A Dsend.c3471 struct fs_path *to_path = NULL; in apply_dir_move() local
3535 to_path = name; in apply_dir_move()
3537 ret = get_cur_path(sctx, pm->ino, pm->gen, to_path); in apply_dir_move()
3541 ret = send_rename(sctx, from_path, to_path); in apply_dir_move()
3604 fs_path_free(to_path); in apply_dir_move()
/linux/fs/smb/client/
H A Dinode.c2415 const char *to_path) argument
2441 from_path, to_path, cifs_sb);
/linux/security/selinux/
H A Dhooks.c2797 const struct path *to_path) in selinux_move_mount() argument
2801 return path_has_perm(cred, to_path, FILE__MOUNTON); in selinux_move_mount()