OSDN Git Service

android-x86/external-toybox.git
6 years agoMerge tag 'android-8.1.0_r1' into oreo-x86 oreo-x86 android-x86-8.1-r1 android-x86-8.1-r2 android-x86-8.1-r3 android-x86-8.1-r4 android-x86-8.1-r5 android-x86-8.1-r6
Chih-Wei Huang [Fri, 8 Dec 2017 08:40:32 +0000 (16:40 +0800)]
Merge tag 'android-8.1.0_r1' into oreo-x86

Android 8.1.0 Release 1 (OPM1.171019.011)

6 years agolosetup: Fix loop mounting
Gabriele M [Sun, 20 Nov 2016 21:04:36 +0000 (22:04 +0100)]
losetup: Fix loop mounting

Vold creates the loop blocks in /dev/block.

Change-Id: Ie926ce672deae4a3494aad2ea19d44d7be60ec97

6 years agorelease-request-05263112-375a-4b1f-a657-a14bb2a5c5a3-for-git_oc-mr1-release-4185249...
android-build-team Robot [Sun, 16 Jul 2017 07:32:10 +0000 (07:32 +0000)]
release-request-05263112-375a-4b1f-a657-a14bb2a5c5a3-for-git_oc-mr1-release-4185249 snap-temp-L63000000082739046

Change-Id: I885814631bb1ac550e6a7c0f32a3a70e5456e73b

6 years agoFix toybox_vendor dependencies again. am: 2211432f50 am: 2491131bd4 am: 35c8dee8cf
Yifan Hong [Fri, 14 Jul 2017 19:42:50 +0000 (19:42 +0000)]
Fix toybox_vendor dependencies again. am: 2211432f50 am: 2491131bd4 am: 35c8dee8cf
am: abcc51fc3b

Change-Id: I42ca96137f6e9f4aef500f63bf1082fe3a002f46

6 years agoFix toybox_vendor dependencies again. am: 2211432f50 am: 2491131bd4
Yifan Hong [Fri, 14 Jul 2017 19:39:48 +0000 (19:39 +0000)]
Fix toybox_vendor dependencies again. am: 2211432f50 am: 2491131bd4
am: 35c8dee8cf

Change-Id: Ib1a52d5367879e2d592d94367bdc55b6c9a14edc

6 years agoFix toybox_vendor dependencies again. am: 2211432f50
Yifan Hong [Fri, 14 Jul 2017 19:37:11 +0000 (19:37 +0000)]
Fix toybox_vendor dependencies again. am: 2211432f50
am: 2491131bd4

Change-Id: I86dbcd59297a067e9c095b4015db2037cf87b337

6 years agoFix toybox_vendor dependencies again.
Yifan Hong [Fri, 14 Jul 2017 19:34:11 +0000 (19:34 +0000)]
Fix toybox_vendor dependencies again.
am: 2211432f50

Change-Id: Ie9e53014faad1c8a1a9e52d3f0fbce971f2a039f

6 years agorelease-request-d3de000d-8c5a-4c3c-b63e-e989421d7762-for-git_oc-mr1-release-4176727...
android-build-team Robot [Thu, 13 Jul 2017 07:33:10 +0000 (07:33 +0000)]
release-request-d3de000d-8c5a-4c3c-b63e-e989421d7762-for-git_oc-mr1-release-4176727 snap-temp-L91200000081901352

Change-Id: I803ffa7f14c515c5a09c567db04c66d1521ef8c1

6 years agoFix toybox_vendor dependencies again.
Yifan Hong [Thu, 13 Jul 2017 00:56:30 +0000 (00:56 +0000)]
Fix toybox_vendor dependencies again.

toybox_vendor now links to other libraries as shared libraries.
This allows toybox_vendor to use the "vendor" version of these libraries
(in particular, liblog and libselinx_vendor).

