Home
last modified time | relevance | path

Searched refs:move_mount (Results 1 – 25 of 25) sorted by relevance

/linux/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c1570 ASSERT_EQ(move_mount(fd_tree_subdir, "", -EBADF, "/tmp/target1", MOVE_MOUNT_F_EMPTY_PATH), 0); in TEST_F()
1583 ASSERT_EQ(move_mount(fd_tree_base, "", -EBADF, "/tmp/target2", MOVE_MOUNT_F_EMPTY_PATH), 0); in TEST_F()
1807 …ASSERT_EQ(move_mount(fd_tree_subdir, "", fd_tree_base, "", MOVE_MOUNT_F_EMPTY_PATH | MOVE_MOUNT_T_… in TEST_F()
1811 …ASSERT_NE(move_mount(fd_tree_subdir, "", fd_tree_base, "", MOVE_MOUNT_F_EMPTY_PATH | MOVE_MOUNT_T_… in TEST_F()
1848 …ASSERT_EQ(move_mount(fd_tree_subdir, "", fd_tree_base, "", MOVE_MOUNT_F_EMPTY_PATH | MOVE_MOUNT_T_… in TEST_F()
1854 …ASSERT_NE(move_mount(fd_tree_subdir, "", fd_tree_base, "", MOVE_MOUNT_F_EMPTY_PATH | MOVE_MOUNT_T_… in TEST_F()
1856 ASSERT_EQ(move_mount(fd_tree_base, "", -EBADF, "/tmp/target1", MOVE_MOUNT_F_EMPTY_PATH), 0); in TEST_F()
1877 ASSERT_EQ(move_mount(fd_tree_base, "", -EBADF, "/tmp/target1", MOVE_MOUNT_F_EMPTY_PATH), 0); in TEST_F()
1890 …ASSERT_NE(move_mount(fd_tree_base, "", fd_tree_subdir, "", MOVE_MOUNT_F_EMPTY_PATH | MOVE_MOUNT_T_… in TEST_F()
1913 ASSERT_EQ(move_mount(fd_tree, "", -EBADF, "/tmp/target1", MOVE_MOUNT_F_EMPTY_PATH), 0); in TEST_F()
[all …]
/linux/samples/vfs/
H A Dtest-fsmount.c88 static inline int move_mount(int from_dfd, const char *from_pathname, in move_mount() function
122 if (move_mount(mfd, "", AT_FDCWD, "/mnt", MOVE_MOUNT_F_EMPTY_PATH) < 0) { in main()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_bind_mount.c64 …ASSERT_EQ(move_mount(fd_tree, "", self->fd_tmp, "", MOVE_MOUNT_F_EMPTY_PATH | MOVE_MOUNT_T_EMPTY_P… in TEST_F()
100 …ASSERT_EQ(move_mount(fd_tree, "", self->fd_tmp, "", MOVE_MOUNT_F_EMPTY_PATH | MOVE_MOUNT_T_EMPTY_P… in TEST_F()
/linux/tools/perf/trace/beauty/
H A DBuild12 perf-y += move_mount.o
/linux/tools/testing/selftests/filesystems/
H A Dfclog.c90 ASSERT_SUCCESS(move_mount(mfd, "", AT_FDCWD, "/tmp", MOVE_MOUNT_F_EMPTY_PATH)); in TEST_F()
/linux/tools/testing/selftests/filesystems/mount-notify/
H A Dmount-notify_test.c290 ret = move_mount(AT_FDCWD, "/a", AT_FDCWD, "/b", 0); in TEST_F()
348 ret = move_mount(mnt, "", AT_FDCWD, "/a", MOVE_MOUNT_F_EMPTY_PATH); in TEST_F()
H A Dmount-notify_test_ns.c317 ret = move_mount(AT_FDCWD, "/a", AT_FDCWD, "/b", 0); in TEST_F()
375 ret = move_mount(mnt, "", AT_FDCWD, "/a", MOVE_MOUNT_F_EMPTY_PATH); in TEST_F()
/linux/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl346 429 n64 move_mount sys_move_mount
/linux/scripts/
H A Dsyscall.tbl372 429 common move_mount sys_move_mount
/linux/tools/scripts/
H A Dsyscall.tbl372 429 common move_mount sys_move_mount
/linux/tools/perf/arch/s390/entry/syscalls/
H A Dsyscall.tbl358 429 common move_mount sys_move_mount
/linux/tools/perf/arch/sh/entry/syscalls/
H A Dsyscall.tbl435 429 common move_mount sys_move_mount
/linux/tools/perf/arch/xtensa/entry/syscalls/
H A Dsyscall.tbl402 429 common move_mount sys_move_mount
/linux/tools/perf/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl356 429 common move_mount sys_move_mount
H A Dsyscall_32.tbl437 429 i386 move_mount sys_move_mount
/linux/tools/perf/arch/sparc/entry/syscalls/
H A Dsyscall.tbl477 429 common move_mount sys_move_mount
/linux/tools/perf/arch/arm/entry/syscalls/
H A Dsyscall.tbl446 429 common move_mount sys_move_mount
/linux/include/linux/
H A Dlsm_hook_defs.h82 LSM_HOOK(int, 0, move_mount, const struct path *from_path,
/linux/tools/perf/arch/powerpc/entry/syscalls/
H A Dsyscall.tbl522 429 common move_mount sys_move_mount
/linux/security/landlock/
H A Dfs.c1828 LSM_HOOK_INIT(move_mount, hook_move_mount),
/linux/security/apparmor/
H A Dlsm.c1670 LSM_HOOK_INIT(move_mount, apparmor_move_mount),
/linux/security/
H A Dsecurity.c1157 return call_int_hook(move_mount, from_path, to_path); in security_move_mount()
/linux/fs/
H A Dnamespace.c4536 SYSCALL_DEFINE5(move_mount, in SYSCALL_DEFINE5() argument
/linux/tools/testing/selftests/landlock/
H A Dfs_test.c1708 TEST_F_FORK(layout1, move_mount) in TEST_F_FORK() argument
/linux/security/selinux/
H A Dhooks.c7457 LSM_HOOK_INIT(move_mount, selinux_move_mount),