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

Make sendfile use libbuf.

github.com/landley/toybox - 6d28370f22aa6b7c97a57a434339fa57ce322c8b authored about 10 years ago by Rob Landley <[email protected]>
Tiny in-passing cleanups to more.c.

github.com/landley/toybox - 75fea678c039381b310d15a86d698cba7ec9805d authored about 10 years ago by Rob Landley <[email protected]>
Check in most recent release notes.

github.com/landley/toybox - dc5bd766762ae5f97bad7969f711e721b05aed63 authored about 10 years ago by Rob Landley <[email protected]>
When running a test, the diff is always an ascii diff, not binary.

github.com/landley/toybox - fd49375b9a150bc908fccc9912fdb92e289398e1 authored about 10 years ago by Rob Landley <[email protected]>
Add "change" subdirectory to make clean.

github.com/landley/toybox - 6d33f3a8be75aadfc9fd452ed67964920e451b14 authored about 10 years ago by Rob Landley <[email protected]>
Add "make change" target to build the big toybox binary as a bunch of little ones (in the "change" subdirectory), and tweak scripts/make.sh to avoid redundant work when rebuilding.

github.com/landley/toybox - 62390fddc753e04aa12655d073572f9c39af3874 authored about 10 years ago by Rob Landley <[email protected]>
sed: c needs to trigger range logic like d, D works like d when there isn't anything left in the line, and more tests.

github.com/landley/toybox - e7835d79c5b6c2c586bf13a28c6457b012145a36 authored about 10 years ago by Rob Landley <[email protected]>
New ifconfig tests from Cynt Rynt.

(I added the "only run if root" stanza at the beginning.)

github.com/landley/toybox - 01e06c4c84a96fcf12c87faccc281134249c5823 authored about 10 years ago by Rob Landley <[email protected]>
Update dmesg, loosely based on a patch from Elliott Hughes.

Probe the default buffer size, replace the constants with FLAG_x macros, add -r,
replace the byt...

github.com/landley/toybox - 6a66049f5038f4d1e5bdb2cdcb5609a5c4184c90 authored about 10 years ago by Rob Landley <[email protected]>
Variant of a patch from Ashwini Sharma, making df /dev/node work and tweaking the spacing.

I didn't apply the POSIXLY_CORRECT gnuism because it's a can of worms (as would
be LSB_CORRECT),...

github.com/landley/toybox - f232c37cf2c3b5578c9d19e7e16e77b4a9b00450 authored about 10 years ago by Rob Landley <[email protected]>
Android-related roadmap.html updates.

most notably:

* Android switched to mksh several releases ago.

* system/core/reboot is Android...

github.com/landley/toybox - 1fb20807748ddfb8e41b594dd1b0594ef5b31b95 authored about 10 years ago by enh <[email protected]>
Tweak the "ignoring return value" fortify workaround for readlinkat.

We zero the buffer and if the link read fails that's left alone, so
it's ok for the symlink not ...

github.com/landley/toybox - 9ab563b8a170aee0b8b82ca32e9f70a689112b6a authored about 10 years ago by Rob Landley <[email protected]>
As long as Android's going to require fortify, fixup the warnings it generates.

github.com/landley/toybox - f6c28b6e0017ac36190ee31132721a1c9e30f2b6 authored about 10 years ago by Rob Landley <[email protected]>
Whitespace/code style.

github.com/landley/toybox - ea6fc27fc8853b317a78c402e290bdc0142792e8 authored about 10 years ago by Rob Landley <[email protected]>
A patch against your current ToT that builds in AOSP master.

github.com/landley/toybox - 6a29bb1ebe62ada2dad5fb50f84f23a497cd677a authored about 10 years ago by Elliott Hughes <[email protected]>
Don't include asm/* files directly.

github.com/landley/toybox - 3280d995b3447b7a94af006ac26d7d3656aee961 authored about 10 years ago by Rob Landley <[email protected]>
Patch from Elliott Hughes for Android/bionic build.

github.com/landley/toybox - 69a9f257234a32b3aab2b0cdced8e898c940d3e9 authored about 10 years ago by Rob Landley <[email protected]>
Make md5sum and sha1sum work on big endian systems.

