Searched refs:thread_pipe (Results 1 – 1 of 1) sorted by relevance
| /linux/tools/testing/selftests/landlock/ |
| H A D | scoped_signal_test.c | 274 int thread_pipe[2]; in TEST() local 277 ASSERT_EQ(0, pipe2(thread_pipe, O_CLOEXEC)); in TEST() 280 &thread_pipe[0])); in TEST() 286 EXPECT_EQ(1, write(thread_pipe[1], ".", 1)); in TEST() 291 EXPECT_EQ(0, close(thread_pipe[0])); in TEST() 292 EXPECT_EQ(0, close(thread_pipe[1])); in TEST() 299 int thread_pipe[2]; in TEST() local 302 ASSERT_EQ(0, pipe2(thread_pipe, O_CLOEXEC)); in TEST() 308 &thread_pipe[0])); in TEST() 311 EXPECT_EQ(1, write(thread_pipe[1], ".", 1)); in TEST() [all …]
|