<feed xmlns='http://www.w3.org/2005/Atom'>
<title>forks/toybox/toys/android, branch 0.7.4</title>
<subtitle>Toybox with POSIX patches from E5ten
</subtitle>
<id>https://git.carbslinux.org/forks/toybox/atom?h=0.7.4</id>
<link rel='self' href='https://git.carbslinux.org/forks/toybox/atom?h=0.7.4'/>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/'/>
<updated>2017-06-01T06:03:13+00:00</updated>
<entry>
<title>Allow ':' in property names.</title>
<updated>2017-06-01T06:03:13+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2017-05-31T18:01:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=51a1e91d263ad14ffd4b57ff0c22d3ff02799ceb'/>
<id>urn:sha1:51a1e91d263ad14ffd4b57ff0c22d3ff02799ceb</id>
<content type='text'>
Bug: http://b/62114389
Test: setprop
Change-Id: I165bcc01bb2422d991f746c5e6490cbdfb74472f
</content>
</entry>
<entry>
<title>Add and use xmmap.</title>
<updated>2017-05-25T00:56:58+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2017-05-24T00:35:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=12f0744f340746b3a1c1accfdf993d6548f33e56'/>
<id>urn:sha1:12f0744f340746b3a1c1accfdf993d6548f33e56</id>
<content type='text'>
Everyone forgets that mmap returns MAP_FAILED rather than NULL on failure.
Every use of mmap in toybox was either doing the wrong check, or no check
at all (including the two I personally added).
</content>
</entry>
<entry>
<title>Fix the type of the callback in getprop.</title>
<updated>2017-03-27T18:20:09+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2017-03-22T17:35:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=7ec23e64af0f0bfd6e330c2cff467ae8524d16dd'/>
<id>urn:sha1:7ec23e64af0f0bfd6e330c2cff467ae8524d16dd</id>
<content type='text'>
Fixes:

  toys/android/getprop.c:56:39: warning: incompatible pointer types
    passing 'void (void *, const char *, const char *)' to parameter of
    type 'void (*)(void *, const char *, const char *, uint32_t)'
    (aka 'void (*)(void *, const char *, const char *, unsigned int)')
    [-Wincompatible-pointer-types]

  __system_property_read_callback(pi, read_callback, NULL);
                                      ^~~~~~~~~~~~~
</content>
</entry>
<entry>
<title>Patch from Elliott to silence a "const" warning in android/getprop.c.</title>
<updated>2017-02-05T06:53:13+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2017-02-05T06:53:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=b4944cab5213e47be222f23dd60e86644e4f2186'/>
<id>urn:sha1:b4944cab5213e47be222f23dd60e86644e4f2186</id>
<content type='text'>
(Broken out of a larger patch, fixed the other part a different way.)
</content>
</entry>
<entry>
<title>Remove name length limit for system properties</title>
<updated>2017-01-25T23:36:06+00:00</updated>
<author>
<name>Dimitry Ivanov</name>
<email>dimitry@google.com</email>
</author>
<published>2017-01-25T21:27:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=102841199bee9cc76f3fff4335d6dbdd3c0cc8ab'/>
<id>urn:sha1:102841199bee9cc76f3fff4335d6dbdd3c0cc8ab</id>
<content type='text'>
Android O removes name length limit for system properties.

Use __system_property_read_callback instead of deprecated
__system_property_read in getprop and remove check for
property name length in setprop.

Test: adb shell setprop debug.test.very.very.long.property.name valueforpropertywithlongname
Test: adb shell getprop | grep debug.test.very.very.long.property.name
Bug: http://b/33926793
Change-Id: I57ca99ea33283d069cd1b7b9f110ec9fb27f3d19
</content>
</entry>
<entry>
<title>Admit that getprop requires selinux.</title>
<updated>2016-12-29T04:50:01+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2016-12-27T20:27:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=731a54b768d6b61fa5ef2e1bc39cee882c25bcce'/>
<id>urn:sha1:731a54b768d6b61fa5ef2e1bc39cee882c25bcce</id>
<content type='text'>
The "lsm" portability stuff could abstract this away, but Android doesn't
need it, and getprop is meaningless on non-Android. (And if you're just
building with the NDK, on recent enough versions of Android you won't be
able to read most of the system properties anyway because access to them is
increasingly restricted by selinux.)
</content>
</entry>
<entry>
<title>Switch to bionic &lt;sys/system_properties.h&gt;.</title>
<updated>2016-12-29T04:49:26+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2016-12-27T20:17:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=45c6b12a0a0f09054ab1fee9197860aee27b2e8a'/>
<id>urn:sha1:45c6b12a0a0f09054ab1fee9197860aee27b2e8a</id>
<content type='text'>
Removes the dependency on libcutils for everything except ps.
</content>
</entry>
<entry>
<title>log: use error_msg instead of perror_msg when errno is meaningless.</title>
<updated>2016-12-26T16:33:54+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2016-12-25T21:06:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=8efb96070d6d09434dee2208f0dea6a4aac8b5b8'/>
<id>urn:sha1:8efb96070d6d09434dee2208f0dea6a4aac8b5b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Android O allows '@' in property names.</title>
<updated>2016-10-25T00:54:26+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2016-10-25T00:14:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=4a17bdf4a7b4db001e9602410587be83be8bce3b'/>
<id>urn:sha1:4a17bdf4a7b4db001e9602410587be83be8bce3b</id>
<content type='text'>
Bug: http://b/32371104
</content>
</entry>
<entry>
<title>Make xopen() skip stdin/stdout/stderr, add xopen_stdio() if you want stdout,</title>
<updated>2016-08-04T15:16:59+00:00</updated>
<author>
<name>Rob Landley</name>
<email>rob@landley.net</email>
</author>
<published>2016-08-04T15:16:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/toybox/commit/?id=027a73a903af306449710ce12bc09e0e3550c6c9'/>
<id>urn:sha1:027a73a903af306449710ce12bc09e0e3550c6c9</id>
<content type='text'>
add xopenro() that takes one argument and understands "-" means stdin,
and switch over lots of users.
</content>
</entry>
</feed>
