[krbdev.mit.edu #1547] Using fork instead of vfork

Ezra Peisach via RT rt-comment at krbdev.mit.edu
Fri Jun 6 01:38:44 EDT 2003


I have the same interpretation of the problem - vfork returning 0 in
parent and child. This would not be the first glibc bug I have found in
redhat 9 - I just wish that they would issue fixed glibcs... I will
continue to track it down and if it is a glibc problem submit it to
redhat.


On Thu, 2003-06-05 at 19:09, Sam Hartman via RT wrote:
> There appears to be some problem using vfork in ftpd_popen.  The
> symptoms seem to suggest that ls is getting a broken pipe signal.
> 
> Two possibilities exist.  Some strace output suggests that vfork is
> returning 0 in the parent.  This would explain the problem, but would
> be a fairly serious bug in Redhat.  However strace does suggest that
> vfork is returning 0 in the parent.
> 
> An alternate explanation is that modifying file descriptors in the
> child after calling vfork does not work well.
> 
> 
> We have decided to use fork instead of vfork.
> 



More information about the krb5-bugs mailing list