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

Sam Hartman via RT rt-comment at krbdev.mit.edu
Thu Jun 5 19:09:45 EDT 2003



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