xfork/xvfork

Denys Vlasenko vda.linux at googlemail.com
Sat Jul 3 23:00:13 UTC 2010


On Thursday 01 July 2010 11:05, Pascal Bellard wrote:
> Hello,
> 
> Code shrink using xfork/xvfork (300~500 bytes)
> 
> defconfig case :
>    text    data     bss     dec     hex filename
>  716047    2077    9064  727188   b1894 busybox_old
>  715588    2077    9064  726729   b16c9 busybox_unstripped

Ralf is right: returning after vfork() messes up the stack.
I did test it - it does not work.

Please resubmit with only xfork().
-- 
vda


More information about the busybox mailing list