Lines Matching refs:fcntl
68 TEST_COMPARE (fcntl (i, F_GETFL), -1); in close_range_test_common()
72 TEST_VERIFY (fcntl (i, F_GETFL) > -1); in close_range_test_common()
85 TEST_COMPARE (fcntl (i, F_GETFL), -1); in close_range_test_common()
89 TEST_VERIFY (fcntl (i, F_GETFL) > -1); in close_range_test_common()
95 TEST_COMPARE (fcntl (i, F_GETFL), -1); in close_range_test_common()
98 TEST_VERIFY (fcntl (maximum_fd, F_GETFL) > -1); in close_range_test_common()
102 TEST_COMPARE (fcntl (maximum_fd, F_GETFL), -1); in close_range_test_common()
154 TEST_VERIFY (fcntl (i, F_GETFL) < 0); in close_range_test_subprocess()
196 TEST_VERIFY (fcntl (i, F_GETFL) > -1); in close_range_unshare_test()
237 int flags = fcntl (i, F_GETFD); in close_range_cloexec_test()
242 TEST_VERIFY (fcntl (i, F_GETFL) > -1); in close_range_cloexec_test()
252 int flags = fcntl (i, F_GETFD); in close_range_cloexec_test()
262 TEST_VERIFY (fcntl (i, F_GETFL) > -1); in close_range_cloexec_test()
269 int flags = fcntl (i, F_GETFD); in close_range_cloexec_test()
273 TEST_VERIFY (fcntl (maximum_fd, F_GETFL) > -1); in close_range_cloexec_test()
278 int flags = fcntl (maximum_fd, F_GETFD); in close_range_cloexec_test()