Home
last modified time | relevance | path

Searched refs:from_path (Results 1 – 9 of 9) sorted by relevance

/linux-6.3-rc2/fs/
A Dnamespace.c2752 static int do_set_group(struct path *from_path, struct path *to_path) in do_set_group() argument
2757 from = real_mount(from_path->mnt); in do_set_group()
2778 if (from_path->dentry != from_path->mnt->mnt_root) in do_set_group()
3773 struct path from_path, to_path; in SYSCALL_DEFINE5() local
3792 ret = user_path_at(from_dfd, from_pathname, lflags, &from_path); in SYSCALL_DEFINE5()
3805 ret = security_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5()
3810 ret = do_set_group(&from_path, &to_path); in SYSCALL_DEFINE5()
3812 ret = do_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5()
3817 path_put(&from_path); in SYSCALL_DEFINE5()
/linux-6.3-rc2/security/landlock/
A Dfs.c1058 static int hook_move_mount(const struct path *const from_path, in hook_move_mount() argument
/linux-6.3-rc2/include/linux/
A Dsecurity.h320 int security_move_mount(const struct path *from_path, const struct path *to_path);
726 static inline int security_move_mount(const struct path *from_path, in security_move_mount() argument
A Dlsm_hook_defs.h81 LSM_HOOK(int, 0, move_mount, const struct path *from_path,
A Dsyscalls.h1037 asmlinkage long sys_move_mount(int from_dfd, const char __user *from_path,
/linux-6.3-rc2/fs/btrfs/
A Dsend.c3505 struct fs_path *from_path = NULL; in apply_dir_move() local
3519 from_path = fs_path_alloc(); in apply_dir_move()
3520 if (!name || !from_path) { in apply_dir_move()
3534 pm->gen, from_path); in apply_dir_move()
3541 from_path); in apply_dir_move()
3544 ret = fs_path_add_path(from_path, name); in apply_dir_move()
3576 ret = send_rename(sctx, from_path, to_path); in apply_dir_move()
3638 fs_path_free(from_path); in apply_dir_move()
/linux-6.3-rc2/fs/cifs/
A Dinode.c2074 const char *from_path, struct dentry *to_dentry, argument
2098 rc = server->ops->rename(xid, tcon, from_path, to_path, cifs_sb);
2124 .path = from_path,
/linux-6.3-rc2/security/
A Dsecurity.c1041 int security_move_mount(const struct path *from_path, const struct path *to_path) in security_move_mount() argument
1043 return call_int_hook(move_mount, 0, from_path, to_path); in security_move_mount()
/linux-6.3-rc2/security/selinux/
A Dhooks.c2753 static int selinux_move_mount(const struct path *from_path, in selinux_move_mount() argument

Completed in 55 milliseconds