Lines Matching refs:O_DIRECTORY

303 	path_beneath.parent_fd = open(dir_s1d2, O_PATH | O_DIRECTORY |  in TEST_F_FORK()
307 ruleset_fd = open(dir_s1d1, O_PATH | O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK()
315 ruleset_fd = open(dir_s1d1, O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK()
332 path_beneath.parent_fd = open(dir_s1d2, O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK()
345 path_beneath.parent_fd = open(dir_s1d2, O_PATH | O_DIRECTORY | in TEST_F_FORK()
675 ASSERT_EQ(EACCES, test_open(dir_s1d1, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
681 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
687 ASSERT_EQ(0, test_open(dir_s1d3, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
934 ASSERT_EQ(EACCES, test_open(dir_s1d1, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
939 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
944 ASSERT_EQ(0, test_open(dir_s1d3, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
968 ASSERT_EQ(EACCES, test_open(dir_s1d1, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
973 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
978 ASSERT_EQ(0, test_open(dir_s1d3, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
989 ASSERT_EQ(EACCES, test_open(dir_s1d1, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
994 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
999 ASSERT_EQ(0, test_open(dir_s1d3, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1019 ASSERT_EQ(EACCES, test_open(dir_s1d1, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1024 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1032 ASSERT_EQ(0, test_open(dir_s1d3, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1050 ASSERT_EQ(EACCES, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1052 ASSERT_EQ(0, test_open(dir_s1d3, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1063 ASSERT_EQ(EACCES, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1065 ASSERT_EQ(0, test_open(dir_s1d3, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
1419 dirfd = open(dir_s1d2, O_DIRECTORY); in test_relative_path()
2209 ASSERT_EQ(0, test_open(dir_s1d1, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
2213 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
2217 ASSERT_EQ(0, test_open(dir_s2d1, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
2220 ASSERT_EQ(0, test_open(dir_s2d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
2231 ASSERT_EQ(EACCES, test_open(dir_s1d1, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
2235 ASSERT_EQ(0, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
2240 ASSERT_EQ(EACCES, test_open(dir_s2d1, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
2243 ASSERT_EQ(0, test_open(dir_s2d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
2244 ASSERT_EQ(0, test_open(bind_dir_s1d3, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
2255 ASSERT_EQ(EACCES, test_open(dir_s1d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
2259 ASSERT_EQ(EACCES, test_open(dir_s1d3, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
2264 ASSERT_EQ(EACCES, test_open(dir_s2d2, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
2268 ASSERT_EQ(EACCES, test_open(bind_dir_s1d3, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
2662 ASSERT_EQ(EACCES, test_open(path_entry, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
2674 ASSERT_EQ(EACCES, test_open(path_entry, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
2690 ASSERT_EQ(0, test_open(path_entry, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
2707 ASSERT_EQ(0, test_open(path_entry, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
2732 ASSERT_EQ(0, test_open(path_entry, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
2759 ASSERT_EQ(EACCES, test_open(path_entry, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()
2784 ASSERT_EQ(EACCES, test_open(path_entry, O_RDONLY | O_DIRECTORY)); in TEST_F_FORK()