Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/pidfd/
H A Dpidfd_test.c298 pid_t recycled_pid; in test_pidfd_send_signal_recycled_pid_fail() local
305 recycled_pid = fork(); in test_pidfd_send_signal_recycled_pid_fail()
306 if (recycled_pid < 0) in test_pidfd_send_signal_recycled_pid_fail()
309 if (recycled_pid == 0) { in test_pidfd_send_signal_recycled_pid_fail()
322 ret = kill(recycled_pid, SIGSTOP); in test_pidfd_send_signal_recycled_pid_fail()
325 (void)wait_for_pid(recycled_pid); in test_pidfd_send_signal_recycled_pid_fail()
334 if (recycled_pid == PID_RECYCLE) { in test_pidfd_send_signal_recycled_pid_fail()
344 ret = kill(recycled_pid, SIGCONT); in test_pidfd_send_signal_recycled_pid_fail()
346 (void)kill(recycled_pid, SIGKILL); in test_pidfd_send_signal_recycled_pid_fail()
348 if (wait_for_pid(recycled_pid)) in test_pidfd_send_signal_recycled_pid_fail()
[all …]