A parent process doesn't suspend even if the process traced by the strace command executes vfork
Issue
- When a target process which calls vfork is traced by strace command, the parent process does not suspend until child process calls _exit.
-
This behavior does not match the following description in vfork(2):
vfork() differs from fork() in that the parent is suspended until the child makes a call to execve(2) or _exit(2).
Environment
- Red Hat Enterprise Linux 5 and 6
- strace
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
