<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/applets, branch stty</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=stty</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=stty'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2016-07-07T13:58:55+00:00</updated>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2016-07-07T13:58:55+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-07-07T13:28:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=613f46218c53c8cabdbf0435653e74e0e0e91e1c'/>
<id>urn:sha1:613f46218c53c8cabdbf0435653e74e0e0e91e1c</id>
<content type='text'>
</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>mingw: enable busybox --install by default</title>
<updated>2016-04-06T09:50:19+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2016-04-06T09:26:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=98b290e9b8221b7d7ffbf47da1e8ecce62a75369'/>
<id>urn:sha1:98b290e9b8221b7d7ffbf47da1e8ecce62a75369</id>
<content type='text'>
Allow FEATURE_INSTALLER to be configured and enable it in the
default configuration.

The behaviour is slightly different from upstream BusyBox:

  symbolic links are not permitted;
  if no target directory is provided the directory containing
  the busybox binary is used as the target.
</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>
<entry>
<title>false: make "false --help" exit with 1</title>
<updated>2014-09-17T22:47:05+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2014-09-17T22:47:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=cd7a38a87d54f5421b379870ff866676f31923b2'/>
<id>urn:sha1:cd7a38a87d54f5421b379870ff866676f31923b2</id>
<content type='text'>
function                                             old     new   delta
run_applet_no_and_exit                               447     445      -2

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>build system: use od -b instead of od -t x1</title>
<updated>2013-11-26T13:56:29+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2013-11-26T13:56:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=195c436f84dce8525670fa6bc6db7916a4702f57'/>
<id>urn:sha1:195c436f84dce8525670fa6bc6db7916a4702f57</id>
<content type='text'>
od -t is not available in non-CONFIG_DESKTOPed busybox od

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>build system: do not generate MAX_APPLET_NAME_LEN (unused)</title>
<updated>2013-11-26T11:03:24+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2013-11-26T11:03:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=924a179cb7fb910a9e4a13d9ef124d224b6c152b'/>
<id>urn:sha1:924a179cb7fb910a9e4a13d9ef124d224b6c152b</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
