Lines Matching refs:pidfd
51 static void run_negative_tests(int pidfd)
54 if (!syscall(__NR_process_mrelease, pidfd, (unsigned int)-1) ||
62 if (!syscall(__NR_process_mrelease, pidfd, 0) || errno != EINVAL)
79 int pipefd[2], pidfd;
89 /* Test a wrong pidfd */
95 ksft_exit_fail_msg("process_mrelease with wrong pidfd: %s",
137 pidfd = syscall(__NR_pidfd_open, pid, 0);
138 if (pidfd < 0) {
145 run_negative_tests(pidfd);
150 success = (syscall(__NR_process_mrelease, pidfd, 0) == 0);
171 close(pidfd);