Age | Commit message (Collapse) | Author |
|
Bug: http://b/33304485
Change-Id: Ic37aad18b4c05f3808de51ccab2676009afb4404
Signed-off-by: Sandeep Patil <sspatil@google.com>
|
|
Change-Id: Ifcffe984c4e2cdca85d800300d80cf6dfea5af0b
|
|
Some firmware flashing scripts rely on sharutils, which rely on
uudecode/uuencode. Since we're several decades too late to expect
anyone to update sharutils to use base64 instead, and POSIX
includes uudecode/uuencode, let's just support them.
Bug: http://b/31913440
Test: manual
Change-Id: Ia3893de08abfe5b8a8f58349bd298b912fa99e6a
|
|
Change-Id: Ib0b86bedbf7b9a4370533847ac0acad5aa478795
|
|
Change-Id: Ie0bea3ba0de34b8ef14ca4af97772530b6736dc2
|
|
Change-Id: I02968eafb038766a5190e0576bf810633e9c4d50
|
|
Shows bitness, arch, Android API level (based off crtbrand.o), the BuildID
note, and whether or not the ELF file is stripped.
/system/bin/ndc: ELF shared object, 64-bit LSB arm64, dynamic (/system/bin/linker64), for Android 23, BuildID=b0dbcbd074276683f06dfe65740411dd, stripped
Change-Id: I7d3d0de8c78c646f07ae1054719dc40075ece498
|
|
Change-Id: Ia675ae28c2ce58dfbe0293394f091747b4d7f11c
|
|
Change-Id: Ifa85ce6790aef1838c29d521b3fdd23d7e8728d7
|
|
From the commit that stopped creating the symlink:
We should remove the "route" command because its output is irrelevant and
misleading. This is because it only looks at the "main" routing table,
which is a last resort routing table that is a) trumped by all other
networks, b) empty except for directly-connected routes c) cannot even be
used by non-root users.
The proper way to understand device routing is to look at the output of
"ip rule" and "ip route", both of which are already available.
Example of how this is confusing:
$ adb shell route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
160.249.218.72 * 255.255.255.248 U 0 0 0 rmnet_data0
192.168.144.0 * 255.255.240.0 U 0 0 0 wlan0
These aren't guaranteed to be used. For example, according to the output
above 160.249.218.73 should go through rmnet_data0, but it doesn't:
$ adb shell ip route get 160.249.218.73
160.249.218.73 via 192.168.159.254 dev wlan0 src 192.168.159.164 uid 0
cache
Also, there is no default route. But the device has networking just fine:
$ adb shell ip route get 8.8.8.8
8.8.8.8 via 192.168.159.254 dev wlan0 src 192.168.159.164 uid 0
cache
Bug: http://b/27603033
Change-Id: I40be0a7e2841144797a67f9aeb82b9097cec5400
|
|
Bug: http://b/27729263
Change-Id: Ibe1f530198045e4133960af61800b40d4348c59a
|
|
...since it's never going to run as pid 1.
Change-Id: Idd21951c2966ce37049aa397c8c973b0e7202901
|
|
Change-Id: I8a889ae35d7846555c3807c4179579e4c7286ac2
|
|
Change-Id: I7c353a8c75fc6de1210e78b5729491e6dbfbe778
|
|
Change-Id: I3f8bfcd76811a7719d24cb3a753452f9bc7ab99a
|
|
Change-Id: I3ce89d325c40621d33f5be3af4bb696d53ed5c44
|
|
We turned on CFG_TOYBOX_DEBUG so ls would be asan-clean, but that turns out
to have broken mount for non-root users. So let's turn CFG_TOYBOX_DEBUG off
for now, but let's also say that ls should always be asan-clean on Android.
Bug: http://b/26647560
Change-Id: I5392aedd168c1e765e3319e3c76e996040b7e8ab
|
|
Also stop using the NORECURSE workaround now runcon has been fixed to
explicitly not recurse.
Change-Id: Ide0e09b9b28adca2f9d4d1e8db98022e9342addd
|
|
CONFIG_TOYBOX_NORECURSE means that toybox avoids re-execing where possible.
Unfortunately, this breaks runcon, which requires an exec(2) to have any
effect. Note that this only breaks runcon for toybox commands, and even then
only if you use the bare name (such as "id" rather than "/system/bin/id"),
which is why this went undetected for so long.
Change-Id: Ia02254346800c2c16ac6fc692dc8a79b1ac67f58
|
|
Also track pgrep/pkill move to "ps.c".
Change-Id: I1077d8f5b6e7fdbda27bcf463e4731825422360c
|
|
https://github.com/landley/toybox/commit/047bcb8e7d37847b96dbf621ea22ff00e9541d32
only made ls valgrind-clean if CFG_TOYBOX_DEBUG is defined. So let's define
that.
The only other stuff this turns on is various bits of error checking that it
doesn't seem unreasonable to run with. If this becomes a problem in future,
we can lobby to have CFG_TOYBOX_VALGRIND_CLEAN broken out of
CFG_TOYBOX_DEBUG.
Change-Id: I8f89459d50f0fc976b225f1bfa01f55ac85de4b5
|
|
Change-Id: I61a6e7b160133ecf271aa28bf5d5de63191b3bcb
|
|
Change-Id: I7315c525b57f02b481e5bbd24f9887e1b8dd166f
|
|
Change-Id: Ib322e0ee3c629eff5ed1bf5415f2f0c633792e9d
|
|
This lets you use "toybox ps" if you want, but "ps" is still a symbolic link
to the toolbox ps.
Change-Id: I82e4b94d68009640a3e69e0d349dc81aa84c50fd
|
|
Change-Id: Ia7a11e6a130f4b043842d54d86c9bb02f7ee6270
|
|
Change-Id: Ic4b801cf500ac17c4f7ddbff896edf318e373fcd
|
|
Now we're manually editing .config because we gave up on the repeated
breakage running the script on the host, we don't need to have a fake
<shadow.h>, and we can fix uptime so we don't need a <utmpx.h> either.
Change-Id: If371bb85bd44fec01362f7fbbbfc392bd2cdfe29
|
|
Change-Id: I647814ca584713988ad8f104da0cb3bd5c0787ab
|
|
Change-Id: I5644b11b7c76e71feaace364d60a03e88cd8fabe
|
|
Change-Id: I7b710d9132d04aac7f5ce91a7134af7bc1416acd
|
|
Change-Id: I712c4e8391d333536887dcea162e640b2b73948e
|
|
Change-Id: I7525f17bf72a87d6eb25d687b70e5b7b4dd41d03
|
|
This makes no sense right now, not least because we don't have the database.
Change-Id: I7d56386e81b1995577a9813663a9594357618a02
|
|
Change-Id: I0fa3010adc8740b1eaf19b3d073807618ca785ff
|
|
Change-Id: Ie882b61d9bf3489348d145bc127bab8a128397fe
|
|
Change-Id: I21fdf950573bd41610c524c63c71c22939e5badb
|
|
This functionality has been disabled in Android kernels since Cupcake.
Change-Id: I1855df32b618b3889eec75fbac7faac87ea385e0
|
|
Also temporarily stop building pending/ps.c --- it's under construction
and doesn't currently build with clang.
Change-Id: Ie83dc65be22df5850b08569ebb1b88d26155aca5
|
|
Change-Id: Ic9ee4d9411bd8904546358db3768d95183be0e82
|
|
Change-Id: I63efaef8d27de661eac497a106e2c2c0cac8a9bb
|
|
Change-Id: If77674a3fb5e0d86193bdcf8850459eef689fba7
|
|
Change-Id: Ie46c47811c74decd114bfc0d0cbbc600916fa13e
|
|
Also build toybox runcon.
Change-Id: Ib0db1472e4dbc5d9ac3a3ba1c9732db4c4e3f963
|
|
This is a better alternative to the toybox ps' simple name filtering.
It's much more scriptable too. And pkill makes one of the common uses
directly available.
Change-Id: I92529b68edd136fb8676029abbcc3a9c4d56f218
|
|
Change-Id: Idbfcc6f260f8b993a19a5ef4b54586b2af8026bb
|
|
Bug: 19430187
Bug: 19430306
Change-Id: Ibe0f5eeeefd365d31bfc7569e21f5e370049e97a
|
|
Change-Id: I6b1d120bd08f58d7cfa869070e61ad792698071c
|
|
Change-Id: Iab7a9844e8774eb575380c02e3794b5cd838959c
|
|
Sony asked for this to be included for some reason. Fine by me.
Bug: 18464157
Change-Id: I497d6d8fe8a912b5c503663cfb12d9de7803343b
|