Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/pidfd/
Dpidfd_fdinfo_test.c149 static int verify_fdinfo(int pidfd, struct error *err, const char *prefix, in verify_fdinfo() function
229 r = verify_fdinfo(pidfd, &err, "NSpid:", 6, "\t0\n"); in child_fdinfo_nspid_test()
258 verify_fdinfo(a.fd, &err, "NSpid:", 6, "\t%d\t%d\n", a.pid, 1); in test_pidfd_fdinfo_nspid()
259 verify_fdinfo(b.fd, &err, "NSpid:", 6, "\t%d\t%d\n", b.pid, 1); in test_pidfd_fdinfo_nspid()
281 verify_fdinfo(a.fd, &err, "Pid:", 4, "\t-1\n"); in test_pidfd_dead_fdinfo()
282 verify_fdinfo(a.fd, &err, "NSpid:", 6, "\t-1\n"); in test_pidfd_dead_fdinfo()