Searched refs:from_path (Results 1 – 9 of 9) sorted by relevance
/linux/fs/ |
A D | namespace.c | 2698 static int do_set_group(struct path *from_path, struct path *to_path) in do_set_group() argument 2703 from = real_mount(from_path->mnt); in do_set_group() 2724 if (from_path->dentry != from_path->mnt->mnt_root) in do_set_group() 3718 struct path from_path, to_path; in SYSCALL_DEFINE5() local 3737 ret = user_path_at(from_dfd, from_pathname, lflags, &from_path); in SYSCALL_DEFINE5() 3750 ret = security_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5() 3755 ret = do_set_group(&from_path, &to_path); in SYSCALL_DEFINE5() 3757 ret = do_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5() 3762 path_put(&from_path); in SYSCALL_DEFINE5()
|
/linux/security/landlock/ |
A D | fs.c | 470 static int hook_move_mount(const struct path *const from_path, in hook_move_mount() argument
|
/linux/include/linux/ |
A D | security.h | 318 int security_move_mount(const struct path *from_path, const struct path *to_path); 720 static inline int security_move_mount(const struct path *from_path, in security_move_mount() argument
|
A D | lsm_hook_defs.h | 83 LSM_HOOK(int, 0, move_mount, const struct path *from_path,
|
A D | syscalls.h | 1039 asmlinkage long sys_move_mount(int from_dfd, const char __user *from_path,
|
/linux/fs/btrfs/ |
A D | send.c | 3206 struct fs_path *from_path = NULL; in apply_dir_move() local 3220 from_path = fs_path_alloc(); in apply_dir_move() 3221 if (!name || !from_path) { in apply_dir_move() 3235 pm->gen, from_path); in apply_dir_move() 3242 from_path); in apply_dir_move() 3245 ret = fs_path_add_path(from_path, name); in apply_dir_move() 3277 ret = send_rename(sctx, from_path, to_path); in apply_dir_move() 3340 fs_path_free(from_path); in apply_dir_move()
|
/linux/fs/cifs/ |
A D | inode.c | 2003 const char *from_path, struct dentry *to_dentry, argument 2024 rc = server->ops->rename(xid, tcon, from_path, to_path, cifs_sb); 2048 oparms.path = from_path;
|
/linux/security/ |
A D | security.c | 1005 int security_move_mount(const struct path *from_path, const struct path *to_path) in security_move_mount() argument 1007 return call_int_hook(move_mount, 0, from_path, to_path); in security_move_mount()
|
/linux/security/selinux/ |
A D | hooks.c | 2830 static int selinux_move_mount(const struct path *from_path, in selinux_move_mount() argument
|
Completed in 53 milliseconds