mirror of
https://github.com/sheumann/hush.git
synced 2025-01-10 16:29:44 +00:00
Stephen Heumann
c37475dcbc
Change vfork_and_run implementation to inspect the kernel's process tables to determine whether the child has really exec'd or exited.
This should avoid strange behavior due to races when the parent has resumed but the child is still running the exec* code in libc, which mainly manifests itself when running at low speed. We also change to signaling the child's completion with SIGALRM, and setting an extra alarm in the parent in case the child doesn't actually do it.
…
Description
Languages
C
98.6%
Makefile
0.7%
Shell
0.6%
C++
0.1%