Since watchprops would have to be rewritten anyway in the upcoming properties rewrite, there seems little point in rewriting it for toybox first. Let's see how many people actually use watchprops and decide whether it's worth the effort... Change-Id: I996e7209bc81633ee66602f09f130226336d9987
Bug: https://code.google.com/p/android/issues/detail?id=165602 Change-Id: Ia1e2de1697d971381b0c949fdaaeff424ab8bf32
None of our tools -- except for top, which I'd fixed previously -- handles SIGPIE correctly. Let's just handle SIGPIPE in the driver. Bug: https://code.google.com/p/android/issues/detail?id=157920 Change-Id: I322ea411f53c71585a64118c217d54389f675d4e
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 <firstname.lastname@example.org> Change-Id: I789434895b70b051d4d5c1a5db566a1925478ef0
ioctl(BLKGETSIZE) expects unsigned long (8 bytes on 64 bit environment). Change-Id: Ic0f1d48e1d4cb890dbf617b3eb6285425cdbf0d0
Instead, take advantage of the fact that we'll be run from the root of the tree. Change-Id: I5ce6d1c9ae8d478748ab90c9d3cc8e665ae5859b
Now we only have to remember to update the kernel uapi headers, which we're pretty good at. Change-Id: If04eb8c50882fff5e5e2a5d72664f5d4c4c538b1
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 <email@example.com>
…argets." * commit '9cce837d025d05a07a3b91cf23337a7b688c3eb9': Increase output width for wchan and pc on 64 bit targets.
Also switch wchan to the textual form, since most of us don't know kernel addresses off by heart. Change-Id: I8e28d910034d8171c5b994189b16114f80f38d2f
* commit '6385d626a585017ec1fe4027f4faa79741f9d117': Remove toolbox's obsolete 'wipe' command.
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