Lines Matching refs:O_WRONLY
721 ASSERT_EQ(0, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
724 ASSERT_EQ(0, test_open(file1_s1d2, O_WRONLY)); in TEST_F_FORK()
752 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
758 ASSERT_EQ(0, test_open(file1_s1d2, O_WRONLY)); in TEST_F_FORK()
764 ASSERT_EQ(0, test_open(file1_s1d3, O_WRONLY)); in TEST_F_FORK()
808 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
814 ASSERT_EQ(EACCES, test_open(file1_s1d2, O_WRONLY)); in TEST_F_FORK()
820 ASSERT_EQ(0, test_open(file1_s1d3, O_WRONLY)); in TEST_F_FORK()
833 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
839 ASSERT_EQ(EACCES, test_open(file1_s1d2, O_WRONLY)); in TEST_F_FORK()
845 ASSERT_EQ(0, test_open(file1_s1d3, O_WRONLY)); in TEST_F_FORK()
858 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
864 ASSERT_EQ(EACCES, test_open(file1_s1d2, O_WRONLY)); in TEST_F_FORK()
870 ASSERT_EQ(0, test_open(file1_s1d3, O_WRONLY)); in TEST_F_FORK()
1027 ASSERT_EQ(0, test_open(file2_s1d3, O_WRONLY)); in TEST_F_FORK()
1040 ASSERT_EQ(0, test_open(file2_s1d3, O_WRONLY)); in TEST_F_FORK()
1051 ASSERT_EQ(0, test_open(file2_s1d3, O_WRONLY)); in TEST_F_FORK()
1067 ASSERT_EQ(EACCES, test_open(file1_s1d3, O_WRONLY)); in TEST_F_FORK()
1069 ASSERT_EQ(EACCES, test_open(file2_s1d3, O_WRONLY)); in TEST_F_FORK()
1079 ASSERT_EQ(EACCES, test_open(file1_s1d3, O_WRONLY)); in TEST_F_FORK()
1080 ASSERT_EQ(EACCES, test_open(file2_s1d3, O_WRONLY)); in TEST_F_FORK()
1091 ASSERT_EQ(EACCES, test_open(file1_s1d3, O_WRONLY)); in TEST_F_FORK()
1092 ASSERT_EQ(EACCES, test_open(file2_s1d3, O_WRONLY)); in TEST_F_FORK()
1105 ASSERT_EQ(EACCES, test_open(file1_s1d3, O_WRONLY)); in TEST_F_FORK()
1106 ASSERT_EQ(EACCES, test_open(file2_s1d3, O_WRONLY)); in TEST_F_FORK()
1125 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
1129 ASSERT_EQ(EACCES, test_open(file1_s1d2, O_WRONLY)); in TEST_F_FORK()
1134 ASSERT_EQ(EACCES, test_open(file1_s1d3, O_WRONLY)); in TEST_F_FORK()
1159 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
1163 ASSERT_EQ(EACCES, test_open(file1_s1d2, O_WRONLY)); in TEST_F_FORK()
1168 ASSERT_EQ(EACCES, test_open(file1_s1d3, O_WRONLY)); in TEST_F_FORK()
1180 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
1184 ASSERT_EQ(EACCES, test_open(file1_s1d2, O_WRONLY)); in TEST_F_FORK()
1189 ASSERT_EQ(EACCES, test_open(file1_s1d3, O_WRONLY)); in TEST_F_FORK()
1210 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
1214 ASSERT_EQ(EACCES, test_open(file1_s1d2, O_WRONLY)); in TEST_F_FORK()
1219 ASSERT_EQ(EACCES, test_open(file1_s1d3, O_WRONLY)); in TEST_F_FORK()
1703 dst_fd = open(dst_path, O_WRONLY | O_TRUNC | O_CLOEXEC); in copy_binary()
3136 proc_fd = open_proc_fd(_metadata, pipe_fds[1], O_WRONLY | O_CLOEXEC); in TEST_F_FORK()
3296 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
3300 ASSERT_EQ(EACCES, test_open(file1_s1d2, O_WRONLY)); in TEST_F_FORK()
3318 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK()
3322 ASSERT_EQ(EACCES, test_open(file1_s1d2, O_WRONLY)); in TEST_F_FORK()
3327 ASSERT_EQ(EACCES, test_open(file1_s2d1, O_WRONLY)); in TEST_F_FORK()
3342 ASSERT_EQ(EACCES, test_open(file1_s1d2, O_WRONLY)); in TEST_F_FORK()
3346 ASSERT_EQ(EACCES, test_open(file1_s1d3, O_WRONLY)); in TEST_F_FORK()
3351 ASSERT_EQ(EACCES, test_open(file1_s2d2, O_WRONLY)); in TEST_F_FORK()
3355 ASSERT_EQ(EACCES, test_open(bind_file1_s1d3, O_WRONLY)); in TEST_F_FORK()
3366 ASSERT_EQ(EACCES, test_open(file1_s1d3, O_WRONLY)); in TEST_F_FORK()
3370 ASSERT_EQ(EACCES, test_open(bind_file1_s1d3, O_WRONLY)); in TEST_F_FORK()
3781 ASSERT_EQ(EACCES, test_open(path_entry, O_WRONLY)); in TEST_F_FORK()
3789 ASSERT_EQ(EACCES, test_open(path_entry, O_WRONLY)); in TEST_F_FORK()
3794 ASSERT_EQ(EACCES, test_open(path_entry, O_WRONLY)); in TEST_F_FORK()
3802 ASSERT_EQ(EACCES, test_open(path_entry, O_WRONLY)); in TEST_F_FORK()
3871 ASSERT_EQ(EACCES, test_open(path_entry, O_WRONLY)); in TEST_F_FORK()
3876 ASSERT_EQ(EACCES, test_open(path_entry, O_WRONLY)); in TEST_F_FORK()