Test: mma -j
Test: m -j, flash, boots
Test: `adb shell /vendor/bin/restorecon /dev/null` shows error message
Test: `adb shell /vendor/bin/getprop -Z' shows error message
Test: mma -j BOARD_VNDK_VERSION=current

Bug: 63537547
Bug: 62886649

Change-Id: Ia55cc50bd4dbf14ac3a7fdc27be5974074741a26

6 years agoRevert "Fix toybox_vendor dependencies on libselinux_vendor." am: cf90d7eb8f am:...
Jeffrey Vander Stoep [Thu, 13 Jul 2017 00:34:03 +0000 (00:34 +0000)]
Revert "Fix toybox_vendor dependencies on libselinux_vendor." am: cf90d7eb8f am: 3391276ee0 am: d9729a74e0
am: ca99c842bc

Change-Id: If86f631e78f24d8f88b3b621fc4794a3f44a93aa

6 years agoRevert "Fix toybox_vendor dependencies on libselinux_vendor." am: cf90d7eb8f am:...
Jeffrey Vander Stoep [Thu, 13 Jul 2017 00:31:34 +0000 (00:31 +0000)]
Revert "Fix toybox_vendor dependencies on libselinux_vendor." am: cf90d7eb8f am: 3391276ee0
am: d9729a74e0

Change-Id: Ic88baf2c195e4eef503b3be91ffb5b02ff6bf091

6 years agoRevert "Fix toybox_vendor dependencies on libselinux_vendor." am: cf90d7eb8f
Jeffrey Vander Stoep [Thu, 13 Jul 2017 00:29:03 +0000 (00:29 +0000)]
Revert "Fix toybox_vendor dependencies on libselinux_vendor." am: cf90d7eb8f
am: 3391276ee0

Change-Id: I352844f6fbc30c5fc4eb84e81305f7b4480c74c0

6 years agoRevert "Fix toybox_vendor dependencies on libselinux_vendor."
Jeffrey Vander Stoep [Thu, 13 Jul 2017 00:26:37 +0000 (00:26 +0000)]
Revert "Fix toybox_vendor dependencies on libselinux_vendor."
am: cf90d7eb8f

Change-Id: I87a2558190f9183b4674b542f730cd0c481b66ec

6 years agoRevert "Fix toybox_vendor dependencies on libselinux_vendor."
Jeffrey Vander Stoep [Mon, 10 Jul 2017 06:19:45 +0000 (06:19 +0000)]
Revert "Fix toybox_vendor dependencies on libselinux_vendor."

This reverts commit 9e5e16264cf411f4efbb509e8df4630f4996a21a.

Bug: 63537547
Bug: 62886649

Change-Id: I881f74b59e93819067b52ca07d21e7f650886ac8

6 years agorelease-request-b6f2d5b3-a3d6-410f-b58f-c85ba8187177-for-git_oc-mr1-release-4173087...
android-build-team Robot [Wed, 12 Jul 2017 07:32:47 +0000 (07:32 +0000)]
release-request-b6f2d5b3-a3d6-410f-b58f-c85ba8187177-for-git_oc-mr1-release-4173087 snap-temp-L93200000081515229

Change-Id: I628145e0bf08ebb12fc169286379adfb3731783b

6 years agoDon't include the build number in `toybox --version`. am: 51566dfbb4
Elliott Hughes [Tue, 11 Jul 2017 19:05:25 +0000 (19:05 +0000)]
Don't include the build number in `toybox --version`. am: 51566dfbb4
am: bfb19695bc

Change-Id: I9d496a00f6fbe1429622b753d9d14b7d220dfbc8

6 years agoDon't include the build number in `toybox --version`.
Elliott Hughes [Tue, 11 Jul 2017 19:01:55 +0000 (19:01 +0000)]
Don't include the build number in `toybox --version`.
am: 51566dfbb4

Change-Id: Iffad57b40c239b62dd3899b2199ddf1bef2e30e2

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: b62e8ff3da am: 63a7993a8f...
Elliott Hughes [Tue, 11 Jul 2017 18:58:24 +0000 (18:58 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: b62e8ff3da am: 63a7993a8f am: 724542f80a
am: a28f216a0a

Change-Id: I2c8ba903ac454b9f0336fb28f3ad0f02a5749679

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: b62e8ff3da am: 63a7993a8f
Elliott Hughes [Tue, 11 Jul 2017 18:55:29 +0000 (18:55 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: b62e8ff3da am: 63a7993a8f
am: 724542f80a

Change-Id: I3b412a6662df6896f5f59503a64cf7d06c4a02b0

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: b62e8ff3da
Elliott Hughes [Tue, 11 Jul 2017 18:52:24 +0000 (18:52 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: b62e8ff3da
am: 63a7993a8f

Change-Id: I9140de37d50dd91ac8798367307dbfa67b9a23ba

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD
Elliott Hughes [Tue, 11 Jul 2017 18:48:54 +0000 (18:48 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD
am: b62e8ff3da

Change-Id: I2720c0aa0fce8d3afb854edaf4dd7b91ee48d8a9

6 years agoDon't include the build number in `toybox --version`.
Elliott Hughes [Tue, 11 Jul 2017 00:14:20 +0000 (17:14 -0700)]
Don't include the build number in `toybox --version`.

This adds undesired noise to OTA packages, and isn't worth that cost.

Bug: http://b/63513984
Test: toybox --version

(cherry picked from commit bf4741d56c55172ffbeffdf21b8d2e5ff5916991)

Change-Id: I4cefb27954c708f06df70bc1874f19927ba16801

6 years agoDon't include the build number in `toybox --version`. am: bf4741d56c am: 7ecc0fa0e3...
Elliott Hughes [Tue, 11 Jul 2017 16:10:44 +0000 (16:10 +0000)]
Don't include the build number in `toybox --version`. am: bf4741d56c am: 7ecc0fa0e3 am: 3ebb2f4d8a
am: 479a8bbf7f

Change-Id: I8eeedb1d6a2ab3b4914fe7cf470c7986a3ccc5f7

6 years agoDon't include the build number in `toybox --version`. am: bf4741d56c am: 7ecc0fa0e3
Elliott Hughes [Tue, 11 Jul 2017 16:07:13 +0000 (16:07 +0000)]
Don't include the build number in `toybox --version`. am: bf4741d56c am: 7ecc0fa0e3
am: 3ebb2f4d8a

Change-Id: Ic301b60498246f6a4d59b03dc8905799125463fd

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD
Elliott Hughes [Tue, 11 Jul 2017 16:04:11 +0000 (09:04 -0700)]
Merge remote-tracking branch 'toybox/master' into HEAD

Change-Id: I752a046ed45ada48db41a0b2b11428f5a344b90b

6 years agoDon't include the build number in `toybox --version`. am: bf4741d56c
Elliott Hughes [Tue, 11 Jul 2017 16:03:43 +0000 (16:03 +0000)]
Don't include the build number in `toybox --version`. am: bf4741d56c
am: 7ecc0fa0e3

Change-Id: Ic5abe957351ee098f2a2d23b0dd439e1bbeca5e3

6 years agoDon't include the build number in `toybox --version`.
Elliott Hughes [Tue, 11 Jul 2017 16:00:13 +0000 (16:00 +0000)]
Don't include the build number in `toybox --version`.
am: bf4741d56c

Change-Id: I09153d00fb62c2d7ba583765dcc5a3eace581acf

6 years agoDon't remove "remount" from the option list during early parsing, the mount
Rob Landley [Tue, 11 Jul 2017 10:17:35 +0000 (05:17 -0500)]
Don't remove "remount" from the option list during early parsing, the mount
flag doesn't get set right otherwise and it tries to overmount instead.

6 years agocomma_scan()'s clean option wasn't removing entry at end of list.
Rob Landley [Tue, 11 Jul 2017 10:16:09 +0000 (05:16 -0500)]
comma_scan()'s clean option wasn't removing entry at end of list.

6 years agoDon't include the build number in `toybox --version`.
Elliott Hughes [Tue, 11 Jul 2017 00:14:20 +0000 (17:14 -0700)]
Don't include the build number in `toybox --version`.

This adds undesired noise to OTA packages, and isn't worth that cost.

Bug: http://b/63513984
Test: toybox --version
Change-Id: Ied2b55155411acb5e73d250c62a8f26d6fa02908

6 years agoFix toybox_vendor dependencies on libselinux_vendor.
Yifan Hong [Mon, 10 Jul 2017 21:45:20 +0000 (21:45 +0000)]
Fix toybox_vendor dependencies on libselinux_vendor.
am: b685190e74

Change-Id: I701bcfa6c4f007091a53a61f1fa90a84432deb7f

6 years agoFix toybox_vendor dependencies on libselinux_vendor.
Yifan Hong [Mon, 10 Jul 2017 18:09:40 +0000 (18:09 +0000)]
Fix toybox_vendor dependencies on libselinux_vendor.

toybox_vendor now links to other libraries as shared libraries.
This allows toybox_vendor to use the "vendor" version of these libraries
(in particular, liblog and libselinx_vendor).

Test: mma -j
Test: m -j, flash, boots
Test: `adb shell /vendor/bin/restorecon /dev/null` shows error message
Test: `adb shell /vendor/bin/getprop -Z' shows error message
Test: mma -j BOARD_VNDK_VERSION=current

