Searched refs:stream_pathname_socket (Results 1 – 1 of 1) sorted by relevance
| /linux/tools/testing/selftests/landlock/ |
| H A D | scoped_abstract_unix_test.c | 850 int stream_pathname_socket, dgram_pathname_socket, in TEST_F() local 900 stream_pathname_socket = socket(AF_UNIX, SOCK_STREAM, 0); in TEST_F() 901 ASSERT_LE(0, stream_pathname_socket); in TEST_F() 903 connect(stream_pathname_socket, &stream_pathname_addr, in TEST_F() 905 ASSERT_EQ(1, write(stream_pathname_socket, "b", 1)); in TEST_F() 906 EXPECT_EQ(0, close(stream_pathname_socket)); in TEST_F() 970 stream_pathname_socket = socket(AF_UNIX, SOCK_STREAM, 0); in TEST_F() 971 ASSERT_LE(0, stream_pathname_socket); in TEST_F() 972 ASSERT_EQ(0, bind(stream_pathname_socket, &stream_pathname_addr, in TEST_F() 974 ASSERT_EQ(0, listen(stream_pathname_socket, backlog)); in TEST_F() [all …]
|