Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

Toybox

Toybox provides common Linux command line utilities together in a single BSD-licensed executable that's simple, small, fast, and reasonably standards-compliant.
Collective - Host: opensource - https://opencollective.com/toybox - Website: https://landley.net/toybox/about.html - Code: https://github.com/landley/toybox

readelf: add PAC and BTI decoding.

I've added the x86 ISA requirement too, since that's the other one I see
on my (host!) system, b...

github.com/landley/toybox - e25d0e03aca284f04875e4710ca43c7997263b57 authored over 1 year ago by Elliott Hughes <[email protected]>
Fix \0 in %b

github.com/landley/toybox - 02fbc9304766269cbfd1eb4490658c662ff6c638 authored over 1 year ago by Rob Landley <[email protected]>
Enable shell command recursion.

github.com/landley/toybox - aa6821ce14464a9cd67c10033c85052c10c06c84 authored over 1 year ago by Rob Landley <[email protected]>
Tweak help text and remove unnecessary parentheses.

github.com/landley/toybox - dbd8ccc856b66d21c54619f910d5f5a9e4ee2d72 authored over 1 year ago by Rob Landley <[email protected]>
blkid: fix buffer overflow

github.com/landley/toybox - f19d41bdce188ba9c07fc06dc078015bc81b3e9a authored over 1 year ago by enh <[email protected]>
Elliott pointed out typos and misplaced HTML tags.

github.com/landley/toybox - 4c1b6407955a66dab1cfdbfd6039a94bbc8def53 authored over 1 year ago by Rob Landley <[email protected]>
Initialize uninitialized variables gcc didn't warn about.

github.com/landley/toybox - a88bd5e9a0c5db495d767b0470329f4b6ad47642 authored over 1 year ago by Rob Landley <[email protected]>
Avoid use-after-free on MacOS.

github.com/landley/toybox - 3d86ee9eaec10ec2858dee2431e9d166db450801 authored over 1 year ago by Rob Landley <[email protected]>
Updated release procedure checklist.

github.com/landley/toybox - 45bc35b0af0b54a6c95043facf61ac5bdab31003 authored over 1 year ago by Rob Landley <[email protected]>
Also pull out toybox-$ARCH binaries, and scp to website with command line args.

github.com/landley/toybox - 03af0d1b4c6f2bf0677f9d46a3ed56017d92c4ff authored over 1 year ago by Rob Landley <[email protected]>
A couple more commands scripts/mkstatus.py calls "uncategorized".

github.com/landley/toybox - c52669df04630548496bac9c8727d2d8a5391276 authored over 1 year ago by Rob Landley <[email protected]>
Better "no kernel" calculation.

github.com/landley/toybox - d9444777433faa7b4f45ed3cfe4c5f4c86644615 authored over 1 year ago by Rob Landley <[email protected]>
Version 0.8.10

github.com/landley/toybox - 99f7b85d0995340610b464c90c996e047e777d1b authored over 1 year ago by Rob Landley <[email protected]>
Release notes for 0.8.10

github.com/landley/toybox - cbc3e2c9889eab9e99127570cbbfa1d5f350d52d authored over 1 year ago by Rob Landley <[email protected]>
Replace $TARGET with $CROSS, fix .config dependency on sh, move OUTDOC=

TARGET was mostly CROSS already, except "host" becomes "$(uname -m)"
during kernel build, but $L...

github.com/landley/toybox - cc5cce79a09c8a417e94ca0f5b7acf01a4d5f27b authored over 1 year ago by Rob Landley <[email protected]>
Comment tweaks.

github.com/landley/toybox - 2510def07ffcb4d33761d6d9af1f607c6027a31d authored over 1 year ago by Rob Landley <[email protected]>
Old script I had lying around to build busybox as a mkroot package.

github.com/landley/toybox - 2af3f3f06b9cd57b7014b7a04aa35ba99cac696f authored over 1 year ago by Rob Landley <[email protected]>
Move mkroot/root to mkroot/packages.

