Searched refs:unix_dgram_fd (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/landlock/ |
H A D | net_test.c | 890 int unix_stream_fd, unix_dgram_fd; in TEST_F() local 921 unix_dgram_fd = socket(AF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC, 0); in TEST_F() 922 ASSERT_LE(0, unix_dgram_fd); in TEST_F() 936 EXPECT_EQ(-EINVAL, bind_variant(unix_dgram_fd, &self->srv0)); in TEST_F() 937 EXPECT_EQ(-EINVAL, connect_variant(unix_dgram_fd, &self->srv0)); in TEST_F() 940 EXPECT_EQ(-EINVAL, bind_variant(unix_dgram_fd, &self->srv1)); in TEST_F() 941 EXPECT_EQ(-EINVAL, connect_variant(unix_dgram_fd, &self->srv1)); in TEST_F()
|