Bug: 62886649

(revert of commit 4ab405afe2668a5ca25be411df2d05a5e0995478)
(resubmit of commit e06cffe06993e0ade6f7836becb26e7f076c8a68)

Change-Id: I0812b58eb3d769d1a73e64009481075c09da2450

6 years agoFix toybox_vendor dependencies on libselinux_vendor. am: a546dbb3c8 -s ours
Yifan Hong [Mon, 10 Jul 2017 19:11:31 +0000 (19:11 +0000)]
Fix toybox_vendor dependencies on libselinux_vendor. am: a546dbb3c8  -s ours
am: 9659c8372a  -s ours

Change-Id: I514126b3bb5780070c4043384ff049cc15837ac2

6 years agoFix toybox_vendor dependencies on libselinux_vendor.
Yifan Hong [Mon, 10 Jul 2017 19:06:59 +0000 (19:06 +0000)]
Fix toybox_vendor dependencies on libselinux_vendor.
am: a546dbb3c8  -s ours

Change-Id: I389dce2c521b9ab12602d25a5942518d076ebb14

6 years agoFix toybox_vendor dependencies on libselinux_vendor.
Yifan Hong [Mon, 10 Jul 2017 18:09:40 +0000 (18:09 +0000)]
Fix toybox_vendor dependencies on libselinux_vendor.

