Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/landlock/
H A Dfs_test.c4401 int readiness_pipe[2]; in test_connect_to_parent() local
4410 ASSERT_EQ(0, pipe2(readiness_pipe, O_CLOEXEC)); in test_connect_to_parent()
4424 EXPECT_EQ(0, close(readiness_pipe[1])); in test_connect_to_parent()
4425 EXPECT_EQ(1, read(readiness_pipe[0], &buf, 1)); in test_connect_to_parent()
4426 EXPECT_EQ(0, close(readiness_pipe[0])); in test_connect_to_parent()
4454 EXPECT_EQ(0, close(readiness_pipe[0])); in test_connect_to_parent()
4455 EXPECT_EQ(sizeof(buf), write(readiness_pipe[1], buf, sizeof(buf))); in test_connect_to_parent()
4456 EXPECT_EQ(0, close(readiness_pipe[1])); in test_connect_to_parent()
4481 int readiness_pipe[2]; in test_connect_to_child() local
4493 ASSERT_EQ(0, pipe2(readiness_pipe, O_CLOEXEC)); in test_connect_to_child()
[all …]