Home
last modified time | relevance | path

Searched refs:pipe_parent (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/landlock/
H A Dptrace_test.c259 int pipe_child[2], pipe_parent[2]; in TEST_F() local
314 ASSERT_EQ(0, pipe2(pipe_parent, O_CLOEXEC)); in TEST_F()
327 ASSERT_EQ(0, close(pipe_parent[1])); in TEST_F()
333 ASSERT_EQ(1, read(pipe_parent[0], &buf_child, 1)); in TEST_F()
377 ASSERT_EQ(1, read(pipe_parent[0], &buf_child, 1)); in TEST_F()
383 ASSERT_EQ(0, close(pipe_parent[0])); in TEST_F()
388 ASSERT_EQ(1, write(pipe_parent[1], ".", 1)); in TEST_F()
431 ASSERT_EQ(1, write(pipe_parent[1], ".", 1)); in TEST_F()