Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/pidfd/
H A Dpidfd_setns_test.c56 int nsfds[PIDFD_NS_MAX]; in FIXTURE() local
131 self->nsfds[i] = -EBADF; in FIXTURE_SETUP()
144 self->nsfds[i] = openat(proc_fd, info->name, O_RDONLY | O_CLOEXEC); in FIXTURE_SETUP()
145 if (self->nsfds[i] < 0) { in FIXTURE_SETUP()
238 if (self->nsfds[i] < 0) { in FIXTURE_SETUP()
285 if (self->nsfds[i] >= 0) in FIXTURE_TEARDOWN()
286 close(self->nsfds[i]); in FIXTURE_TEARDOWN()
372 if (self->nsfds[i] >= 0) in TEST_F()
400 nsfd = self->nsfds[i]; in TEST_F()
436 nsfd = self->nsfds[i]; in TEST_F()
[all …]