toybox_vendor now links to other libraries as shared libraries.
This allows toybox_vendor to use the "vendor" version of these libraries
(in particular, liblog and libselinx_vendor).

Test: mma -j
Test: m -j, flash, boots
Test: `adb shell /vendor/bin/restorecon /dev/null` shows error message
Test: `adb shell /vendor/bin/getprop -Z' shows error message
Test: mma -j BOARD_VNDK_VERSION=current

Bug: 62886649

(revert of commit 4ab405afe2668a5ca25be411df2d05a5e0995478)
(resubmit of commit e06cffe06993e0ade6f7836becb26e7f076c8a68)

Change-Id: I0812b58eb3d769d1a73e64009481075c09da2450
Merged-In: If01094b71ef7e99b5756b851132de643660a1e2c

6 years agoRevert "Fix toybox_vendor dependencies on libselinux_vendor." am: 4ab405afe2
Jeff Vander Stoep [Mon, 10 Jul 2017 07:55:45 +0000 (07:55 +0000)]
Revert "Fix toybox_vendor dependencies on libselinux_vendor." am: 4ab405afe2
am: 13c721a74c  -s ours

Change-Id: I4b294f5daa1e207d53bed095963d921993b17276

6 years agoRevert "Fix toybox_vendor dependencies on libselinux_vendor."
Jeff Vander Stoep [Mon, 10 Jul 2017 07:51:14 +0000 (07:51 +0000)]
Revert "Fix toybox_vendor dependencies on libselinux_vendor."
am: 4ab405afe2

Change-Id: I8c945e89a3b56ffe9ce43f76bb294f91a74f9390

6 years agoRevert "Fix toybox_vendor dependencies on libselinux_vendor."
Jeff Vander Stoep [Mon, 10 Jul 2017 07:13:39 +0000 (00:13 -0700)]
Revert "Fix toybox_vendor dependencies on libselinux_vendor."

This reverts commit 9e5e16264cf411f4efbb509e8df4630f4996a21a.
Test: "mma external/toybox" builds successfully

Merged-In: I13b1bf1af3537aff489be0c02572c44fd69414d6
Change-Id: I8782b3718bc62b7787819647a26d7a7e5c29369b

6 years agorelease-request-0ce287d2-927c-416a-bc5d-2bcc1943391c-for-git_oc-mr1-release-4165751...
android-build-team Robot [Mon, 10 Jul 2017 07:23:11 +0000 (07:23 +0000)]
release-request-0ce287d2-927c-416a-bc5d-2bcc1943391c-for-git_oc-mr1-release-4165751 snap-temp-L37900000080764597

Change-Id: Id2c134178719129ae1377e1a05b986a17e1f6745

6 years agoFix toybox_vendor dependencies on libselinux_vendor. am: 9e5e16264c am: 537e6e363e...
Yifan Hong [Mon, 10 Jul 2017 03:59:01 +0000 (03:59 +0000)]
Fix toybox_vendor dependencies on libselinux_vendor. am: 9e5e16264c am: 537e6e363e am: 4876bcc290
am: 3000b6574d

Change-Id: I13b1bf1af3537aff489be0c02572c44fd69414d6

6 years agoFix toybox_vendor dependencies on libselinux_vendor. am: 9e5e16264c am: 537e6e363e
Yifan Hong [Mon, 10 Jul 2017 03:55:00 +0000 (03:55 +0000)]
Fix toybox_vendor dependencies on libselinux_vendor. am: 9e5e16264c am: 537e6e363e
am: 4876bcc290

Change-Id: I7d439ea59d0d0a1a82c350bdf43a84858854706d

6 years agoFix toybox_vendor dependencies on libselinux_vendor. am: 9e5e16264c
Yifan Hong [Mon, 10 Jul 2017 03:50:00 +0000 (03:50 +0000)]
Fix toybox_vendor dependencies on libselinux_vendor. am: 9e5e16264c
am: 537e6e363e

Change-Id: Ie15f7887c803e5597613ab7f43a707fae580a2b5

6 years agoFix toybox_vendor dependencies on libselinux_vendor.
Yifan Hong [Mon, 10 Jul 2017 03:45:32 +0000 (03:45 +0000)]
Fix toybox_vendor dependencies on libselinux_vendor.
am: 9e5e16264c

Change-Id: Iace953ff7dff37810c5889fb8ebefb038ee5578a

6 years agodd cleanup: binary search is overkill, eliminate struct pair,
Rob Landley [Sun, 9 Jul 2017 07:13:00 +0000 (02:13 -0500)]
dd cleanup: binary search is overkill, eliminate struct pair,
simplify strstarteq, use local variable "conv" instead of toys.optargs.

6 years agoFix -Wformat compiler warning in expr.c.
Elliott Hughes [Fri, 7 Jul 2017 20:06:36 +0000 (13:06 -0700)]
Fix -Wformat compiler warning in expr.c.

Android forces -Wformat on for all source.

  toys/pending/expr.c:116:28: warning: field precision should have type 'int',
                                       but argument has type 'long' [-Wformat]
      ret->s = xmprintf("%.*s", m[1].rm_eo-m[1].rm_so, target+m[1].rm_so);
                         ~~^~   ~~~~~~~~~~~~~~~~~~~~~

6 years agoPosix says strings should only output hits that end with NUL or newline.
Rob Landley [Fri, 7 Jul 2017 21:36:45 +0000 (16:36 -0500)]
Posix says strings should only output hits that end with NUL or newline.
We don't currently do that, but a test suite checking that we don't
do that is requiring us to violate posix to pass it.

6 years agostrings -t oxd tests
Ilya Kuzmich [Mon, 29 May 2017 14:57:09 +0000 (17:57 +0300)]
strings -t oxd tests

6 years agoMake dd use atolx_range(), and teach atolx_range() about "w" suffix (word, *2).
Rob Landley [Fri, 7 Jul 2017 08:51:47 +0000 (03:51 -0500)]
Make dd use atolx_range(), and teach atolx_range() about "w" suffix (word, *2).

6 years agoFix dd tests so TEST_HOST passes. (Ubuntu's dd doesn't support hex values
Rob Landley [Fri, 7 Jul 2017 08:43:24 +0000 (03:43 -0500)]
Fix dd tests so TEST_HOST passes. (Ubuntu's dd doesn't support hex values
and don't expect a specific error message, just that it errored.)

6 years agorelease-request-60f1fc0d-1c6d-400a-8b4e-444f1452f036-for-git_oc-mr1-release-4157261...
android-build-team Robot [Thu, 6 Jul 2017 07:26:05 +0000 (07:26 +0000)]
release-request-60f1fc0d-1c6d-400a-8b4e-444f1452f036-for-git_oc-mr1-release-4157261 snap-temp-L11100000079944679

Change-Id: I4f6769e7f2af3ee8cdf4b9c22354d9e2dca2bf6a

6 years agoFix toybox_vendor dependencies on libselinux_vendor.
Yifan Hong [Mon, 26 Jun 2017 23:16:43 +0000 (16:16 -0700)]
Fix toybox_vendor dependencies on libselinux_vendor.

toybox_vendor now links to other libraries as shared libraries.
This allows toybox_vendor to use the "vendor" version of these libraries
(in particular, liblog and libselinx_vendor).

Test: mma -j
Test: m -j, flash, boots
Test: `adb shell /vendor/bin/restorecon /dev/null` shows error message
Test: `adb shell /vendor/bin/getprop -Z' shows error message
Test: mma -j BOARD_VNDK_VERSION=current

