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 | 787 int stream_pathname_socket, dgram_pathname_socket, in TEST_F() local 837 stream_pathname_socket = socket(AF_UNIX, SOCK_STREAM, 0); in TEST_F() 838 ASSERT_LE(0, stream_pathname_socket); in TEST_F() 840 connect(stream_pathname_socket, &stream_pathname_addr, in TEST_F() 842 ASSERT_EQ(1, write(stream_pathname_socket, "b", 1)); in TEST_F() 843 EXPECT_EQ(0, close(stream_pathname_socket)); in TEST_F() 907 stream_pathname_socket = socket(AF_UNIX, SOCK_STREAM, 0); in TEST_F() 908 ASSERT_LE(0, stream_pathname_socket); in TEST_F() 909 ASSERT_EQ(0, bind(stream_pathname_socket, &stream_pathname_addr, in TEST_F() 911 ASSERT_EQ(0, listen(stream_pathname_socket, backlog)); in TEST_F() [all …]
|