<feed xmlns='http://www.w3.org/2005/Atom'>
<title>forks/toybox/toys/lsb, branch 0.8.2</title>
<subtitle>Toybox with POSIX patches from E5ten
</subtitle>
<id>https://git.carbslinux.org/forks/toybox/atom?h=0.8.2</id>
<link rel='self' href='https://git.carbslinux.org/forks/toybox/atom?h=0.8.2'/>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/'/>
<updated>2019-10-12T22:15:54+00:00</updated>
<entry>
<title>hostname: fix error reporting.</title>
<updated>2019-10-12T22:15:54+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2019-10-10T21:12:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=7adff6b2cad30de073fb597cd0d10826067965ad'/>
<id>urn:sha1:7adff6b2cad30de073fb597cd0d10826067965ad</id>
<content type='text'>
The &lt;netdb.h&gt; functions have their own errno :-(
</content>
</entry>
<entry>
<title>Add dnsdomainname, fix "hostname -d" segfault on machine with no domain name,</title>
<updated>2019-10-08T20:34:15+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2019-10-08T20:34:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=08983ab5cb0b8de9df3759fffe621c1cdcff6c0d'/>
<id>urn:sha1:08983ab5cb0b8de9df3759fffe621c1cdcff6c0d</id>
<content type='text'>
and cleanup hostname to only call gethostname() once.

It passes the one test in test_hostname, if that helps.
</content>
</entry>
<entry>
<title>noop gzip -n.</title>
<updated>2019-09-23T18:39:01+00:00</updated>
<author>
<name>Denys Nykula</name>
<email>nykula@ukr.net</email>
</author>
<published>2019-09-23T02:15:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=9aaa950d3a0d5518709f84c80b06fd761f992fe8'/>
<id>urn:sha1:9aaa950d3a0d5518709f84c80b06fd761f992fe8</id>
<content type='text'>
Add mock gzip -n to satisfy pkgsrc.
</content>
</entry>
<entry>
<title>Allow --tmpdir's argument to be optional.</title>
<updated>2019-09-17T11:00:14+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2019-09-17T11:00:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=0dedd13253f4e3fc4ddaf912f503b30261d2ee63'/>
<id>urn:sha1:0dedd13253f4e3fc4ddaf912f503b30261d2ee63</id>
<content type='text'>
</content>
</entry>
<entry>
<title>md5sum: don't allow broken sha-3 sums.</title>
<updated>2019-09-07T08:10:28+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2019-08-26T17:33:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=08a810562cfc41f8cc2f51b361b932cbe6e47009'/>
<id>urn:sha1:08a810562cfc41f8cc2f51b361b932cbe6e47009</id>
<content type='text'>
If you accidentally configure the sha-3 sums on, but don't enable
libcrypto, you'll get toys that just output md5 sums instead. This patch
doesn't cause a build-time error (my original plan), but does at least
ensure that toybox refuses to include incorrect sha-3 sum
implementations.
</content>
</entry>
<entry>
<title>Return md5sum/sha1sum to the slightly slower but more explicit version</title>
<updated>2019-08-13T12:05:52+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2019-08-13T12:05:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=168c9820628f9ebc447904cb68e54b042e3bcfba'/>
<id>urn:sha1:168c9820628f9ebc447904cb68e54b042e3bcfba</id>
<content type='text'>
(revert afe951b19c0f with the table of magic constants). If you want speed,
there's already a config option to use the libssl version instead.
</content>
</entry>
<entry>
<title>killall: implement -w.</title>
<updated>2019-07-26T02:41:03+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2019-07-25T22:28:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=903f06c7780880ca07036d0ff9ea6c2e28dfdb00'/>
<id>urn:sha1:903f06c7780880ca07036d0ff9ea6c2e28dfdb00</id>
<content type='text'>
This isn't currently used in AOSP, but it is used in some of the other
codebases I can easily search, and it's a better fix for test flakiness
than inserting a sleep.
</content>
</entry>
<entry>
<title>pidof: fix default behavior, add -x.</title>
<updated>2019-07-12T18:18:11+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2019-07-11T21:00:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=a7b8b772dee4f159028e3b998454d7466fbbc88f'/>
<id>urn:sha1:a7b8b772dee4f159028e3b998454d7466fbbc88f</id>
<content type='text'>
Before this patch, we're effectively doing `pidof -x` all the time. This
patch changes names_to_pid() to allow us to say whether or not we want to
include scripts, and adjusts the callers appropriately.

Also add tests for `pidof` versus `pidof -x` which pass after this
patch, without regressing the existing killall tests.
</content>
</entry>
<entry>
<title>killall: better handling of long names.</title>
<updated>2019-07-06T21:15:35+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2019-07-01T23:15:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=82a33b3f060e163b14155e8f6833ec30514a609b'/>
<id>urn:sha1:82a33b3f060e163b14155e8f6833ec30514a609b</id>
<content type='text'>
Change names_to_pid() so that we can actually match shell scripts with
long names (the code to get the shell script's name was correct, but
there was an extra test preventing us from actually comparing it to the
sought name).

In kill.c itself, remove a dead test for -l and switch to the FLAG()
macro.

Also extend the tests to explicitly cover long and short names.
</content>
</entry>
<entry>
<title>Improve signal name&lt;-&gt;number conversions.</title>
<updated>2019-06-10T20:08:08+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2019-06-08T05:52:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=1e229a235d9e011c4f64169e51be7ac4fa78bbde'/>
<id>urn:sha1:1e229a235d9e011c4f64169e51be7ac4fa78bbde</id>
<content type='text'>
Include all the signals, not just the POSIX ones.

In particular, improve support for real-time signals. My attempt to
switch AOSP builds over to toybox timeout got reverted when I broke the
ART build bots which use SIGRTMIN+2.

Also fix `kill -l 3` to show "QUIT" and `kill -l QUIT` to show "3".

Also make the `kill -l` output include numbers and names, and format it
to look better on a 80x24 tty, because it's always August 1978 somewhere.
</content>
</entry>
</feed>
