Lines Matching refs:pidfd
17 #include "pidfd.h"
164 static int verify_fdinfo(int pidfd, struct error *err, const char *prefix,
181 snprintf(path, sizeof(path), "/proc/self/fdinfo/%d", pidfd);
185 pidfd);
211 prefix, pidfd);
219 int pidfd;
226 /* verify that we can not resolve the pidfd for a process
243 pidfd = *(int *)args;
244 r = verify_fdinfo(pidfd, &err, "NSpid:", 6, "\t0\n");
256 const char *test_name = "pidfd check for NSpid in fdinfo";
262 /* Pass the pidfd representing the first child to the
264 * which means that the fdinfo NSpid entry for the pidfd
289 const char *test_name = "pidfd check fdinfo for dead process";