Previous name made sense under scripts, but not under mkroot.

github.com/landley/toybox - ec88e79aca7d9c8925ba4ab6f3a3bca5c16b0085 authored over 1 year ago by Rob Landley <[email protected]>
Skip the sparse tests on MacOS also.

I don't know why they fail on MacOS, and can't say I care that much.

github.com/landley/toybox - d06135c132197521de71baf1096159d7020ce17d authored over 1 year ago by Rob Landley <[email protected]>
Skip sparse tests on filesystems that can't handle 4k granularity sparse files.

github.com/landley/toybox - d69584882ff88148ae4d49738f7e8602548c3b75 authored over 1 year ago by Rob Landley <[email protected]>
Silence EPIPE perror_exit() more generically. (Some codepaths got missed.)

github.com/landley/toybox - 99f84f47ef5300fa239836395ed7b90538cd8135 authored over 1 year ago by Rob Landley <[email protected]>
Make two more vars local.

github.com/landley/toybox - a70025e6133afac9091d313eb66a7a5b7ccbc353 authored over 1 year ago by Rob Landley <[email protected]>
Don't use relative paths for expected/actual so cd/symlinks can't confuse diff

github.com/landley/toybox - 03e1cc1e45b67ad65e5ad0ae47b7a54e68d929d5 authored over 1 year ago by Rob Landley <[email protected]>
Trivial cleanup.

github.com/landley/toybox - cfa3a882741900c76217fe70fe72cb267a2bfeed authored over 1 year ago by Rob Landley <[email protected]>
Script to tar up mkroot output for web page, with top level README.

github.com/landley/toybox - 18ebd3e4e76a1120d5b4c3e6e9bf944ea45198e6 authored over 1 year ago by Rob Landley <[email protected]>
Use logpath out of $PATH if available.

github.com/landley/toybox - 5586ab90d044fc4873d7200e4b6c6d2fcbbf4448 authored over 1 year ago by Rob Landley <[email protected]>
Don't output error message when pipeline exits without consuming all output.

github.com/landley/toybox - 67155ff65680c48f2b04841978672fa90dbd6239 authored over 1 year ago by Rob Landley <[email protected]>
Move kernel configs into "docs" subdirectory, and add microconfig.

github.com/landley/toybox - b2b60ccf5faf85bb1c96cde81b523717a9bb382a authored over 1 year ago by Rob Landley <[email protected]>
Ignore blank lines in name list.

github.com/landley/toybox - b7606824fda48ee8528dcd84dc514632b88aae33 authored over 1 year ago by Rob Landley <[email protected]>
Silence yet another "is not used uninitialized" gcc warning.

github.com/landley/toybox - f782f5314aab9bb2606af6fd7371124e5a0a2a63 authored over 1 year ago by Rob Landley <[email protected]>
Move -m 256 before $@ so setting memory on command line overrides default.

github.com/landley/toybox - 1e2408389fc19ad33d4f12c56f9cc88e69df23dc authored over 1 year ago by Rob Landley <[email protected]>
Add tests.

github.com/landley/toybox - 142556394e1031e7fdd6a5203d722154f19f2269 authored over 1 year ago by Rob Landley <[email protected]>
Promote dd.

github.com/landley/toybox - 60aaeeb85a5446b483aed8c74ded078e4875b1ed authored over 1 year ago by Rob Landley <[email protected]>
Cleanup dd: use iovec instead of memmove(), inline write_out(),

use locals instead of TTin/out.

Most logic is now in dd_main(): parse args, handle seeks, loop c...

github.com/landley/toybox - cc557a33f4979f6d42f8f34e6c239fd257d55877 authored over 1 year ago by Rob Landley <[email protected]>
Elliott suggested we revert c45e80080336 because it hasn't run once

since we did that.

