Lines Matching refs:dir_s1d2
45 static const char dir_s1d2[] = TMP_DIR "/s1d1/s1d2"; variable
290 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY)); in TEST_F_FORK()
322 open(dir_s1d2, O_PATH | O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK()
350 path_beneath.parent_fd = open(dir_s1d2, O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK()
364 open(dir_s1d2, O_PATH | O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK()
449 open(dir_s1d2, O_PATH | O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK()
624 .path = dir_s1d2, in TEST_F_FORK()
647 .path = dir_s1d2, in TEST_F_FORK()
673 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY)); in TEST_F_FORK()
705 .path = dir_s1d2, in TEST_F_FORK()
733 .path = dir_s1d2, in TEST_F_FORK()
738 .path = dir_s1d2, in TEST_F_FORK()
760 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
773 .path = dir_s1d2, in TEST_F_FORK()
786 .path = dir_s1d2, in TEST_F_FORK()
795 .path = dir_s1d2, in TEST_F_FORK()
880 .path = dir_s1d2, in TEST_F_FORK()
959 .path = dir_s1d2, in TEST_F_FORK()
978 .path = dir_s1d2, in TEST_F_FORK()
989 .path = dir_s1d2, in TEST_F_FORK()
1011 .path = dir_s1d2, in TEST_F_FORK()
1114 .path = dir_s1d2, in TEST_F_FORK()
1131 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1144 dir_s1d2); in TEST_F_FORK()
1165 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1186 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1216 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1242 ASSERT_EQ(EACCES, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1252 dir_s1d2); in TEST_F_FORK()
1257 ASSERT_EQ(EACCES, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1269 .path = dir_s1d2, in TEST_F_FORK()
1500 dir_s1d2, 0)) in TEST_F_FORK()
1505 ASSERT_EQ(0, syscall(__NR_move_mount, AT_FDCWD, dir_s1d2, AT_FDCWD, in TEST_F_FORK()
1514 dir_s1d2, 0)); in TEST_F_FORK()
1576 .path = dir_s1d2, in test_relative_path()
1603 ASSERT_EQ(0, chdir(dir_s1d2)); in test_relative_path()
1615 dirfd = open(dir_s1d2, O_DIRECTORY); in test_relative_path()
1619 ASSERT_EQ(0, chdir(dir_s1d2)); in test_relative_path()
1752 .path = dir_s1d2, in TEST_F_FORK()
1772 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY)); in TEST_F_FORK()
1785 .path = dir_s1d2, in TEST_F_FORK()
1910 ASSERT_EQ(-1, rename(file1_s1d1, dir_s1d2)); in TEST_F_FORK()
1936 .path = dir_s1d2, in TEST_F_FORK()
1975 ASSERT_EQ(-1, rename(dir_s1d2, file1_s1d1)); in TEST_F_FORK()
1977 ASSERT_EQ(-1, renameat2(AT_FDCWD, file1_s1d1, AT_FDCWD, dir_s1d2, in TEST_F_FORK()
1981 ASSERT_EQ(-1, rename(file1_s1d1, dir_s1d2)); in TEST_F_FORK()
2000 .path = dir_s1d2, in TEST_F_FORK()
2016 ASSERT_EQ(-1, rename(dir_s1d2, dir_s2d1)); in TEST_F_FORK()
2018 ASSERT_EQ(-1, rename(dir_s1d2, dir_s2d2)); in TEST_F_FORK()
2020 ASSERT_EQ(-1, rename(dir_s1d2, dir_s2d3)); in TEST_F_FORK()
2151 .path = dir_s1d2, in TEST_F_FORK()
2229 .path = dir_s1d2, in TEST_F_FORK()
2374 .path = dir_s1d2, in reparent_exdev_layers_enforce1()
2494 ASSERT_EQ(-1, rename(dir_s1d2, file1_s2d2)); in TEST_F_FORK()
2517 ASSERT_EQ(-1, rename(dir_s1d2, file1_s2d2)); in TEST_F_FORK()
2679 .path = dir_s1d2, in TEST_F_FORK()
2712 ASSERT_EQ(-1, rename(file1_s2d1, dir_s1d2)); in TEST_F_FORK()
2714 ASSERT_EQ(-1, rename(dir_s1d2, file1_s2d1)); in TEST_F_FORK()
2736 .path = dir_s1d2, in TEST_F_FORK()
2829 .path = dir_s1d2, in TEST_F_FORK()
2852 ASSERT_EQ(-1, rmdir(dir_s1d2)); in TEST_F_FORK()
2854 ASSERT_EQ(-1, unlinkat(AT_FDCWD, dir_s1d2, AT_REMOVEDIR)); in TEST_F_FORK()
2866 .path = dir_s1d2, in TEST_F_FORK()
2892 .path = dir_s1d2, in test_make_file()
2980 .path = dir_s1d2, in TEST_F_FORK()
3025 .path = dir_s1d2, in TEST_F_FORK()
3108 .path = dir_s1d2, in TEST_F_FORK()
3171 ASSERT_EQ(0, mount(dir_s1d2, dir_s2d2, NULL, MS_BIND, NULL)); in FIXTURE_SETUP()
3219 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY)); in TEST_F_FORK()
3261 .path = dir_s1d2, in TEST_F_FORK()
3301 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
3323 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
3343 ASSERT_EQ(EACCES, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()