Bug: 62886649
Change-Id: If01094b71ef7e99b5756b851132de643660a1e2c

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: a379d5ee15 am: a4f4fa78eb...
Elliott Hughes [Wed, 5 Jul 2017 19:55:56 +0000 (19:55 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: a379d5ee15 am: a4f4fa78eb am: cb13c3da93
am: e1097aac54

Change-Id: Iff86c560c17b70f8bf1de96b42fa3224bc2e1c9e

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: a379d5ee15 am: a4f4fa78eb
Elliott Hughes [Wed, 5 Jul 2017 19:51:55 +0000 (19:51 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: a379d5ee15 am: a4f4fa78eb
am: cb13c3da93

Change-Id: I627d5f6fa77e1083ea1167ff8179c94c3046918e

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: a379d5ee15
Elliott Hughes [Wed, 5 Jul 2017 19:47:56 +0000 (19:47 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: a379d5ee15
am: a4f4fa78eb

Change-Id: Icfa74ce051e6151fc206329884311e54adef8021

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD
Elliott Hughes [Wed, 5 Jul 2017 19:43:55 +0000 (19:43 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD
am: a379d5ee15

Change-Id: I2120b3a09b81b1aa593b6bf2b8b7a5192d1b5738

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD
Elliott Hughes [Wed, 5 Jul 2017 17:27:25 +0000 (10:27 -0700)]
Merge remote-tracking branch 'toybox/master' into HEAD

Change-Id: I81d3056bfb854ba9e312cb6a02b4eb200abd1eb4

6 years agoAdd -t, deviations from posix, redo loop to have fewer duplicate tests.
Rob Landley [Mon, 3 Jul 2017 02:39:32 +0000 (21:39 -0500)]
Add -t, deviations from posix, redo loop to have fewer duplicate tests.

6 years agostrings tests and bugfixes
Ilya Kuzmich [Mon, 29 May 2017 04:05:16 +0000 (07:05 +0300)]
strings tests and bugfixes

Fixes missing newline in output if last byte of the input is string.
Fixes one-off offset bug.
Adds strings tests.

Signed-off-by: Ilya Kuzmich <ilya.kuzmich@gmail.com>
6 years agorelease-request-1b0d6769-ebfa-4e2d-b128-039ac0dcd5c9-for-git_oc-mr1-release-4140700...
android-build-team Robot [Wed, 28 Jun 2017 07:28:36 +0000 (07:28 +0000)]
release-request-1b0d6769-ebfa-4e2d-b128-039ac0dcd5c9-for-git_oc-mr1-release-4140700 snap-temp-L81200000078275553

Change-Id: I7bbcb678f2461dc3789c5bc99bad89ca406d2179

6 years agowhitespace/comment tweaks.
Rob Landley [Tue, 27 Jun 2017 19:57:28 +0000 (14:57 -0500)]
whitespace/comment tweaks.

6 years agoteach head -c
Ilya Kuzmich [Sun, 28 May 2017 15:29:19 +0000 (18:29 +0300)]
teach head -c

Not POSIX, but implemented in coreutils, busybox and freebsd.

6 years agoBuild vendor toybox unconditionally. am: 3829236617 am: cb54b3a2cf am: 4dfba4ea3a
padarshr [Tue, 27 Jun 2017 19:26:14 +0000 (19:26 +0000)]
Build vendor toybox unconditionally. am: 3829236617 am: cb54b3a2cf am: 4dfba4ea3a
am: edfa9dc9c6

Change-Id: I09b49475d7c4b09fd67aba18f495fbadb012cc7f

6 years agoBuild vendor toybox unconditionally. am: 3829236617 am: cb54b3a2cf
padarshr [Tue, 27 Jun 2017 19:03:28 +0000 (19:03 +0000)]
Build vendor toybox unconditionally. am: 3829236617 am: cb54b3a2cf
am: 4dfba4ea3a

Change-Id: I2790203d483605d8f0ad33f509a233c8780313ba

6 years agoBuild vendor toybox unconditionally. am: 3829236617
padarshr [Tue, 27 Jun 2017 19:00:28 +0000 (19:00 +0000)]
Build vendor toybox unconditionally. am: 3829236617
am: cb54b3a2cf

Change-Id: I76b168233472338a23522467bb3c6137477ff4d5

6 years agoBuild vendor toybox unconditionally.
padarshr [Tue, 27 Jun 2017 18:57:25 +0000 (18:57 +0000)]
Build vendor toybox unconditionally.
am: 3829236617

Change-Id: Icea5df4c2e9e986364efb742e45e5baf77dc0f39

6 years agoMost things seem to want the "b" suffix to mean 512 instead of 1.
Rob Landley [Mon, 26 Jun 2017 20:32:27 +0000 (15:32 -0500)]
Most things seem to want the "b" suffix to mean 512 instead of 1.
(According to the git history I added "b" for "od" but the man page says 512
there too.)

6 years agoBuild vendor toybox unconditionally.
padarshr [Mon, 19 Jun 2017 17:34:15 +0000 (23:04 +0530)]
Build vendor toybox unconditionally.

Always build vendor toybox irrespective of whether
PRODUCT_FULL_TREBLE is enabled or not, as even on Non-Full
treble builds this can be used in vendor scripts.

Change-Id: I91d0fc9be198d95d82530a3b1e21c4463d9398dd

6 years agorelease-request-f3bcfb00-8080-4b95-b497-7457f544b4f6-for-git_oc-mr1-release-4116097...
android-build-team Robot [Tue, 20 Jun 2017 07:36:36 +0000 (07:36 +0000)]
release-request-f3bcfb00-8080-4b95-b497-7457f544b4f6-for-git_oc-mr1-release-4116097 snap-temp-L44400000075746008

Change-Id: I71a604b1ce12cdbcd1717c909e5c4a22b15bd59f

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: f353b240a5 am: 66859184e5...
Elliott Hughes [Mon, 19 Jun 2017 23:02:15 +0000 (23:02 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: f353b240a5 am: 66859184e5 am: 86fb74fe51
am: 4c410595c0

Change-Id: I4d0aba03bd3e6895976cf6864b5c8c8e39843bb5

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: f353b240a5 am: 66859184e5
Elliott Hughes [Mon, 19 Jun 2017 22:56:02 +0000 (22:56 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: f353b240a5 am: 66859184e5
am: 86fb74fe51

Change-Id: I915bb8c5ee24107acedc88cca27a5bd7da9dfa86

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: f353b240a5
Elliott Hughes [Mon, 19 Jun 2017 22:49:31 +0000 (22:49 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: f353b240a5
am: 66859184e5

Change-Id: I23b47ac02e42705de3dca793d2125a2c8b86ca22

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD
Elliott Hughes [Mon, 19 Jun 2017 22:43:33 +0000 (22:43 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD
am: f353b240a5

Change-Id: I06997a45f022ede7080ab0b163b8b0c018438cb4

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD
Elliott Hughes [Mon, 19 Jun 2017 19:47:01 +0000 (12:47 -0700)]
Merge remote-tracking branch 'toybox/master' into HEAD

Change-Id: If21b4f8a327f584912c9021d9792031e6d79c065

6 years agoPast time for 0.7.4.
Rob Landley [Mon, 19 Jun 2017 17:34:50 +0000 (12:34 -0500)]
Past time for 0.7.4.

6 years agoManually inline TOP_COMMON and PGKILL_COMMON help text until I can teach
Rob Landley [Mon, 19 Jun 2017 12:51:58 +0000 (07:51 -0500)]
Manually inline TOP_COMMON and PGKILL_COMMON help text until I can teach
the help infrastructure to handle it.

(The lifetime rules are all wrong for hunks that get reused. Needs a largeish
rewrite.)

6 years agoGrep exits with 2 for errors, which can happen at any time ( > /dev/full).
Rob Landley [Wed, 14 Jun 2017 16:23:01 +0000 (11:23 -0500)]
Grep exits with 2 for errors, which can happen at any time ( > /dev/full).

6 years agoconfig2help.c: Rename trim() to skip_spaces(), fluff out comments a bit.
Rob Landley [Tue, 13 Jun 2017 21:33:13 +0000 (16:33 -0500)]
config2help.c: Rename trim() to skip_spaces(), fluff out comments a bit.

6 years agoAdd grep -M match and -S skip supporting wildcard patterns.
Rob Landley [Mon, 12 Jun 2017 16:26:07 +0000 (11:26 -0500)]
Add grep -M match and -S skip supporting wildcard patterns.

They don't imply -r because you might do find . -type f | xargs -S blah regex

6 years agoTwitter's code of conduct page went down, so mirror the old archive.org version.
Rob Landley [Sun, 11 Jun 2017 20:39:03 +0000 (15:39 -0500)]
Twitter's code of conduct page went down, so mirror the old archive.org version.
Move link from README to header.html menu bar.

6 years agoProvide error messages for files we can open but not read (ala directories).
Rob Landley [Sun, 11 Jun 2017 17:23:00 +0000 (12:23 -0500)]
Provide error messages for files we can open but not read (ala directories).

6 years agoFix bug where grep stopped at first dangling symlink and error_exited().
Rob Landley [Sat, 10 Jun 2017 18:17:31 +0000 (13:17 -0500)]
Fix bug where grep stopped at first dangling symlink and error_exited().

6 years agoPromote dmesg back to lsb.
Rob Landley [Fri, 9 Jun 2017 20:01:07 +0000 (15:01 -0500)]
Promote dmesg back to lsb.

6 years agoCleanup dmesg (as posted to the list).
Rob Landley [Fri, 9 Jun 2017 19:59:51 +0000 (14:59 -0500)]
Cleanup dmesg (as posted to the list).

6 years agoAdd comment explaining strend()
Rob Landley [Tue, 6 Jun 2017 18:21:03 +0000 (13:21 -0500)]
Add comment explaining strend()

6 years agoHave help_exit() give a brief "See %s --help" message instead of the
Rob Landley [Tue, 6 Jun 2017 02:22:02 +0000 (21:22 -0500)]
Have help_exit() give a brief "See %s --help" message instead of the
full help text, and put it back in the args constraint failures.

6 years agoDon't add cpio TRAILER!!! entry by default, add new --trailer option if you
Rob Landley [Sun, 4 Jun 2017 18:15:51 +0000 (13:15 -0500)]
Don't add cpio TRAILER!!! entry by default, add new --trailer option if you
want that. (This lets you concatenate cpio archives with "cat". Kernel's
initramfs extractor doesn't need it.)

6 years agorelease-request-703268f3-975f-4a98-83d7-cbf58019eda0-for-git_oc-mr1-release-4067152...
android-build-team Robot [Sun, 4 Jun 2017 07:29:22 +0000 (07:29 +0000)]
release-request-703268f3-975f-4a98-83d7-cbf58019eda0-for-git_oc-mr1-release-4067152 snap-temp-L75700000070444922

Change-Id: I4a4067885f6f0d56f3797dc3a46a3fb133aea157

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: fe3d63b269 am: 21b59f15b6...
Elliott Hughes [Fri, 2 Jun 2017 21:46:56 +0000 (21:46 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: fe3d63b269 am: 21b59f15b6 am: 3622386f99
am: f9429258b1

Change-Id: I6087ca2bcc333c093c4ea8d99bf95d918d0aeed8

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: fe3d63b269 am: 21b59f15b6
Elliott Hughes [Fri, 2 Jun 2017 21:40:02 +0000 (21:40 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: fe3d63b269 am: 21b59f15b6
am: 3622386f99

Change-Id: Iee1ef5cb9ebea90fde424529700c23fb45651092

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD am: fe3d63b269
Elliott Hughes [Fri, 2 Jun 2017 21:36:35 +0000 (21:36 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD am: fe3d63b269
am: 21b59f15b6

Change-Id: I8587fbaf631b789749f9f7d6ec30bbd309f3bad0

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD
Elliott Hughes [Fri, 2 Jun 2017 21:32:45 +0000 (21:32 +0000)]
Merge remote-tracking branch 'toybox/master' into HEAD
am: fe3d63b269

Change-Id: I80107b04678e61d1fc356dc7e6efe1a875a7f7c9

6 years agoMerge remote-tracking branch 'toybox/master' into HEAD
Elliott Hughes [Fri, 2 Jun 2017 21:16:31 +0000 (14:16 -0700)]
Merge remote-tracking branch 'toybox/master' into HEAD

Change-Id: I4e1f8b76f8bd04e64aebf3f2f90afb7d07f9e357

6 years agorelease-request-fad05353-cc19-4c26-af2f-d5c8a574970e-for-git_oc-mr1-release-4057695...
android-build-team Robot [Thu, 1 Jun 2017 07:34:53 +0000 (07:34 +0000)]
release-request-fad05353-cc19-4c26-af2f-d5c8a574970e-for-git_oc-mr1-release-4057695 snap-temp-L92600000069427650

Change-Id: I18f4b1c58ac1818c063130d2ef82434a01ee0f97

6 years agorelease-request-18270495-77c6-4d95-8968-eb22e3d2fe8b-for-git_oc-release-4057656 snap...
android-build-team Robot [Thu, 1 Jun 2017 07:15:37 +0000 (07:15 +0000)]
release-request-18270495-77c6-4d95-8968-eb22e3d2fe8b-for-git_oc-release-4057656 snap-temp-L93200000069424216

Change-Id: If84ddfe4696327fcd69945b619efa2d000a413f1

6 years agoAllow ':' in property names.
Elliott Hughes [Wed, 31 May 2017 18:01:11 +0000 (11:01 -0700)]
Allow ':' in property names.

Bug: http://b/62114389
Test: setprop
Change-Id: I165bcc01bb2422d991f746c5e6490cbdfb74472f

6 years agoAllow ':' in property names. am: 35cd738175
Elliott Hughes [Wed, 31 May 2017 22:34:21 +0000 (22:34 +0000)]
Allow ':' in property names. am: 35cd738175
am: 79dfcb8a1f

Change-Id: I19ff24f2a1018f8dae73d12e25229dbab966cf85

6 years agoAllow ':' in property names.
Elliott Hughes [Wed, 31 May 2017 22:32:20 +0000 (22:32 +0000)]
Allow ':' in property names.
am: 35cd738175

Change-Id: I9e0b14908f4d77d2a37535dc2585fe6f0af24e50

6 years agoMerge "Allow ':' in property names." am: 04a2c850db am: 613a9738e3 am: c042a40488
Elliott Hughes [Wed, 31 May 2017 20:46:45 +0000 (20:46 +0000)]
Merge "Allow ':' in property names." am: 04a2c850db am: 613a9738e3 am: c042a40488
am: 2479bd2ef5

Change-Id: I4c337b36f6b5fee25a6bd03d71caac46519c8154

6 years agoMerge "Allow ':' in property names." am: 04a2c850db am: 613a9738e3
Elliott Hughes [Wed, 31 May 2017 20:20:56 +0000 (20:20 +0000)]
Merge "Allow ':' in property names." am: 04a2c850db am: 613a9738e3
am: c042a40488

Change-Id: If71691b4bba1f286819949d615070daa3f7f3c0f

6 years agoMerge "Allow ':' in property names." am: 04a2c850db
Elliott Hughes [Wed, 31 May 2017 20:15:26 +0000 (20:15 +0000)]
Merge "Allow ':' in property names." am: 04a2c850db
am: 613a9738e3

Change-Id: Ie9730fe2834012de7387e9452783fb52a2f7714b