mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
Some of the ptrace tests need to wait for a child process to become a zombie before preceding. The parent process polls the child process via the kern.proc.pid sysctl to wait for it to become a zombie. Previously the code polled until the sysctl failed with ESRCH. Now it will poll until either the sysctl fails with ESRCH (for compatiblity with older kernels) or returns a kinfo_proc structure with the ki_stat field set to SZOMB. Reported by: Jenkins Tested by: markj Discussed with: mjg MFC after: 1 week |
||
|---|---|---|
| .. | ||
| acct | ||
| execve | ||
| pipe | ||
| coredump_phnum_helper.c | ||
| coredump_phnum_test.sh | ||
| kern_copyin.c | ||
| kern_descrip_test.c | ||
| libkern_crc32.c | ||
| Makefile | ||
| Makefile.depend | ||
| Makefile.inc | ||
| ptrace_test.c | ||
| reaper.c | ||
| unix_passfd_test.c | ||
| unix_seqpacket_test.c | ||
| waitpid_nohang.c | ||