Searched refs:in_same_namespace (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/tools/testing/selftests/pidfd/ |
D | pidfd_setns_test.c | 314 static int in_same_namespace(int ns_fd1, pid_t pid2, const char *ns) in in_same_namespace() function 373 ASSERT_EQ(in_same_namespace(self->nsfds[i], pid, info->name), 1); in TEST_F() 403 ASSERT_EQ(in_same_namespace(nsfd, pid, info->name), 1) { in TEST_F() 439 ASSERT_EQ(in_same_namespace(nsfd, pid, info->name), 1) { in TEST_F() 484 ASSERT_EQ(in_same_namespace(nsfd, pid, info->name), 1) { in TEST_F()
|