Lines Matching refs:dir_s1d2
48 static const char dir_s1d2[] = TMP_DIR "/s1d1/s1d2"; variable
410 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY)); in TEST_F_FORK()
442 open(dir_s1d2, O_PATH | O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK()
470 path_beneath.parent_fd = open(dir_s1d2, O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK()
484 open(dir_s1d2, O_PATH | O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK()
570 open(dir_s1d2, O_PATH | O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK()
768 .path = dir_s1d2, in TEST_F_FORK()
794 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY)); in TEST_F_FORK()
826 .path = dir_s1d2, in TEST_F_FORK()
854 .path = dir_s1d2, in TEST_F_FORK()
859 .path = dir_s1d2, in TEST_F_FORK()
881 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
894 .path = dir_s1d2, in TEST_F_FORK()
907 .path = dir_s1d2, in TEST_F_FORK()
916 .path = dir_s1d2, in TEST_F_FORK()
1001 .path = dir_s1d2, in TEST_F_FORK()
1080 .path = dir_s1d2, in TEST_F_FORK()
1099 .path = dir_s1d2, in TEST_F_FORK()
1110 .path = dir_s1d2, in TEST_F_FORK()
1132 .path = dir_s1d2, in TEST_F_FORK()
1235 .path = dir_s1d2, in TEST_F_FORK()
1252 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1265 dir_s1d2); in TEST_F_FORK()
1286 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1307 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1337 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1363 ASSERT_EQ(EACCES, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1373 dir_s1d2); in TEST_F_FORK()
1378 ASSERT_EQ(EACCES, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1621 dir_s1d2, 0)) in TEST_F_FORK()
1626 ASSERT_EQ(0, syscall(__NR_move_mount, AT_FDCWD, dir_s1d2, AT_FDCWD, in TEST_F_FORK()
1635 dir_s1d2, 0)); in TEST_F_FORK()
1697 .path = dir_s1d2, in test_relative_path()
1724 ASSERT_EQ(0, chdir(dir_s1d2)); in test_relative_path()
1736 dirfd = open(dir_s1d2, O_DIRECTORY); in test_relative_path()
1740 ASSERT_EQ(0, chdir(dir_s1d2)); in test_relative_path()
1873 .path = dir_s1d2, in TEST_F_FORK()
1893 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY)); in TEST_F_FORK()
1906 .path = dir_s1d2, in TEST_F_FORK()
2031 ASSERT_EQ(-1, rename(file1_s1d1, dir_s1d2)); in TEST_F_FORK()
2057 .path = dir_s1d2, in TEST_F_FORK()
2096 ASSERT_EQ(-1, rename(dir_s1d2, file1_s1d1)); in TEST_F_FORK()
2098 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, dir_s1d2, in TEST_F_FORK()
2102 ASSERT_EQ(-1, rename(file1_s1d1, dir_s1d2)); in TEST_F_FORK()
2121 .path = dir_s1d2, in TEST_F_FORK()
2137 ASSERT_EQ(-1, rename(dir_s1d2, dir_s2d1)); in TEST_F_FORK()
2139 ASSERT_EQ(-1, rename(dir_s1d2, dir_s2d2)); in TEST_F_FORK()
2141 ASSERT_EQ(-1, rename(dir_s1d2, dir_s2d3)); in TEST_F_FORK()
2272 .path = dir_s1d2, in TEST_F_FORK()
2350 .path = dir_s1d2, in TEST_F_FORK()
2495 .path = dir_s1d2, in reparent_exdev_layers_enforce1()
2615 ASSERT_EQ(-1, rename(dir_s1d2, file1_s2d2)); in TEST_F_FORK()
2638 ASSERT_EQ(-1, rename(dir_s1d2, file1_s2d2)); in TEST_F_FORK()
2800 .path = dir_s1d2, in TEST_F_FORK()
2833 ASSERT_EQ(-1, rename(file1_s2d1, dir_s1d2)); in TEST_F_FORK()
2835 ASSERT_EQ(-1, rename(dir_s1d2, file1_s2d1)); in TEST_F_FORK()
2857 .path = dir_s1d2, in TEST_F_FORK()
2950 .path = dir_s1d2, in TEST_F_FORK()
2973 ASSERT_EQ(-1, rmdir(dir_s1d2)); in TEST_F_FORK()
2975 ASSERT_EQ(-1, unlinkat(AT_FDCWD, dir_s1d2, AT_REMOVEDIR)); in TEST_F_FORK()
2987 .path = dir_s1d2, in TEST_F_FORK()
3013 .path = dir_s1d2, in test_make_file()
3101 .path = dir_s1d2, in TEST_F_FORK()
3146 .path = dir_s1d2, in TEST_F_FORK()
3229 .path = dir_s1d2, in TEST_F_FORK()
3749 ASSERT_EQ(0, mount(dir_s1d2, dir_s2d2, NULL, MS_BIND, NULL)); in FIXTURE_SETUP()
3797 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY)); in TEST_F_FORK()
3839 .path = dir_s1d2, in TEST_F_FORK()
3879 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
3901 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
3921 ASSERT_EQ(EACCES, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()