Home
last modified time | relevance | path

Searched refs:bind_variant (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/landlock/
H A Dnet_test.c214 static int bind_variant(const int sock_fd, in bind_variant() function
479 ret = bind_variant(bind_fd, srv); in test_bind_and_connect()
665 ret = bind_variant(bind_fd, &self->unspec_any0); in TEST_F()
691 ret = bind_variant(bind_fd, &self->unspec_any0); in TEST_F()
706 ret = bind_variant(bind_fd, &self->unspec_srv0); in TEST_F()
733 EXPECT_EQ(0, bind_variant(bind_fd, &self->srv0)); in TEST_F()
925 EXPECT_EQ(-EINVAL, bind_variant(unix_stream_fd, &self->srv0)); in TEST_F()
929 EXPECT_EQ(-EINVAL, bind_variant(unix_stream_fd, &self->srv1)) in TEST_F()
936 EXPECT_EQ(-EINVAL, bind_variant(unix_dgram_fd, &self->srv0)); in TEST_F()
940 EXPECT_EQ(-EINVAL, bind_variant(unix_dgram_fd, &self->srv1)); in TEST_F()
[all …]