Searched refs:stream_pathname_socket (Results 1 – 1 of 1) sorted by relevance
| /linux-6.15/tools/testing/selftests/landlock/ |
| H A D | scoped_abstract_unix_test.c | 788 int stream_pathname_socket, dgram_pathname_socket, in TEST_F() local 842 stream_pathname_socket = socket(AF_UNIX, SOCK_STREAM, 0); in TEST_F() 843 ASSERT_LE(0, stream_pathname_socket); in TEST_F() 844 ASSERT_EQ(0, connect(stream_pathname_socket, in TEST_F() 846 ASSERT_EQ(1, write(stream_pathname_socket, "b", 1)); in TEST_F() 847 EXPECT_EQ(0, close(stream_pathname_socket)); in TEST_F() 910 stream_pathname_socket = socket(AF_UNIX, SOCK_STREAM, 0); in TEST_F() 911 ASSERT_LE(0, stream_pathname_socket); in TEST_F() 914 ASSERT_EQ(0, listen(stream_pathname_socket, backlog)); in TEST_F() 943 data_socket = accept(stream_pathname_socket, NULL, NULL); in TEST_F() [all …]
|