summaryrefslogtreecommitdiffstats
path: root/toolbox
Commit message (Collapse)AuthorAgeFilesLines
* Lose umount to toybox.Elliott Hughes2015-04-022-91/+0
| | | | Change-Id: Ide35731c37d70ccb38a5e84b7310434ce6c3aa6e
* Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it's not needed.Elliott Hughes2015-04-021-4/+0
| | | | Change-Id: I720b8ef1050da45a7833adef8219b6acb2cf3a38
* toolbox: ioctl: fix signedness on ioctl_nrChris Fries2015-04-011-49/+96
| | | | | | | | | | | | | ioctl_nr is passed signed to the kernel, but many users refer to ioctl's in unsigned 32 bit notation. Let's use stroll to set it, to let people specify either negative numbers or large positive numbers. Also improve error reporting. Reported-By: Alex Piliev <ktnr74@motorola.com> Change-Id: I789434895b70b051d4d5c1a5db566a1925478ef0
* Lose route to toybox.Elliott Hughes2015-03-302-114/+0
| | | | Change-Id: If68fa6a691478921452ebd785bd35e3ba5a8470a
* toolbox: Fixed type mismatch for ioctl(BLKGETSIZE)Johan Redestig2015-03-301-1/+9
| | | | | | | ioctl(BLKGETSIZE) expects unsigned long (8 bytes on 64 bit environment). Change-Id: Ic0f1d48e1d4cb890dbf617b3eb6285425cdbf0d0
* Lose load_policy to toybox.Elliott Hughes2015-03-282-50/+0
| | | | Change-Id: I3ef3aab9eef8e07ee598e2559a316e2fccf7199b
* $ANDROID_BUILD_TOP isn't set for continuous builds.Elliott Hughes2015-03-251-1/+1
| | | | | | | Instead, take advantage of the fact that we'll be run from the root of the tree. Change-Id: I5ce6d1c9ae8d478748ab90c9d3cc8e665ae5859b
* Auto-generate the getevent labels from <linux/input.h>.Elliott Hughes2015-03-254-728/+120
| | | | | | | Now we only have to remember to update the kernel uapi headers, which we're pretty good at. Change-Id: If04eb8c50882fff5e5e2a5d72664f5d4c4c538b1
* Lose runcon to toybox.Elliott Hughes2015-03-232-29/+0
| | | | Change-Id: I0fa4a1907a9def4ba7dc1348f57299cd578fdf87
* Remove /dev/alarm cruft from uptime.Elliott Hughes2015-03-201-56/+21
| | | | | | | | | Our uptime is very different from the regular one, and usefully so, so this code will live on. Remove dead bits. Also fix the annoying "1 days" bug while I'm here. Change-Id: Ied5403ba96dcc5eddd4d386b59c6fcdea3209881
* Remove schedtop.Elliott Hughes2015-03-192-331/+0
| | | | | | This seems to have only been used before we had top(1). Change-Id: I6c3e5dad19754cf00a07161d2b93093dc0fe7c08
* Remove obsolete smd tool.Elliott Hughes2015-03-162-43/+0
| | | | | | | It's basically "echo" with a redirect, and it hasn't been touched since cupcake. Could be replaced with a shell script if need be. Change-Id: I75b663ea4be3d7cd9581faa6ef3979de28e68dfb
* Remove getsebool/setsebool from init and toolbox.Stephen Smalley2015-03-133-152/+0
| | | | | | | | | These were leftovers from the SELinux boolean support that was originally merged. Since Android prohibits SELinux policy booleans, we can just drop it. Change-Id: I02f646a7d8db65e153702205b082b87a73f60d73 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
* am ed5b81c9: Merge "Fix LP32 build."Elliott Hughes2015-03-101-1/+2
|\ | | | | | | | | * commit 'ed5b81c9e59c0a6c618f43964a4a2639448c0686': Fix LP32 build.
| * Fix LP32 build.Elliott Hughes2015-03-091-1/+2
| | | | | | | | Change-Id: I66e084330e7a32eac639d06187e780ffa0ad7b14
* | am 9cce837d: Merge "Increase output width for wchan and pc on 64 bit targets."Elliott Hughes2015-03-101-5/+22
|\ \ | |/ | | | | | | * commit '9cce837d025d05a07a3b91cf23337a7b688c3eb9': Increase output width for wchan and pc on 64 bit targets.
| * Increase output width for wchan and pc on 64 bit targets.Chris Dearman2015-03-091-5/+22
| | | | | | | | | | | | | | Also switch wchan to the textual form, since most of us don't know kernel addresses off by heart. Change-Id: I8e28d910034d8171c5b994189b16114f80f38d2f
* | am 6385d626: Merge "Remove toolbox\'s obsolete \'wipe\' command."Elliott Hughes2015-03-072-177/+0
|\ \ | |/ | | | | | | * commit '6385d626a585017ec1fe4027f4faa79741f9d117': Remove toolbox's obsolete 'wipe' command.
| * Remove toolbox's obsolete 'wipe' command.Elliott Hughes2015-03-072-177/+0
| | | | | | | | | | | | | | | | | | | | It hasn't worked in some time (it removes /data/dalvik-cache, which is required by art), and if you're prepared to reboot (to let init put back all the directories a working system needs) there are other ways to wipe data (such as "fastboot format userdata reboot"). Bug: 19644330 Change-Id: Ib074ea21cc28409a506d66d75060bb4ad85539e2
* | am 830914a4: Merge "Lose touch to toybox."Elliott Hughes2015-02-102-116/+0
|\ \ | |/ | | | | | | * commit '830914a4b6c42d04004e2ec3ff38823f6be8c23f': Lose touch to toybox.
| * Lose touch to toybox.Elliott Hughes2015-02-092-116/+0
| | | | | | | | Change-Id: Id9646ff10870425fc4013aab6621a5f6a0c6e98e
* | am 051f369a: Merge "Build BSD grep separately from toolbox."Elliott Hughes2015-02-052-24/+23
|\ \ | |/ | | | | | | * commit '051f369a14a405dc6dbaf708dc51a21c5629bf88': Build BSD grep separately from toolbox.
| * Build BSD grep separately from toolbox.Elliott Hughes2015-02-042-24/+23
| | | | | | | | | | | | | | | | Also move the dd-only library code into the dd section (so a future maintainer will know to keep/remove them as a block) and fix the one build warning remaining. Change-Id: Ibf6b28ef05e4cbb70b9308b0f4387f5af5b7fa94
* | am 0114e124: Merge "Add ps --ppid."Elliott Hughes2015-01-301-0/+9
|\ \ | |/ | | | | | | * commit '0114e1243ad25cbb43dec33a3b0b267fe624fbfe': Add ps --ppid.
| * Add ps --ppid.Elliott Hughes2015-01-291-0/+9
| | | | | | | | | | | | Needed for a libcore test. Change-Id: Ia21ecf5f7bd8be7f1882d0014d7949d40f6841a5
* | am 06b4e982: Merge "Add missing <malloc.h> and <string.h> includes."Elliott Hughes2015-01-284-0/+4
|\ \ | |/ | | | | | | * commit '06b4e9826a33ddbdbddf7e74076ac29f9450414a': Add missing <malloc.h> and <string.h> includes.
| * Add missing <malloc.h> and <string.h> includes.Elliott Hughes2015-01-284-0/+4
| | | | | | | | Change-Id: Ia41756e607663d056e7d2fdd7ecbec7e5841a913
* | am ae79cb5a: Merge "Add missing <string.h> includes."Elliott Hughes2015-01-252-1/+3
|\ \ | |/ | | | | | | * commit 'ae79cb5a819bd5bbd86a3496141d45c22db8c86b': Add missing <string.h> includes.
| * Add missing <string.h> includes.Elliott Hughes2015-01-242-1/+3
| | | | | | | | Change-Id: I3d1ad54418f69f947e2d829d63b53d44581bfd86
* | am ce34551c: Merge "Lose id to toybox."Elliott Hughes2015-01-172-58/+0
|\ \ | |/ | | | | | | * commit 'ce34551ce6559fe97043a26e3df65396c91bdffc': Lose id to toybox.
| * Lose id to toybox.Elliott Hughes2015-01-162-58/+0
| | | | | | | | Change-Id: I0b92482d06055207e133112e74c58964c7ef0362
* | am 17e2f436: Merge "Lose cmp to toybox."Elliott Hughes2015-01-152-92/+0
|\ \ | |/ | | | | | | * commit '17e2f436f0da70673498482921a642c8917677aa': Lose cmp to toybox.
| * Lose cmp to toybox.Elliott Hughes2015-01-152-92/+0
| | | | | | | | Change-Id: Ib8b078565e4951f7621d21fbe3573bfcf2435879
* | am 3d7951d4: Merge "Lose chown to toybox."Elliott Hughes2015-01-154-377/+0
|\ \ | |/ | | | | | | * commit '3d7951d4a43af35fc7d61a8a69fb2acf4bc50f1b': Lose chown to toybox.
| * Lose chown to toybox.Elliott Hughes2015-01-154-377/+0
| | | | | | | | Change-Id: Ic56addb183ce7f1d289b807527047c37924c1aa6
* | am 41341eea: Merge "Lose date to toybox (as date and hwclock)."Elliott Hughes2015-01-152-228/+0
|\ \ | |/ | | | | | | * commit '41341eea6b32b1c3012a976cfb75704007c39449': Lose date to toybox (as date and hwclock).
| * Lose date to toybox (as date and hwclock).Elliott Hughes2015-01-142-228/+0
| | | | | | | | Change-Id: I7015454edd2240413d93509a96ad884592fcaae9
* | am 3bb5654a: Merge "Lose ifconfig to toybox."Elliott Hughes2015-01-142-158/+0
|\ \ | |/ | | | | | | * commit '3bb5654a46f062b87f6bdbbf8b8945bc9e99947b': Lose ifconfig to toybox.
| * Lose ifconfig to toybox.Elliott Hughes2015-01-142-158/+0
| | | | | | | | Change-Id: Id3fd2898e137d3a70a3dc5ed65689ef5e029c8cd
* | am da3dec3c: Merge "Lose toolbox notify in favor of toybox inotifyd."Elliott Hughes2015-01-142-150/+0
|\ \ | |/ | | | | | | * commit 'da3dec3c19d1489f5997aea9dafd34b68c2b515b': Lose toolbox notify in favor of toybox inotifyd.
| * Lose toolbox notify in favor of toybox inotifyd.Elliott Hughes2015-01-142-150/+0
| | | | | | | | Change-Id: I02e3849c0b944289c6541ff14f1e80a7f8041829
* | am 4503a145: Merge "Switch to toybox cat."Elliott Hughes2015-01-142-337/+0
|\ \ | |/ | | | | | | * commit '4503a1450ce9b2ed86fd9bd3eb3c34c845e8ed08': Switch to toybox cat.
| * Switch to toybox cat.Elliott Hughes2015-01-142-337/+0
| | | | | | | | Change-Id: I0bab6018010c71f6c17eb10bea20dceb470c5242
* | am 69159ba0: Merge "Fix missing #includes in system/core."Elliott Hughes2014-12-308-8/+12
|\ \ | |/ | | | | | | * commit '69159ba0b70178a24e6f592dfb9d903629c23a09': Fix missing #includes in system/core.
| * Fix missing #includes in system/core.Elliott Hughes2014-12-298-8/+12
| | | | | | | | Change-Id: I4736e8c4f7bb8bb03640d26d58243efaa67dc75c
* | am d106305f: Merge "Lose getenforce and setenforce to toybox."Elliott Hughes2014-12-243-76/+0
|\ \ | |/ | | | | | | * commit 'd106305f67b71653d4409a416c69796cbcc948e8': Lose getenforce and setenforce to toybox.
| * Lose getenforce and setenforce to toybox.Elliott Hughes2014-12-243-76/+0
| | | | | | | | Change-Id: Ie03161cc2d6ae410e079e1142e62e6836858c9db
* | am dbe49757: Merge "Lose netstat to toybox."Elliott Hughes2014-12-232-155/+0
|\ \ | |/ | | | | | | * commit 'dbe4975791a4592d863a1418eb68b84fd614937e': Lose netstat to toybox.
| * Lose netstat to toybox.Elliott Hughes2014-12-232-155/+0
| | | | | | | | Change-Id: I165ff67fc47286b992f167ff7392246a805b6d68
* | am 12677383: Merge "Lose mv to toybox."Elliott Hughes2014-12-173-449/+0
|\ \ | |/ | | | | | | * commit '12677383ae247b26225cf9c961e3fb46bcdfc6a6': Lose mv to toybox.