Searched refs:from_path (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.1/fs/ |
D | namespace.c | 2750 static int do_set_group(struct path *from_path, struct path *to_path) in do_set_group() argument 2755 from = real_mount(from_path->mnt); in do_set_group() 2776 if (from_path->dentry != from_path->mnt->mnt_root) in do_set_group() 3770 struct path from_path, to_path; in SYSCALL_DEFINE5() local 3789 ret = user_path_at(from_dfd, from_pathname, lflags, &from_path); in SYSCALL_DEFINE5() 3802 ret = security_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5() 3807 ret = do_set_group(&from_path, &to_path); in SYSCALL_DEFINE5() 3809 ret = do_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5() 3814 path_put(&from_path); in SYSCALL_DEFINE5()
|
/Linux-v6.1/security/landlock/ |
D | fs.c | 1045 static int hook_move_mount(const struct path *const from_path, in hook_move_mount() argument
|
/Linux-v6.1/include/linux/ |
D | security.h | 320 int security_move_mount(const struct path *from_path, const struct path *to_path); 719 static inline int security_move_mount(const struct path *from_path, in security_move_mount() argument
|
D | lsm_hook_defs.h | 81 LSM_HOOK(int, 0, move_mount, const struct path *from_path,
|
D | syscalls.h | 1035 asmlinkage long sys_move_mount(int from_dfd, const char __user *from_path,
|
/Linux-v6.1/fs/btrfs/ |
D | send.c | 3262 struct fs_path *from_path = NULL; in apply_dir_move() local 3276 from_path = fs_path_alloc(); in apply_dir_move() 3277 if (!name || !from_path) { in apply_dir_move() 3291 pm->gen, from_path); in apply_dir_move() 3298 from_path); in apply_dir_move() 3301 ret = fs_path_add_path(from_path, name); in apply_dir_move() 3333 ret = send_rename(sctx, from_path, to_path); in apply_dir_move() 3395 fs_path_free(from_path); in apply_dir_move()
|
/Linux-v6.1/fs/cifs/ |
D | inode.c | 2073 const char *from_path, struct dentry *to_dentry, argument 2097 rc = server->ops->rename(xid, tcon, from_path, to_path, cifs_sb); 2122 oparms.path = from_path;
|
/Linux-v6.1/security/ |
D | security.c | 1013 int security_move_mount(const struct path *from_path, const struct path *to_path) in security_move_mount() argument 1015 return call_int_hook(move_mount, 0, from_path, to_path); in security_move_mount()
|
/Linux-v6.1/security/selinux/ |
D | hooks.c | 2753 static int selinux_move_mount(const struct path *from_path, in selinux_move_mount() argument
|