<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/applets, branch 1_28_2</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=1_28_2</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=1_28_2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2017-01-06T18:16:36+00:00</updated>
<entry>
<title>Automatically disable FEATURE_COMPRESS_USAGE for small builds.</title>
<updated>2017-01-06T18:16:36+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-01-06T18:16:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=fe93624fb69e3858ebaea2d9e53e0522c1025698'/>
<id>urn:sha1:fe93624fb69e3858ebaea2d9e53e0522c1025698</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>build system: always rewrite NUM_APPLETS.h</title>
<updated>2016-08-23T18:21:36+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2016-08-23T18:21:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0dddbc1a59795a77679d8c5ef48a2795cb470563'/>
<id>urn:sha1:0dddbc1a59795a77679d8c5ef48a2795cb470563</id>
<content type='text'>
Conditional rewrite can keep NUM_APPLETS.h mtime old,
this causes make to try to regenerate it at every invocation.

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>build system: different fix for include/applet_tables.h/include/NUM_APPLETS.h</title>
<updated>2016-08-21T20:00:20+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2016-08-21T20:00:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d8e61bbf13d0cf38d477255cfd5dc71c5d51d575'/>
<id>urn:sha1:d8e61bbf13d0cf38d477255cfd5dc71c5d51d575</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>build system: fix include/NUM_APPLETS.h generation</title>
<updated>2016-08-14T00:54:27+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2016-08-14T00:54:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9e5820a86277818c2f83c11c2aa76d7f0a38283e'/>
<id>urn:sha1:9e5820a86277818c2f83c11c2aa76d7f0a38283e</id>
<content type='text'>
TBH, it's more like "work around my bad makefile-fu" than "fix"...

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>config: disentangle PREFER_APPLETS from SH_STANDALONE and SH_NOFORK</title>
<updated>2016-07-22T16:48:38+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2016-07-22T16:48:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0fb0045aa9261be1dda49dfdfb95cbc585402a8b'/>
<id>urn:sha1:0fb0045aa9261be1dda49dfdfb95cbc585402a8b</id>
<content type='text'>
On user request.
I thought enabling/disabling them all together is more consistent.
Evidently, some people do want them to be separately selectable.

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>build system: fix a few warnings for allnoconfig build</title>
<updated>2016-07-05T19:43:28+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2016-07-05T19:43:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f4f8fe841cf2df761eaade204a13e6fde6639666'/>
<id>urn:sha1:f4f8fe841cf2df761eaade204a13e6fde6639666</id>
<content type='text'>
Not that allnoconfig build is useful in any way...

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>build system: finer-grained selection of search speedup table.</title>
<updated>2016-04-02T13:18:26+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2016-04-02T13:18:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=dd02a05e082b96d76707964179921107cd43cdd8'/>
<id>urn:sha1:dd02a05e082b96d76707964179921107cd43cdd8</id>
<content type='text'>
KNOWN_APPNAME_OFFSETS=8 versus KNOWN_APPNAME_OFFSETS=0:

function                                             old     new   delta
find_applet_by_name                                   55     136     +81
applet_nameofs                                         -      14     +14
run_applet_and_exit                                  757     758      +1

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>applet_tables: save space by removing applet name offsets</title>
<updated>2016-03-29T22:44:11+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-03-29T22:42:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=610c4c385b38280c7bde7a48d95ec019cbfe1ab4'/>
<id>urn:sha1:610c4c385b38280c7bde7a48d95ec019cbfe1ab4</id>
<content type='text'>
The array applet_nameofs consumes two bytes per applet.  It encodes

   nofork/noexec flags
   suid flags
   the offset of the applet name in the applet_name string

Change the applet_table build tool to store the flags in two separate
arrays (applet_flags and applet_suid).  Replace applet_nameofs[] with a
smaller version that only stores a limited number of offsets.

This requires changes to the macros APPLET_IS_NOFORK, APPLET_IS_NOEXEC
and APPLET_SUID.

   According to Valgrind the original find_applet_by_name required
   353 cycles per call, averaged over all names.  Adjusting the number
   of known offsets allows space to be traded off against execution time:

      KNOWN_OFFSETS     cycles     bytes (wrt KNOWN_OFFSETS = 0)

           0             9057        -
           2             4604       32
           4             2407       75
           8             1342       98
          16              908      130
          32              884      194

   This patch uses KNOWN_OFFSETS = 8.

v2:
   Remove some dead code from the applet_table tool;
   Treat the applet in the middle of the table as a special case.

v3:
   Use the middle applet to adjust the start of the linear search as
   well as the last applet found.

v4:
   Use an augmented linear search in find_applet_by_name.
   Drop the special treatment of the middle name from get_applet_name:
   most of the advantage now derives from the last stored value.

v5:
   Don't store index in applet_nameofs, it can be calculated.

v6:
   Tweaks by Denys

function                                             old     new   delta
find_applet_by_name                                   25     125    +100
applet_suid                                            -      92     +92
run_applet_no_and_exit                               452     460      +8
run_applet_and_exit                                  695     697      +2
applet_name_compare                                   31       -     -31
applet_nameofs                                       734      14    -720
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 3/1 up/down: 202/-751)         Total: -549 bytes
   text       data        bss        dec        hex    filename
 925464        906      17160     943530      e65aa    busybox_old
 924915        906      17160     942981      e6385    busybox_unstripped

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Aboriginal linux/musl build fixes</title>
<updated>2015-10-05T09:15:43+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2015-10-05T09:15:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5fa6d1a632505789409a2ba6cf8e112529f9db18'/>
<id>urn:sha1:5fa6d1a632505789409a2ba6cf8e112529f9db18</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>applets: Add installation of individual binaries</title>
<updated>2015-07-01T17:10:03+00:00</updated>
<author>
<name>Clayton Shotwell</name>
<email>clshotwe@rockwellcollins.com</email>
</author>
<published>2015-05-21T19:48:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b7ee7e1e13fa4a680e8b228bd158e7aa53fe342a'/>
<id>urn:sha1:b7ee7e1e13fa4a680e8b228bd158e7aa53fe342a</id>
<content type='text'>
Adding support to install individual binaries if the option is
enabled. This also installs the shared libbusybox.so.* library.

Signed-off-by: Clayton Shotwell &lt;clshotwe@rockwellcollins.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