github.com/landley/toybox - 29e5e24c6d7ea08fc84895eb48de3a5f2250a547 authored about 10 years ago by Rob Landley <[email protected]>
Fixups for the android/bionic build probes patch.

The CFG_* symbols are always defined so if() can use them as compile-time
constants, so don't if...

github.com/landley/toybox - 561478541dbeb92e2c82c2fda7b43461293938e9 authored about 10 years ago by Rob Landley <[email protected]>
probe for getspnam(), forkpty(), utmpx, replace sethostname()

Android is missing all of these; we need to probe for some so we have
a config symbol to depend ...

github.com/landley/toybox - 46ddf0e34b03f7711a9c80f7a70dc8cbf732f782 authored about 10 years ago by Isaac Dunham <[email protected]>
Fix "tail -c 10" segfault spotted by Lukasz Szpakowski.

Once we've read through the initial TT.bytes backlog we discard the extra data,
meaning we adjus...

github.com/landley/toybox - 159a7f1621eecf6cf3c2824ffb762a19bf5f7667 authored about 10 years ago by Rob Landley <[email protected]>
More sed bugfixes.

github.com/landley/toybox - 45bd6a2cd43ebd27e2696852959617704a8faafd authored about 10 years ago by Rob Landley <[email protected]>
sed: fix 'q', and { }, and } after s/// with no semicolon.

github.com/landley/toybox - e9b1a61f81f500f7f3bb57082f8b1c53f61313dd authored about 10 years ago by Rob Landley <[email protected]>
More sed corner cases. (Empty regex repeats previous regex, implement -i, etc.)

github.com/landley/toybox - 4a94ed0967ec27bb8976803191340aa575f32a19 authored about 10 years ago by Rob Landley <[email protected]>
Fix more sed bugs.

github.com/landley/toybox - 4a6eb58382c38274193d029f58c94da6f67daca5 authored about 10 years ago by Rob Landley <[email protected]>
Fix sed 'b' with no label and 'N' in general.

