Lines Matching refs:pidfd
151 static inline int sys_pidfd_send_signal(int pidfd, int sig, siginfo_t *info, in sys_pidfd_send_signal() argument
153 return syscall(__NR_pidfd_send_signal, pidfd, sig, info, flags); in sys_pidfd_send_signal()
496 int pidfd; member
892 if (procp->pidfd >= 0 && procp->pidfd != last_kill_pid_or_fd) { in pid_remove()
893 close(procp->pidfd); in pid_remove()
1124 int pidfd = -1; in cmd_procprio() local
1127 pidfd = TEMP_FAILURE_RETRY(sys_pidfd_open(params.pid, 0)); in cmd_procprio()
1128 if (pidfd < 0) { in cmd_procprio()
1141 procp->pidfd = pidfd; in cmd_procprio()
2048 int pidfd = procp->pidfd; in kill_one_process() local
2079 if (pidfd < 0) { in kill_one_process()
2083 start_wait_for_proc_kill(pidfd); in kill_one_process()
2084 r = sys_pidfd_send_signal(pidfd, SIGKILL, NULL, 0); in kill_one_process()
2973 int pidfd; in init() local
3056 pidfd = TEMP_FAILURE_RETRY(sys_pidfd_open(getpid(), 0)); in init()
3057 if (pidfd < 0) { in init()
3061 close(pidfd); in init()