Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 100587 - vfork returns 0 to both child and parent
vfork returns 0 to both child and parent
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
i386 Linux
high Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2003-07-23 12:09 EDT by Jorge Dionisio
Modified: 2007-03-27 00:08 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-30 11:41:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jorge Dionisio 2003-07-23 12:09:26 EDT
Description of problem:

The newest redhat kernel comes with a vfork implementation that returns 0 to
both child and parent this could cause programs that use vfork to crash or to

Version-Release number of selected component (if applicable):

Additional info:
Add /usr/lib/vfork.so to /etc/ld.so.preload and create a shared library with
this source code:
#include <sys/types.h>
#include <sys/unistd.h>
pid_t vfork(void) {
   return fork();
Comment 1 Bugzilla owner 2004-09-30 11:41:20 EDT
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem

The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, 
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/

Note You need to log in before you can comment on or make changes to this bug.