Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/pidfd/
H A Dpidfd_setns_test.c454 int ns_fd2 = -EBADF; in in_same_namespace() local
462 ns_fd2 = preserve_ns(pid2, ns); in in_same_namespace()
463 if (ns_fd2 < 0) in in_same_namespace()
466 ret = fstat(ns_fd2, &ns_st2); in in_same_namespace()
467 close(ns_fd2); in in_same_namespace()