github.com/landley/toybox - 7928b0d28b7e8fe8b7cb7eeb5ddde4d4840db9e4 authored about 10 years ago by Rob Landley <[email protected]>
More sed bugfixes. (Did you know s/[/]// is a valid sed expression?)

github.com/landley/toybox - 2814e457ed53f14bc333c79beaa19741a35f1d82 authored about 10 years ago by Rob Landley <[email protected]>
Debugging pass on sed: make the existing test suite pass.

github.com/landley/toybox - 0c558f09d9d714244847b0473f7ecda6b12c2ab4 authored about 10 years ago by Rob Landley <[email protected]>
Add a few more sed tests.

github.com/landley/toybox - 1d5f48f3c195fbd9907cbbf89250c3a5ba6c4389 authored about 10 years ago by Rob Landley <[email protected]>
Add color support for scripts/test.sh and new SKIP_HOST for tests expected to fail on non-toybox implementations.

github.com/landley/toybox - 9dbcee4875c71afbaf0df42f8e5ce3b6533d6c14 authored about 10 years ago by Rob Landley <[email protected]>
sed: implement s & and \1 backrefs.

github.com/landley/toybox - 222fc81c91ab882279da53fe7f3de20ff4b2ce5e authored about 10 years ago by Rob Landley <[email protected]>
Implement more sed plumbing, including s/// (without \1 or & yet).

github.com/landley/toybox - cb652fa275c1806277ff07a98c864dc8c0335e0f authored about 10 years ago by Rob Landley <[email protected]>
Remove unnecessary assignment spotted by Cynt Rynt.

github.com/landley/toybox - 6e087a3a6fb420efc5cb77e13818668212034225 authored about 10 years ago by Rob Landley <[email protected]>
Implement another largeish chunk of sed. Untested, unfinished, do not use yet.

github.com/landley/toybox - 549010756693647c759a2de4f2d5a81265d7e6cf authored about 10 years ago by Rob Landley <[email protected]>
First cleanup pass on hwclock.

github.com/landley/toybox - 72f8a5f7fedeb81c99044d3443872ae91b5ecfec authored about 10 years ago by Rob Landley <[email protected]>
hwclock: get and set the hwclock

github.com/landley/toybox - 4483eaadba149a5286a26a292f72631793b4826a authored about 10 years ago by Ashwini Sharma <[email protected]>
ipcrm : remove msg que, sem or shared memory

github.com/landley/toybox - 80cef2500a97db1343fa89dc544aef42befdff2e authored about 10 years ago by Ashwini Sharma <[email protected]>
Yet more sed tests.

github.com/landley/toybox - eece7ed546d0e989b1e369c8f9f34b906d473e8a authored about 10 years ago by Rob Landley <[email protected]>
Implement a few sed commands. Not done, and not tested yet.

github.com/landley/toybox - 4e5b247d3f0e4d1a115fac51a1c6fa92db7eb146 authored about 10 years ago by Rob Landley <[email protected]>
More sed tests.

github.com/landley/toybox - b069d8da8c6ee05e9b0ce6a330393f20d15ab53b authored about 10 years ago by Rob Landley <[email protected]>
Next round of sed infrastructure, parses most commands now, doesn't implement them yet.

github.com/landley/toybox - b1ef8dd1606af0aa1933657672d96dd90b3f4560 authored about 10 years ago by Rob Landley <[email protected]>
Attached are new toys TR and CRONTAB.

*tr.c*: It translate, squezze and delete characters.
Supported classes are alpha, alnu...

github.com/landley/toybox - 7a976a09cc2327dcf0baf8708d3420136dfbc3fc authored about 10 years ago by Ashwini Sharma <devnull@localhost>
Test for ls -d from Isaac Dunham, and he pointed out -F also disables symlink following.

github.com/landley/toybox - 82671e1ed5f06e016398f3d2de5f3c2ba388713d authored about 10 years ago by Rob Landley <[email protected]>
Bug report from Isaac Dunham: ls -d shouldn't follow command line symlinks without -H or -L (just like ls -l).

github.com/landley/toybox - baa7f5cad548d8eceed45bebe4631f0e177bd8f0 authored about 10 years ago by Rob Landley <[email protected]>
First batch of sed tests.

Only good for TEST_HOST=1 at the moment because the test infrastructure itself
depends on sed, s...

github.com/landley/toybox - 448c874348e3426be99a52c8a8c284cd35ac43b1 authored about 10 years ago by Rob Landley <[email protected]>
Next drop of sed infrastructure, mostly argument parsing, doesn't do anything interesting yet.

github.com/landley/toybox - 77503047d6071e8263f915f29503ff6cf060499f authored about 10 years ago by Rob Landley <[email protected]>
Fill out rest of help text for sed.

github.com/landley/toybox - 21374adab1bef2321a7bc58554c021b703b786e9 authored about 10 years ago by Rob Landley <[email protected]>
Fix use after free error spotted by ?ukasz Szpakowski.

github.com/landley/toybox - de36079ccdceffee0ed750ab8780b0c68925ba2f authored about 10 years ago by Rob Landley <[email protected]>
O_CLOEXEC was confusing the O_RDONLY test in loopfiles(), resulting in attempts to read from stdout instead of stdin for "-" or no arguments.

github.com/landley/toybox - 45b3882a1187f0e957efbc4fc5d797ba9603f545 authored about 10 years ago by Rob Landley <[email protected]>
xexec() recursion limiter has to go after rebound or toy_init() zeroes it.

github.com/landley/toybox - d4bae7ddb771d32d35cc953a3fedbcc622820dbe authored about 10 years ago by Rob Landley <[email protected]>
Cosmetic tweak: no trailing spaces when ./toybox lists command names.

github.com/landley/toybox - d3f335d2cf64eb6c556ee5ba6e4a9315766e3c6e authored about 10 years ago by Rob Landley <[email protected]>
Basic sed range support, enough for "sed -n 9,11p README" to work.

github.com/landley/toybox - 90397b299974b76511892593e7ae14c99cbf144b authored about 10 years ago by Rob Landley <[email protected]>
Teach ln -f to leave original target alone if link creation fails.

Suggested by Ashwini Sharma, I wound up implementing it by creating the new
link at a temporary ...

github.com/landley/toybox - 9b891d54c9fa422bb2dc87bde2b741d71441dfbb authored about 10 years ago by Rob Landley <[email protected]>
Random in-progress snapshot of sed, not finished yet.

github.com/landley/toybox - 9b0d8691b9dad6674ea6d778bebcf3bbd76cc6de authored about 10 years ago by Rob Landley <[email protected]>
More static analysis fixes from Ashwini Sharma.

github.com/landley/toybox - 21f3c8db00f0d4a3f0989559847d2564f4c73a11 authored about 10 years ago by Rob Landley <[email protected]>
Add TOYBOX_NORECURSE so xexec() won't make internal function calls.

github.com/landley/toybox - 977e48e1626b3e3f1f1f9b14f05ffc11e252455f authored about 10 years ago by Rob Landley <[email protected]>
nsenter: A tool to use setns(2)

This implements all of the namespace parts of nsenter, but UID and GID
switching are missing, as...

github.com/landley/toybox - 8aa527684c837c18621b76f5ef440caa2f05d0b0 authored about 10 years ago by Andy Lutomirski <[email protected]>
Factor out printf-style escape parsing logic from echo.c.

github.com/landley/toybox - 5fcc71581abdf8839d10786d7ac437cc5b0bf4c5 authored about 10 years ago by Rob Landley <[email protected]>
unshare: Fix help and option parsing

The help text was inconsistent, and option parsing was completely broken
(the options mostly did...

github.com/landley/toybox - c0854f0955ae35dfc98e762f559e59258142c8b0 authored about 10 years ago by Andy Lutomirski <[email protected]>
Even bigger ip.c, from Ashwini Sharma.

github.com/landley/toybox - 01138b94e6ac9ff2d1258917f96c0c5c8c124021 authored about 10 years ago by Rob Landley <[email protected]>
Use O_CLOEXEC instead of O_RDONLY to signal loopfiles_rw() to close filehandles.

github.com/landley/toybox - 784eb9c2d2cbd8ec49ff40dbaba17f4407f3b85a authored about 10 years ago by Rob Landley <[email protected]>
Fix last night's mv commit (use dest, not source).

github.com/landley/toybox - 1796626d9e7a4df3705ef83dbf278d248756692b authored about 10 years ago by Rob Landley <[email protected]>
Implement mv -f and -i.

github.com/landley/toybox - 3dfb15fdcc3a00ead6cf1b6f03e371c62ad7a6f5 authored about 10 years ago by Rob Landley <[email protected]>
Started over on sed (by reading the posix spec).

github.com/landley/toybox - dd23ece23c0ef9bac398c3c4ad2a46a3e72a2de5 authored about 10 years ago by Rob Landley <[email protected]>
acpi: implement -ctV, fix recursion, plug a small leak

* acpi_callback had blindly assumed that a path of 26 chars or more was
the right depth; rely ...

github.com/landley/toybox - 26d8c3ccb0367b7e632d3819eb88c3cc349cc07b authored over 10 years ago by Isaac Dunham <[email protected]>
Various bugfixes (mostly resource leaks) from Ashwini Sharma's static analysis, plus occasional tweak by me while reviewing them.

github.com/landley/toybox - 3d56716d362d6a827c5f81029ac64c71b56a2f5c authored over 10 years ago by Rob Landley <[email protected]>
Fix use-after-free spotted by Ashwini Sharma's static analysis.

We xstrdup() an optargs string to avoid modifying our environment space
(because it can change w...

github.com/landley/toybox - 7196d758a0728bd43451f869eb85528b6cd20bea authored over 10 years ago by Rob Landley <[email protected]>
Update status lists. (Once the pending-not-in-pending files go away (see toys/pending/README), this can be probed from the source.)

github.com/landley/toybox - 3087b50f123e310b55b74db765a87e121cbb11af authored over 10 years ago by Rob Landley <[email protected]>
Basic update of the roadmap and status pages. (Both need a good scrub and polish beyond this.)

github.com/landley/toybox - 8fe1814b0754c9c051543408b4d7e909b609af01 authored over 10 years ago by Rob Landley <[email protected]>
Release notes for 0.5.0.

github.com/landley/toybox - 037009f8f65b73264d2f131faa4efa36b11a27d0 authored over 10 years ago by Rob Landley <[email protected]>
Added tag 0.5.0 for changeset 7afd32673a5c

github.com/landley/toybox - 437ee1e6fc8bdb3b1f7e1662a926ebb43466e8d6 authored over 10 years ago by Rob Landley <[email protected]>
Workaround for musl's faccessat bug (the rm -r "error: is a directory" thing).

The Linux man page says I can use AT_SYMLINK_NOFOLLOW. It works in glibc,
uclibc, and klibc, but...

github.com/landley/toybox - 2ccab0260f6812f78cc0bafdf2bb2a92942ee6f3 authored over 10 years ago by Rob Landley <[email protected]>
Bugfix from Ashwini Sharma: Z timezone required by posix for touch but not for libc, so we have to implement it here.

github.com/landley/toybox - 76678fa5730dfced54c95696e77fdbc6c9c9e839 authored over 10 years ago by Rob Landley <[email protected]>
Updated version, having complete support for ip _link_, _addr_, _rule_, _route_ and _tunnel_ options.

github.com/landley/toybox - 9588d289ef381ee7dd68ef35990362ebf70366e4 authored over 10 years ago by Ashwini Sharma <[email protected]>
Fix two mount bugs: 1) Don't skip a filesystem type when setting up loopback mount, 2) Don't stop checking filesystem types due to EBUSY, it may mean already mounted by another filesystem type you haven't tried yet.

github.com/landley/toybox - 4f0c3de1bf0b6755ea5b5c9c6ae1db9651784794 authored over 10 years ago by Rob Landley <[email protected]>
mount: terminate list so unknown user mount attempts don't endlessly loop, add better error reporting.

github.com/landley/toybox - 679a21d674cf487992c0ccabc8666c417e59d390 authored over 10 years ago by Rob Landley <[email protected]>
Brown paper bag time: comma_scan() didn't work for anything but the last entry.

github.com/landley/toybox - 562af2c0f2f4bd8420a26560f1816b6a81ac417e authored over 10 years ago by Rob Landley <[email protected]>
Multi-build single.sh should exit with an error when build breaks.

github.com/landley/toybox - 5d4fa5742fee322187d80bc5a9a55d41a621f8b6 authored over 10 years ago by Rob Landley <[email protected]>
Cleanup pass on groupdel.

github.com/landley/toybox - 5e2fb272225e549587273940b4d8036771b3a238 authored over 10 years ago by Rob Landley <[email protected]>
Allow single.sh to build more than one command per invocation.

github.com/landley/toybox - 0b63d2671b2b11795c388943093d8b8269f665d6 authored over 10 years ago by Rob Landley <[email protected]>
Untangle id/groups/logname so single.sh can build each one standalone.

github.com/landley/toybox - 30de5eff5976ac9e6dc5e4c4f05aeee5adce5650 authored over 10 years ago by Rob Landley <[email protected]>
Have OLDTOY emit (redundant) function prototype so single.sh can build OLDTOY standalone (if it has its own config symbol).

github.com/landley/toybox - d97440cb600750fc4ed3b2ef38b64a4b5b401955 authored over 10 years ago by Rob Landley <[email protected]>
Don't segfault for --help of single.sh build of OLDTOY commands that use another command's help.

github.com/landley/toybox - dc1af185e73410c5cad997c600678c212262a13c authored over 10 years ago by Rob Landley <[email protected]>
The only illegal characters in a username are ":" (field separator), "\n" (line separator), and "/" (filename separator).

Restricting usernames to the legacy posix character allowed set (for filenames,
so the $HOME dir...

github.com/landley/toybox - e0d8009d76b3a2451cb6c6ed2b241c7eff06ed60 authored over 10 years ago by Rob Landley <[email protected]>
Separate more commands so single.sh can build them standalone.

github.com/landley/toybox - e1fa787be8d0d66c9860c86dcb80fd6e096f74e0 authored over 10 years ago by Rob Landley <[email protected]>
When killall was invoked without arguments, there appeared segmentation fault

github.com/landley/toybox - 08ac30d8606934a7bd8107312b0b2f3beeb315f5 authored over 10 years ago by ?ukasz Szpakowski <[email protected]>
Fix du test: du symlink -> "0\tsymlink"

github.com/landley/toybox - 986805cfe85c7e817d8ee5b1d3cc7a8a231359da authored over 10 years ago by Felix Janda <[email protected]>
Respond to two static analysis issues in dirtree_path() reported by Ashwini Sharma.

dirtree->name is an array, not a pointer, so can't be zero. Remove the test.

We dereference ple...

github.com/landley/toybox - 29d30be31123129deac142c6208faa7a1a98b2d0 authored over 10 years ago by Rob Landley <[email protected]>
Start on ping.c.

github.com/landley/toybox - c611c39db47324b9fa6e5cd0f602b3aa3f957ffe authored over 10 years ago by Rob Landley <[email protected]>
Tweak portability.h for uClibc version in buildroot defconfig.

I've been locally patching uClibc to not violate posix-2008 (you don't need
to define a GNU macr...

github.com/landley/toybox - a1a83e671fdd91dcb763651ac86295c217574e6e authored over 10 years ago by Rob Landley <[email protected]>
Always call setlocale if I18N is enabled, so nested toy_exec() can switch it back off if necessary.

github.com/landley/toybox - 9b14cb6b12e6f1b07a1ad401e5cb6e091df4ac2f authored over 10 years ago by Rob Landley <[email protected]>
Delete generated/README.txt (the contents are in code.html now) so clean can just remove the "generated" directory entirely.

github.com/landley/toybox - 94a4603481b9fc663a72549b4cd0dcbd95fca062 authored over 10 years ago by Rob Landley <[email protected]>
Capitalize "toybox" more consistently on the about page.

github.com/landley/toybox - 58896919a3e1f26011645d101ff2df80364ab98d authored over 10 years ago by Rob Landley <[email protected]>
Fluff out the documentation some more.

github.com/landley/toybox - 52370154121692ffe96660b675584bc1569c8c3f authored over 10 years ago by Rob Landley <[email protected]>
Remove debug echo checked in by mistake.

github.com/landley/toybox - e9695d1357fef3f911b391f3d5d8750c581b4e4a authored over 10 years ago by Rob Landley <[email protected]>
Forgot to check in the updated makefile when I moved the testsuite.

(Did you know you can test individual commands with scripts/test.sh command?
Now you do...)

github.com/landley/toybox - cd299bfc0665ec13b406009b9ca1b43d17e1ad85 authored over 10 years ago by Rob Landley <[email protected]>
Typo from the dawn of time: toybox is not capitalized the way BusyBox was.

It's just a word. Capitalize at the start of the sentence, otherwise don't.
Yeah, it could be al...

github.com/landley/toybox - 5bcc7ea10f4dc37f387d4951e67ba24887edaebc authored over 10 years ago by Rob Landley <[email protected]>
The ancient GPL (copied from the 2.6.12 kernel) build infrastructure is actually in the "kconfig" directory, not under scripts. Remind me to write a new one from scratch...

(Someone actually submitted a basic kconfig rewrite in awk once, but until I
bite the bullet and...

github.com/landley/toybox - c20baa3476d5eb51a317406430a39c22ef064590 authored over 10 years ago by Rob Landley <[email protected]>
Move testsuite out of scripts/test into its own top level tests directory, and make ctrl-c kill "make test" more reliably.

github.com/landley/toybox - 387edf547eb09b27ca6d49772eb048d729f09cf4 authored over 10 years ago by Rob Landley <[email protected]>
Give library probe a progress indicator, and use 150% of detected CPUs to try to keep large SMP machines busy (each compiler invocation is short so they exit almost as fast as we launch them).

github.com/landley/toybox - d3df423a6cde0c6282658ff628574771d3824d71 authored over 10 years ago by Rob Landley <[email protected]>