[PATCH] dropbear-051: uClinux vfork

Mike Frysinger vapier at gentoo.org
Thu Oct 23 07:46:10 WST 2008


On Wednesday 22 October 2008, Farrell Aultman wrote:
> Again, it would be better to do something like the following in includes.h:
> +#ifdef __uClinux__
> +#define exit(x) _exit(x)
> +#endif

no it wouldnt.  _exit() is *only* for when the child of a vfork() needs to 
exit without calling an exec function.  blindly macroing it away would affect 
every other case as well.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20081022/42ba7c00/attachment-0001.pgp 


More information about the Dropbear mailing list