aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-17Snap for 8603585 from 2f7f57d587f1c6a1b0d02bbe0580ec18859993fc to ↵aml_tet_331910040aml_tet_331820050aml_tet_331711040aml_tet_331511160aml_tet_331511000aml_tet_331412030aml_tet_331312080aml_tet_331117000aml_tet_331012080aml_tet_330911010aml_tet_330812150android13-mainline-tethering-releaseAndroid Build Coastguard Worker
mainline-tethering-release Change-Id: I8c615ec2bc241f529161fb7482876baa5622080a
2022-05-13Switch to C11 noreturn to work around a compiler bug in llvm. am: ee301d5dedRob Landley
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/toybox/+/18350067 Change-Id: Ia56e97b53e129ce8891e941a09f23946f9d5f2cb Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12Switch to C11 noreturn to work around a compiler bug in llvm.android13-devRob Landley
Elliott said: Works around a clang bug in the version of clang shipping with Android T that causes a miscompile in xstdio_create() on x86-64, that oddly only affects __attribute__((__noreturn__)) and not _Noreturn! Bug: http://b/225806996 Test: manual inspection of generated code on x86-64 Change-Id: I12302d2300fc454f92352b43090745c04ed66fd0
2022-05-10Snap for 8564071 from 7b78605fb5d70b30f22a6c0a7b8eac83bb103aef to ↵Android Build Coastguard Worker
mainline-tethering-release Change-Id: I42da5391005b6532a1e0e8d35885209bb5e654e9
2022-04-19Upgrade toybox to 8b97a1fb86b06e329c77c64cdbef29d7738f5840 am: 1ef443927d ↵Elliott Hughes
am: cff1e61b1d am: 0828795579 am: 2cc84e6d13 Original change: https://android-review.googlesource.com/c/platform/external/toybox/+/2066960 Change-Id: Id4038f72de373decc67ada929e567caaf3999fc4 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-19Upgrade toybox to 8b97a1fb86b06e329c77c64cdbef29d7738f5840 am: 1ef443927d ↵Elliott Hughes
am: cff1e61b1d am: 0828795579 Original change: https://android-review.googlesource.com/c/platform/external/toybox/+/2066960 Change-Id: I5251d6437b1dc75e7f336a222fef191be58db89d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-19Upgrade toybox to 8b97a1fb86b06e329c77c64cdbef29d7738f5840 am: 1ef443927d ↵Elliott Hughes
am: cff1e61b1d Original change: https://android-review.googlesource.com/c/platform/external/toybox/+/2066960 Change-Id: I41b60bf923d5a066c1a72d042ab2a2ce2b32ac78 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-18Upgrade toybox to 8b97a1fb86b06e329c77c64cdbef29d7738f5840 am: 1ef443927dElliott Hughes
Original change: https://android-review.googlesource.com/c/platform/external/toybox/+/2066960 Change-Id: I2d4f9234f98468b58ac2c4235ca9f401c57a8b50 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-18Upgrade toybox to 8b97a1fb86b06e329c77c64cdbef29d7738f5840Elliott Hughes
Test: make Change-Id: I39da6b1e2853240648674e7f305281c4324c32dd
2022-04-15Thinko spotted by Elliott: actually compare with variable, not if (constant).Rob Landley
2022-04-12Grab definition of UNSTRIPPED and friends.Rob Landley
2022-04-12Unset ASAN after consuming it so scripts/portability.sh can be sourced twice.Rob Landley
2022-04-12Move arch-specific dead code elimination setup into scripts/portability.shRob Landley
2022-04-12Collate ASAN setup, move generated/instlist into generated/unstripped,Rob Landley
use $UNSTRIPPED variable in more places and move definition to ./configure.
2022-04-12Comment template tweak.Rob Landley
2022-04-12Add kconfig-language.txt from Linux 2.6.12.Rob Landley
2022-04-12All PEDANTIC_ARGS does is set a macro that's never used.Rob Landley
2022-04-11lib/portability.c: don't assume we have __NR_copy_file_range.Elliott Hughes
Android's host tools currently build with glibc from 2012, but even if we were more up to date (or had already switched to musl for host tools, which hopefully will be the case by this time next year), it was added to glibc recently enough to miss the "seven year window".
2022-04-11Update man page URL in hello/skeleton examples, and fix hello toRob Landley
wait for PID 1. (rdinit=/bin/hello would kernel panic if pid 1 exits, and wait() returns "No child processes" error, so pause() instead.)
2022-04-11Fix mkroot m68k target's network connection.Rob Landley
2022-04-08More wget cleanup.Rob Landley
Fix path, null terminate THIS line instead of chomp() whole header (no guarantee the line we're looking for is last, although if it isn't inserting the null terminator would truncate later searches), don't assume server sent back a valid header with a " " in first line (it SHOULD, but might not), don't interpret "-" filename from remote end as stdout.
2022-04-08Cleanup pass on wget.Rob Landley
TT.postdata -> TT.p, replace both WGET_IS_HTTP macros with a test in wget_info() setting TT.https (although still want an HTTP macro to include the WGET_SSL test because I don't trust the compiler to do dead code elimination based on a global in a union), inline wget_redirect() and wget_filename() at their only caller, use xmprintf() for request rather than copying user-defined strings into toybuf without bounds checking, try not to assume other side sent us good data.
2022-04-08mkroot: add wget to pending build list, always rebuild .config whenRob Landley
$PENDING set, reset wordwrap after qemu exits (as well as in init script). The wordwrap reset sequence was moved to the start of the init script so command history editing wouldn't be borked in the emulated system, but if the init script didn't run the host's command history editing would stay borked. (QEMU's BIOS outputs something stupid that has to be undone.)
2022-04-04Add "ifconfig eth0 rename NEWNAME".Rob Landley
2022-04-04realpath should parse -eRob Landley
The test USED to work because "unknown option -e" was ALSO an error, until last commit passed through the -e...
2022-04-04When args.c is just enforcing max/min argument count with no options, imply ?Rob Landley
so "command -123" isn't an unknown option error.
2022-04-04Earlier test ensures dev isn't null when !FLAG(a), so don't test same again.Rob Landley
2022-04-04Minor cleanups, and switch lll to "long long" for 32 bit platforms.Rob Landley
2022-04-03Give "make install" a default location it can actually install to, whereRob Landley
you can tar it up from to extract somewhere else if you like.
2022-04-03Replace another hardwared "generated/" with $GENDIRRob Landley
2022-04-03Fix a segfault due to a wrong order global variables of wgetMoritz C. Weber
2022-04-03Replaced sizeof by strlen in wget POSTMoritz C. Weber
2022-04-02Add tar --strip-components.Rob Landley
Also in lib/ add bufget name variants for password and group.
2022-04-01Cleanup openvt/deallocvt and merge with chvt, promote out of pending.Rob Landley
2022-04-01Fix "toybox command --help" for NEEDROOT commands.Rob Landley
2022-03-31Fix "toybox command --help".Rob Landley
2022-03-31Make tar tests more portable, and add --owner :UID and --group :GIDRob Landley
2022-03-31Add git and bash to airlock install's $PENDING.Rob Landley
make.sh tries to use "git describe" for --version, and the linux kernel's powerpc64le build uses "bash" out of the $PATH and breaks if it can't. (Since toysh should eventually provide a bash alias...)
2022-03-31Update make.sh to avoid library probe when toolchain hasn't changed.Rob Landley
2022-03-26Added basic post-data supportMoritz C. Weber
2022-03-26Update docs.Rob Landley
2022-03-26Cleanup pass and make -O - write to stdout.Rob Landley
Teach chomp() to remove any number of trailing \r\n
2022-03-23Video was made private, but the same guy gave the same talk at anotherRob Landley
conference.
2022-03-22Don't say "see toybox --help" in "toybox --help".Rob Landley
2022-03-22Avoid redundant strlen() inside libc.Rob Landley
2022-03-22Fix a memory leak and update reference after discarding blank pipeline segment.Rob Landley
2022-03-22use $GENDIR variable for (some) generated/ references, and moveRob Landley
build binaries (config2help/mkflags/mktags) to $GENDIR/unstripped.
2022-03-19The ".." removal logic was looping on file/dir names starting with "..",Rob Landley
reported by hg42 on github.
2022-03-19Fix copy_file_range() fallback.Rob Landley
2022-03-19Merge "Upgrade toybox to 8a23ac205cb4995d4510a5af880939eda4a5343e" am: ↵Treehugger Robot
d061683cb1 am: 111db74ab1 am: 95e4e99bf4 am: bc93cfd834 Original change: https://android-review.googlesource.com/c/platform/external/toybox/+/2029124 Change-Id: I56974e780e5f1b86b8a42d5442d9e73e5a981acf