Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/pidfd/
Dpidfd_test.c246 pid_t recycled_pid; in test_pidfd_send_signal_recycled_pid_fail() local
253 recycled_pid = fork(); in test_pidfd_send_signal_recycled_pid_fail()
254 if (recycled_pid < 0) in test_pidfd_send_signal_recycled_pid_fail()
257 if (recycled_pid == 0) { in test_pidfd_send_signal_recycled_pid_fail()
270 ret = kill(recycled_pid, SIGSTOP); in test_pidfd_send_signal_recycled_pid_fail()
273 (void)wait_for_pid(recycled_pid); in test_pidfd_send_signal_recycled_pid_fail()
282 if (recycled_pid == PID_RECYCLE) { in test_pidfd_send_signal_recycled_pid_fail()
292 ret = kill(recycled_pid, SIGCONT); in test_pidfd_send_signal_recycled_pid_fail()
294 (void)kill(recycled_pid, SIGKILL); in test_pidfd_send_signal_recycled_pid_fail()
296 if (wait_for_pid(recycled_pid)) in test_pidfd_send_signal_recycled_pid_fail()
[all …]