Searched refs:socket_fds (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/landlock/ |
H A D | base_test.c | 267 int socket_fds[2]; in TEST() local 287 socket_fds)); in TEST() 288 ASSERT_EQ(0, send_fd(socket_fds[0], ruleset_fd_tx)); in TEST() 289 ASSERT_EQ(0, close(socket_fds[0])); in TEST() 295 const int ruleset_fd_rx = recv_fd(socket_fds[1]); in TEST() 298 ASSERT_EQ(0, close(socket_fds[1])); in TEST() 315 ASSERT_EQ(0, close(socket_fds[1])); in TEST()
|
H A D | fs_test.c | 3841 int socket_fds[2]; in TEST_F_FORK() local 3844 socket_fds)); in TEST_F_FORK() 3873 ASSERT_EQ(0, send_fd(socket_fds[0], fd)); in TEST_F_FORK() 3877 ASSERT_EQ(0, close(socket_fds[0])); in TEST_F_FORK() 3884 fd = recv_fd(socket_fds[1]); in TEST_F_FORK() 3896 ASSERT_EQ(0, close(socket_fds[0])); in TEST_F_FORK() 3897 ASSERT_EQ(0, close(socket_fds[1])); in TEST_F_FORK()
|