Lines Matching refs:close

257 	if (close(fd) != 0)  in test_open_rel()
313 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
321 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
329 ASSERT_EQ(0, close(path_beneath.parent_fd)); in TEST_F_FORK()
336 ASSERT_EQ(0, close(path_beneath.parent_fd)); in TEST_F_FORK()
370 ASSERT_EQ(0, close(path_beneath.parent_fd)); in TEST_F_FORK()
376 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
426 ASSERT_EQ(0, close(path_beneath.parent_fd)); in TEST_F_FORK()
447 ASSERT_EQ(0, close(path_beneath.parent_fd)); in add_path_beneath()
545 ASSERT_EQ(0, close(path_beneath.parent_fd)); in TEST_F_FORK()
567 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
590 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
612 ASSERT_EQ(0, close(reg_fd)); in TEST_F_FORK()
619 ASSERT_EQ(0, close(reg_fd)); in TEST_F_FORK()
636 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
669 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
715 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
726 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
836 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
847 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
858 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
870 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
885 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
897 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
909 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1009 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1060 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1091 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1125 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1146 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1175 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1203 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1213 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1233 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1261 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1280 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1314 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1349 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1394 ASSERT_EQ(0, close(ruleset_fd)); in test_relative_path()
1473 ASSERT_EQ(0, close(dirfd)); in test_relative_path()
1474 ASSERT_EQ(0, close(ruleset_fd)); in test_relative_path()
1516 ASSERT_EQ(0, close(src_fd)); in copy_binary()
1517 ASSERT_EQ(0, close(dst_fd)); in copy_binary()
1563 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1597 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1633 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1711 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1766 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1797 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1835 ASSERT_EQ(0, close(ruleset_fd)); in test_make_file()
1919 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1958 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
1995 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
2005 ASSERT_EQ(0, close(proc_fd)); in TEST_F_FORK()
2014 ASSERT_EQ(0, close(reg_fd)); in TEST_F_FORK()
2036 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
2057 ASSERT_EQ(0, close(proc_fd)); in TEST_F_FORK()
2067 ASSERT_EQ(0, close(proc_fd)); in TEST_F_FORK()
2069 ASSERT_EQ(0, close(pipe_fds[0])); in TEST_F_FORK()
2070 ASSERT_EQ(0, close(pipe_fds[1])); in TEST_F_FORK()
2204 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
2226 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
2250 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
2274 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
2654 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
2700 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
2717 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
2742 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()
2769 ASSERT_EQ(0, close(ruleset_fd)); in TEST_F_FORK()