A parent process doesn't suspend even if the process traced by the strace command executes vfork

Solution Verified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content