[PATCH] sulogin size reduction and new logging

Rob Landley rob at landley.net
Fri Sep 8 00:06:03 UTC 2006


On Thursday 07 September 2006 6:40 pm, Tito wrote:
> Hi,
> this patch reduces the size of sulogin
> and moves it to the new syslog mode.
> Bloatcheck is:
> function                                             old     new   delta
> bb_getopt_ulflags                                      -     884    +884
> bb_verror_msg                                        120     218     +98
...
> sulogin_main                                         713     444    -269
> bb_common_bufsiz1                                   8193       -   -8193
> ------------------------------------------------------------------------------
> (add/remove: 13/1 grow/shrink: 1/2 up/down: 1310/-8522)     Total: -7212 
bytes

This is kind of misleading. :)

I generally give the size difference on a "make defconfig" run, because we 
don't want to penalize applets for sucking in common code out of libbb...

I'll look at the patch in a bit...

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list