github.com/landley/toybox - c391d4fab39b93d4d6f5bdf3c481ecf19a391b55 authored over 1 year ago by Rob Landley <[email protected]>
mv across partitions should --preserve=all

github.com/landley/toybox - ec3e49c93b07bf494ccb01d80ad0e5f62bfd0a55 authored over 1 year ago by Rob Landley <[email protected]>
Tweak documentation.

github.com/landley/toybox - daba016e2f08db95b17c481cbef3f0f18d6246bc authored over 1 year ago by Rob Landley <[email protected]>
ls: add --block-size.

This came up while explaining the difference between du and ls' idea of
"size" in the context of...

github.com/landley/toybox - 10056fba8a0aaed1e7ebd3ffe5402114ce706d1c authored over 1 year ago by Elliott Hughes <[email protected]>
More cleanup.

github.com/landley/toybox - e0c5f2ccffc93fe96ce9ce94bd445f063f3cd850 authored over 1 year ago by Rob Landley <[email protected]>
Use portable cpio -R instead of --no-preserve-owner.

github.com/landley/toybox - 580878af84787bb0664e559c5ad20f470bfbc19c authored over 1 year ago by Rob Landley <[email protected]>
Default ASAN=1 when "make tests" builds a toybox binary.

Use "make clean tests ASAN=" to test without ASAN. (Or just build toybox
first so the build prer...

github.com/landley/toybox - b564a6028bead88340f76e3ecaf5516d1b0d85f9 authored over 1 year ago by Rob Landley <[email protected]>
Remove extra increment.

github.com/landley/toybox - 7c30d04e67718b06e96d9e7087e877a51cda4cf7 authored over 1 year ago by Rob Landley <[email protected]>
Add comments and collate some assignments.

github.com/landley/toybox - c807258d65bfe62ac94a63f2566dede77e2dd6f5 authored over 1 year ago by Rob Landley <[email protected]>
Enable ASan for github CI.

Untested (because I don't know how to test such changes without merging
them), but seems plausib...

github.com/landley/toybox - c45e800803364c6e1f343e431f98e19a1bc1148f authored over 1 year ago by Elliott Hughes <[email protected]>
Cleanup i2cdetect.

Let args.c handle -F argument including bounds check and no -F with -l,
inline i2cdetect_dash_F(...

github.com/landley/toybox - f90b2994a2da466f2193757a8ef0a1692e4b3233 authored over 1 year ago by Rob Landley <[email protected]>
Add i2ctransfer.

Tested on a Raspberry Pi 400 with a BME680 connected to the relevant
pins, and commands like `i2...

github.com/landley/toybox - 748b33f01a0c5a7190e70c526d941a89bb1259f2 authored over 1 year ago by Elliott Hughes <[email protected]>
Commit 891c5520f493 interlaced -e and -f in command line order, but help

text wasn't updated.

github.com/landley/toybox - 76d0d7a1ec778155cc323e4cf86fb8274990f8c3 authored over 1 year ago by Rob Landley <[email protected]>
Fix GLOBALS() for nsenter

When -C was added in d0c52934a39a5795af12bbf904a093306e38981e, the
number for the arguments were...

github.com/landley/toybox - a6ad3659424bd25a5dd08915b8913e24501f2410 authored over 1 year ago by Jooyung Han <[email protected]>
Reorganize patch logic so EOF detection works with fuzz support.

Comparison involves buffering lines we're unsure of, and when a match
fails several lines in, pa...

github.com/landley/toybox - 81611b0190214e97181cc8ee5249d8fa602667b1 authored over 1 year ago by Rob Landley <[email protected]>
flock: use FLAG().

I happened to be looking at this (enabling it as a host build tool for
Android kernel builds) an...

github.com/landley/toybox - 3a16d790222e45b34a604182399f640da9764149 authored over 1 year ago by Elliott Hughes <[email protected]>
grep -m stops new matches, but -A still shows lines after last match.

github.com/landley/toybox - 4277f1801036d35e8e4f30d47832604f3b29843a authored over 1 year ago by Rob Landley <[email protected]>
Fix "date -s +abc" segfault pointed out by Franke Busse.

While I'm there, enforce max 1 argument, and clean up confused else case.

github.com/landley/toybox - 369526ea9a50c99dff93f1d8fd2380919adb5ad2 authored over 1 year ago by Rob Landley <[email protected]>
Don't delete bunzip2 input file on error (Reported by Frank Busse).

Changed error path to consistently return error string instead of error_exit()
in the middle, wh...

github.com/landley/toybox - 0ff69e539fc76f718bb7afd41a309bea2bd5155d authored over 1 year ago by Rob Landley <[email protected]>
Convert to FLAG() macros, minor cleanups.

github.com/landley/toybox - c2a262226e5a5e8aa45fa8899a4cefcb780f14aa authored over 1 year ago by Rob Landley <[email protected]>
Tweak error message.

github.com/landley/toybox - 01459f6cb21ffe3a66b584b1ddbe449cb301a4ff authored over 1 year ago by Rob Landley <[email protected]>
Fix ${X::} with no args, and add various tests.

github.com/landley/toybox - 577b4d35ca96ca6c39b365cab797ca3c1d83b4bb authored over 1 year ago by Rob Landley <[email protected]>
Add cpio -L

github.com/landley/toybox - 57f85a153ebb9c741c91fc7447877164a32c8efd authored over 1 year ago by Rob Landley <[email protected]>
Convert dd tests to testcmd and replace $obs with an exec redirect.

(Each command.test runs as a separate child process now.)

github.com/landley/toybox - 8630292af6fe6dd6d49e6535befb48262f68d015 authored over 1 year ago by Rob Landley <[email protected]>
Add test for dd val=2x3x4 posix syntax.

I didn't add it to dd's help because $((MATH)) exists in modern shells,
but coreutils' mailing l...

github.com/landley/toybox - f906363500b010877ce1ac53926974168c34048e authored over 1 year ago by Rob Landley <[email protected]>
Fix killall5 /proc parsing for complex command names.

github.com/landley/toybox - af055dabfc90daaaf93e9417bf4a3c5b2e63a057 authored over 1 year ago by Rob Landley <[email protected]>
Cleanup pass on dd: Implement 1x2x3 posix nonsense, detect overflow,

TT.buff is shared between input and output so shouldn't live in both.

github.com/landley/toybox - ab410822f36db3a174c69328aecdd4b499a0e30a authored over 1 year ago by Rob Landley <[email protected]>
Fix HERE document quoting, remove deletion list from expand_one_arg()

(have it free its own temporary memory instead, and callers free the
result when it != the argume...

github.com/landley/toybox - 9990355ff8b3569ba1cce9853781d6fe1cab09db authored over 1 year ago by Rob Landley <[email protected]>
Fix two uses of strdup() instead of xstrdup().

github.com/landley/toybox - 8a327f6eda72d053d0725155c9b50071ddde86d1 authored over 1 year ago by Rob Landley <[email protected]>
gpiod: fix foreach_chip crashes.

This was segfaulting because the loop copying the chips into the array
was corrupting the list, ...

github.com/landley/toybox - 1542c2855b286f796d60156f37981f9f6248eb2d authored over 1 year ago by Elliott Hughes <[email protected]>
Redo trailing \ handling, overhaul HERE document plumbing,

handle undelimited redirects (I.E. cat<file without spaces),
remove unused third argument to pars...

github.com/landley/toybox - 5d56b35512cbcbdd3bd77b84c580ec8c76b92603 authored over 1 year ago by Rob Landley <[email protected]>
Need to quote "no modules".

github.com/landley/toybox - 87abbcad8f8cfb5f3dd4216f296036a2af4ecff9 authored over 1 year ago by Rob Landley <[email protected]>
If you "touch abc Abc" on MacOS you only get one file, so skip those tests.

github.com/landley/toybox - 51b7f593114ca8c959b44d572af96ae3f9dd428c authored over 1 year ago by Rob Landley <[email protected]>
More reliably SKIP when no modules, add uname -r to non-android module path

(so we're sure to select the modules for the running kernel), reorder so
SKIP tests go before tes...

github.com/landley/toybox - a5b5749cc7f0f4a68c2b51bbcee79726dfb4bee6 authored over 1 year ago by Rob Landley <[email protected]>
Add test for ls --sort and ls -lc vs -ltc, fix issues found by them.

github.com/landley/toybox - 0b20d799bc9a486fa740fedb4020a2be3faa30e4 authored over 1 year ago by Rob Landley <[email protected]>
Fix escape passthrough bug reported by Mingliang Hu.

github.com/landley/toybox - 23fc1ecab1b49e3dfd681882946c6729adb78da6 authored over 1 year ago by Rob Landley <[email protected]>
Remove trailing space in -p mode.

github.com/landley/toybox - 20774c0bc1911a526b8a79270fbb336d45360c45 authored over 1 year ago by Rob Landley <[email protected]>
Wire up "local" builtin, with test.

And fix typo.

github.com/landley/toybox - 3074e65693cf8a654961e1ea62c616a063ae8a47 authored over 1 year ago by Rob Landley <[email protected]>
Fix if/while block return code (test value was leaking through),

and fix while to call test each time through the loop (not just first time).

github.com/landley/toybox - f8ea3f2ec14fcca38fac543cc4e9b519992d32bd authored over 1 year ago by Rob Landley <[email protected]>
Try to reduce ifconfig test flake.

github.com/landley/toybox - c68e4e2fc64ce4e3f3ce336d436d49debf7783c0 authored over 1 year ago by Elliott Hughes <[email protected]>
readelf: fix an off-by-one and improve warnings.

Factor out the existing section header/program header/note section
bounds checks to ensure they ...

github.com/landley/toybox - f1682dc79fd75f64042b5438918fe5a507977e1c authored over 1 year ago by Elliott Hughes <[email protected]>
Implement set -u in toysh.

github.com/landley/toybox - 216e4d1398266c4f8265ff9dd9226d1878f60b5a authored over 1 year ago by Rob Landley <[email protected]>
Fix a missing space.

Two command names got glued together so neither was found. Didn't hurt
the patched kernel buildi...

github.com/landley/toybox - ca91a90ac0665650c012637db75e11e171c97268 authored over 1 year ago by Rob Landley <[email protected]>
Teach switch_root to move mountpoints into the new root.

Plus some in-passing cleanups.

github.com/landley/toybox - c04b565204eb6b7e3508ac8dd42539ab97752635 authored over 1 year ago by Rob Landley <[email protected]>
Add tar --one-file-system

github.com/landley/toybox - 8515c10794ff0ee9f44522ac5d6178057072ff38 authored over 1 year ago by Rob Landley <[email protected]>
Fix space embedded in KCONF= string.

github.com/landley/toybox - 788e33284a022376cc5c4e2157b8e8515aa527ab authored over 1 year ago by Rob Landley <[email protected]>
Alas, mount -t vfat needs NLS nonsense to work, even when UTF8 enabled.

github.com/landley/toybox - 2b55cfe73308156b25e433bb459f3548fe2d6a5c authored over 1 year ago by Rob Landley <[email protected]>
Truncating demo_utf8towc's check range to 0x10ffff was wrong, that

would be for a wctoutf8 test, so it wasn't showing all the results,
but going through the full 32...

github.com/landley/toybox - 8201b75114923069ee193c761f17394e6f8e6b79 authored over 1 year ago by Rob Landley <[email protected]>
toysh command line parsing should stop at first nonoption argument.

github.com/landley/toybox - a07853cd9387f1749252a4a0a0cf9375bf53cf46 authored over 1 year ago by Rob Landley <[email protected]>
Shell can test if a fd is open with "2>/dev/null <fd" so remove test -T

github.com/landley/toybox - bbd2d5a8fa3ff8265117f23a98111e9b3d53cef0 authored over 1 year ago by Rob Landley <[email protected]>
Merge most KERNEL_CONFIG uses into KCONF=csv via new NAME=VALUE syntax.

(Still needs KERNEL_CONFIG for VALUE containing comma.)

github.com/landley/toybox - 1974e573aa3130826f5dd08c7f8b8ea9d3864717 authored over 1 year ago by Rob Landley <[email protected]>
Use test -T in mkroot init.

github.com/landley/toybox - c3cd0626a3188af7b02cef37561aed1d5f596477 authored over 1 year ago by Rob Landley <[email protected]>
Fix error reporting for find -commands that take an argument but

haven't got one because they're at the end of the command line.

This unknown commands, because t...

github.com/landley/toybox - f0f368b56b58016cf9c2d6dfdd215ef0041ee7cd authored over 1 year ago by Rob Landley <[email protected]>
Fix line continuation debris, add test, minor in-passing cleanups.

github.com/landley/toybox - 60afef10dee17524f83dbf1feee59e21fbd9520a authored over 1 year ago by Rob Landley <[email protected]>
Update fs_type_name() with linux/magic.h constants, trying to correct names

for "mount -t TYPE" modules.

This is probably going to need another pass. The 6.3 kernel's magic...

github.com/landley/toybox - 88ea9c97afa0a1c0115d7a57cac2c5ed92a2a7da authored over 1 year ago by Rob Landley <[email protected]>
Simplify J-core config slightly.

github.com/landley/toybox - 39091296f5688e2e9e33c861d1c101429bc4018b authored over 1 year ago by Rob Landley <[email protected]>
Update sh2eb config (for j-core turtle board).

github.com/landley/toybox - c7669bbd0b83f0e9d93541c8739653495ed325b1 authored over 1 year ago by Rob Landley <[email protected]>
Minor cleanup.

github.com/landley/toybox - f20bb2c724279cbc4a4517c292a309e97cb6da49 authored over 1 year ago by Rob Landley <[email protected]>
portability.c: enable copy_file_range() on Android.

github.com/landley/toybox - 7c3063b1c73f5b076b8cba4909d38cb70f97fc99 authored over 1 year ago by Elliott Hughes <[email protected]>
Move go debugger from "what toybox should have" to "what AOSP build has".

github.com/landley/toybox - 04d530c6db56d93031ee84b2d88f934b467389f9 authored over 1 year ago by Rob Landley <[email protected]>
roadmap: update AOSP section.

github.com/landley/toybox - d45ee3a2bc6271110312f01be867a9b6b91dd07f authored over 1 year ago by Elliott Hughes <[email protected]>
Wait for compression program to exit, and pass on error result.

github.com/landley/toybox - 827dfe3fe1bc9da2c215f54a5124fb0edcc9321c authored over 1 year ago by Rob Landley <[email protected]>
Add redirector from old mkroot location.

github.com/landley/toybox - 5083274a8a0b65d822e8ad669a1ffffb69a92220 authored over 1 year ago by Rob Landley <[email protected]>
Add test -T to check if fd is open. (Do we have a stdin?" A pipe counts.)

github.com/landley/toybox - 9be9766df2c0e17602f900bfdef9d400eb5189d7 authored over 1 year ago by Rob Landley <[email protected]>
Move mkroot into its own directory.

github.com/landley/toybox - 126c719dd250735f1c9517dfb6dcdfe02f347818 authored over 1 year ago by Rob Landley <[email protected]>
Treat space and newline the same, and don't theoretically overrun

toybuf by 5 bytes if kernel returns something weird.

github.com/landley/toybox - 8626a6ac7dff93bf97f754c93c3e426ee5c6b1e0 authored over 1 year ago by Rob Landley <[email protected]>