Searched refs:stream_pathname_socket (Results 1 – 1 of 1) sorted by relevance
/linux-6.14.4/tools/testing/selftests/landlock/ |
D | scoped_abstract_unix_test.c | 677 int stream_pathname_socket, dgram_pathname_socket, in TEST_F() local 731 stream_pathname_socket = socket(AF_UNIX, SOCK_STREAM, 0); in TEST_F() 732 ASSERT_LE(0, stream_pathname_socket); in TEST_F() 733 ASSERT_EQ(0, connect(stream_pathname_socket, in TEST_F() 735 ASSERT_EQ(1, write(stream_pathname_socket, "b", 1)); in TEST_F() 736 EXPECT_EQ(0, close(stream_pathname_socket)); in TEST_F() 799 stream_pathname_socket = socket(AF_UNIX, SOCK_STREAM, 0); in TEST_F() 800 ASSERT_LE(0, stream_pathname_socket); in TEST_F() 801 ASSERT_EQ(0, bind(stream_pathname_socket, &stream_pathname_addr, in TEST_F() 803 ASSERT_EQ(0, listen(stream_pathname_socket, backlog)); in TEST_F() [all …]
|