[Openswan dev] patch for bug 1067
David McCullough
David_Mccullough at securecomputing.com
Sun Oct 25 22:01:22 EDT 2009
Jivin Paul Wouters lays it down ...
> On Sun, 25 Oct 2009, D. Hugh Redelmeier wrote:
>
> > A patch for this bug report has been adopted.
> > https://gsoc.xelerance.com/issues/1067
> >
> > MCR mentioned that there appeared to be problems with it so I had a
> > look.
> >
> > Systems without popen(3) are broken. So this workaround does not deserve
> > to be first class. Perhaps #ifdef NO_POPEN.
> >
> > Worse, apparently there is a popen, but it always returns failure.
> > That is crazy! So crazy that it deserves investigation (but not by
> > me).
This is a pretty crazy "linux". Not sure I would invest too much into
supporting such misfeatures myself.
A better solution may be to add a "sysdep" dir to libopenswan where strange
OS's can hide this junk :-)
Attached is a LGPL popen implementation that could be used if you wanted to go
that route (it even works on uClinux without an MMU).
Cheers,
Davidm
--
David McCullough, david_mccullough at securecomputing.com, Ph:+61 734352815
McAfee - SnapGear http://www.snapgear.com http://www.uCdot.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: popen.c
Type: text/x-csrc
Size: 815 bytes
Desc: not available
Url : http://lists.openswan.org/pipermail/dev/attachments/20091026/dfa56f79/attachment.bin
More information about the Dev
mailing list