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
github.com/landley/toybox - 8941e5fef58025591b7441372d486cf5de46dd39 authored over 9 years ago
github.com/landley/toybox - 3d9dce3b523f5e4a01189d4735c02a9b33d8c7ab authored over 9 years ago
Adds XVFORK() macro, teaches xpopen_both() to call /proc/self/exe with NULL
argv (and converts c...
github.com/landley/toybox - 3b51a07e478d64a84e40b3a7c026b2f8566b194b authored over 9 years ago
github.com/landley/toybox - 0593b32337b48d60a521922e2355c78750e635d2 authored over 9 years ago
Note: vfork(), like fork(), can return -1 if too many processes, and
we should notice and fail l...
github.com/landley/toybox - 712e163bb0956b94c27051d0175e719b92f453ad authored over 9 years ago
github.com/landley/toybox - 35c92f1e396d86f04616cd01ef3f045bc2dfb98e authored over 9 years ago
github.com/landley/toybox - 59cd560200942a063c217e327fc7941ffb70abe9 authored over 9 years ago
Elliott Hughes found a bug https://android-review.googlesource.com/#/c/170020/
and Daniel K. Lev...
github.com/landley/toybox - e5354ca12a232b3f97726214254a868771cb70d1 authored over 9 years ago
github.com/landley/toybox - d067571abb2b7934f3350c90ca891beb987c68fd authored over 9 years ago
github.com/landley/toybox - a35650c83eaff85714f6483cccb7dd9c8c5bb3e8 authored over 9 years ago
The -e flag should add "user" and "inode" columns to the TCP output.
Also truncate IP addresses...
github.com/landley/toybox - 0c276c21d205cfc3d8e45581d28f02431d2eef85 authored over 9 years agogithub.com/landley/toybox - b36123164057c555a1d0769ca26089cd6e002040 authored over 9 years ago
netstat -p was failing for any cmdline longer than 21 characters. (A
typical Chrome render proce...
github.com/landley/toybox - 104fbaaceaf4001d8c9c998981e7bcc22fdb027d authored over 9 years ago
This fixes the build break, the change to yesno() prototype accidentally got
checked in last com...
and update the tests.
github.com/landley/toybox - 960100aa9cb588a73125d43ec0b0a7152a95b43f authored over 9 years agooverwritten before we set up signal handlers.
github.com/landley/toybox - 60d1aea2df9a8cc1e975ed5fee079982612f5966 authored over 9 years agogithub.com/landley/toybox - 73eca9182dfd7c2d52775ca24da6a7a0d55b3cee authored over 9 years ago
It turns out that people are anticipating the switch to toybox ls from
toolbox ls on the assumpt...
This doesn't address the lack of support for a variable-width
"Filesystems" column, but it doesn...
This is a superset of the current AOSP lsof (which is itself a
superset of the lsof in Android M...
Rounds correctly via brute force, displayed digits are decimal even when
working with powers of ...
github.com/landley/toybox - 5640847b0328c5319f353eed985781e166547ef7 authored over 9 years ago
before saving, the updates don't go in the commit. Behavior difference
between git and mercurial,...
github.com/landley/toybox - 6ff12f703214bee5cb92ba0c851969dffc6c29cd authored over 9 years ago
pgpgin and pgpgout in /proc/vmstat are in kbytes, not pages.
(see http://lxr.free-electrons.com/...
github.com/landley/toybox - 3b83ab5cc76ea4a1dcd785c7df4957f3b5062f72 authored over 9 years ago
Modifying the headers pointer when printing the headers causes
a buffer overrun the second time ...
Right-aligned looks pretty good to me, but it's not what anyone else does.
github.com/landley/toybox - b1b0399dc701f3c9af19a09164a4f536bc00eb2c authored over 9 years agogithub.com/landley/toybox - 7cdb8af914777ec68086e9f4f9382168e4ce2ff2 authored over 9 years ago
We need to remove the destination, not the source, to be able to overwrite.
github.com/landley/toybox - f1f20b9306ed3658e9433e00e78f2ac640d0160d authored over 9 years agogithub.com/landley/toybox - e96dd0716e5932625af9e8a91bfa3d989abe1fdb authored over 9 years ago
add NOSTRIP variable to force skipping strip, and save intermediate flag
data in generated/flags....
github.com/landley/toybox - 8c588d822a4771420fa32571693f728e809bb2f2 authored over 9 years ago
Now that the kernel's 128k environment size has been lifted, it might be
possible to feed in a g...
it's how the kernel signals that ctrl-alt-delete has been pressed;
thus, setting it as the signal...
github.com/landley/toybox - 4e49e2cca731f2e1dd01ebc5163beb71e0d640ec authored over 9 years ago
github.com/landley/toybox - c82be78035e536b2b2248be6d6f3cd5a995f11f1 authored over 9 years ago
The three separate lists had got a bit out of sync. The genuinely new
changes are in the top list.
github.com/landley/toybox - 20b3af69bf955237fc195c4416d3bcdca9d7d8d9 authored over 9 years ago
Correctly and portably check for non-normal dates, and explicitly show
the "before" and "after" ...
uninitialized trash in struct tm fields could segfault glibc's strftime().
github.com/landley/toybox - 7f6bb3dae7ffe5ffdf10cc2e73a803ff820ebca8 authored over 9 years agolooks like. dd uses "7 MB" where du uses "7M", for example. this patch
adds flags, similar to the...
github.com/landley/toybox - 11d2ff5ffac9382be0d6971b8ac84df21eca85df authored over 9 years ago
It's user then group, not the other way round.
github.com/landley/toybox - 3501e103b3b1f9d79f733976e338d59478d2e6f6 authored over 9 years ago
mkbootimg was rewritten as a python script a while ago, and I just
deleted gpttool. (gptfdisk is...
github.com/landley/toybox - 9bfd2cf0e8499c4dcca41ccd80f86929181868cb authored over 9 years ago
github.com/landley/toybox - b73f89429f4a28bc1c694094b97abd011a9a2f9e authored over 9 years ago
github.com/landley/toybox - 79191b6c4857ee08f093ba792c9d9db4cb4f1258 authored over 9 years ago
github.com/landley/toybox - d5258b43a2f6795cb49203d67deefd78588dedd7 authored over 9 years ago
github.com/landley/toybox - 8f1f8ef2a4546cc6089c12fe09735fb0d345c175 authored over 9 years ago
Given modprobe -a, it's important to not exit early for a failure to
load a module; additionally...
Add the MS_MOVE of cwd to / and chroot into it. chdir is also
called to ensure cwd does not poin...
not stomping on gnu's "an extra argument tells it to set the time so let's
add -s to do the same ...
Humans get upset when date(1) lets mktime(3) work out what the 99th day
of the 99th month would ...
github.com/landley/toybox - 1203ddf0e1110a107cbabf4855e07055fabe1e42 authored over 9 years ago
github.com/landley/toybox - 671ce0c9298091f28c92430482b18c1449dcd09e authored over 9 years ago
github.com/landley/toybox - 9ce9399c01fd6aca688434dd2c552df2950a15cf authored over 9 years ago
Somebody (carsonh on freenode) objected that they were running something
like "toybox test 1 == ...
github.com/landley/toybox - 42b7d4b06b55e0090c3be1bc6ca1ed166bd6b2fd authored over 9 years ago
github.com/landley/toybox - 802642ada1acd23fb4559678a916d2c00f6d1355 authored over 9 years ago
init: use SIGINT, use xsignal()
Now that oneit supports the same signals as our "sysv"-init for ...
github.com/landley/toybox - a12eec740dc6d0c533fb7d83a0a54de6d3abb17c authored over 9 years agogithub.com/landley/toybox - 5f225ca241cd927ebf148d714ab7e1f69461522c authored over 9 years ago
before failing.
github.com/landley/toybox - 31ff1f23dedbfe6e2dccf9d3c7c294a1cd761266 authored over 9 years agoStill need a rethink on how to handle socket/bind/connect sequence.
github.com/landley/toybox - 35dafc7b17ce23da62dcce2195bed9b370680e65 authored over 9 years agogithub.com/landley/toybox - ea75e752f930df7b740a773294b997f46927c716 authored over 9 years ago
github.com/landley/toybox - 7a3f53ba446ae2600763ee37b7f8dcc91de3ec5f authored over 9 years ago
Only tested that it compiled so far.
github.com/landley/toybox - 3aa1d18b727ded4415d8a5f34f90a0726213aa7f authored over 9 years agogithub.com/landley/toybox - 5c6766a3ae30770784d054ffbf47faf290dee80e authored over 9 years ago
github.com/landley/toybox - 7cc95a79a7a4ed8fb8fb3c5e1946a59c93ff335e authored over 9 years ago
reverse that to get correct paths.
While we're here, reduce the duplication of initialization.
W...
github.com/landley/toybox - ce4188fd1228c8037d1f059cf24a066941c26501 authored over 9 years agogithub.com/landley/toybox - 39f2e91e8bea7288ea487a79e1dc8732cf511b4f authored over 9 years ago
github.com/landley/toybox - 15e54cecfd90e263b816f105e3d1bcf1969c4790 authored over 9 years ago
github.com/landley/toybox - d073e1c0aa17f36fe28338a0787e6b07cc463a1d authored over 9 years ago
github.com/landley/toybox - b9fb3067822c0a347905db81af0496743733fad5 authored over 9 years ago
tftp - Client for tftp daemon.
hostid -Print the numeric identifier for the current host.
fsync -...
github.com/landley/toybox - e1937bd599077e744bd4381731ea5683c01eef09 authored over 9 years ago
github.com/landley/toybox - 2699cad55fbe657a17cb25d5e5da2f010816fc45 authored over 9 years ago
github.com/landley/toybox - 8d6cbd494809f510c7947faa1db5a24cab130cf3 authored over 9 years ago
github.com/landley/toybox - ccec4d82798d46a8bc7e7656d08c57544cd08582 authored over 9 years ago
github.com/landley/toybox - fbc81a126f2ed95f041b76530ad497947ba3ecab authored over 9 years ago
https://android-review.googlesource.com/159035/
github.com/landley/toybox - ba555808e068d9cc418b6b3bd6fa4238877a599d authored over 9 years agoitself on some inputs. (Which makes killall really impolite. Bug report
from Nicholas Noury via E...
github.com/landley/toybox - 68771c00530622b5bc52438ae8010c7a6f429791 authored over 9 years ago
github.com/landley/toybox - 1e7b49e25990b6141ffa25da2cd4b6124d435f3d authored over 9 years ago
A minor nit, but for some reason this really stands out every time I
run ifconfig...
It's for supporting ipv6, and I referred to RFC 3315 Specification
http://www.rfc-base.org/txt/r...
-inum is a commonly implemented extension to search by inode number.
Linux's fs-layer tracepoin...
github.com/landley/toybox - d1a577f7bd2148f29a1dff37684ea9c63024fe6e authored over 9 years agothe compiler was almost certainly retaining in a register anyway.
github.com/landley/toybox - 747e74852b982f8b2c54dc3e3650352843a6bede authored over 9 years agogithub.com/landley/toybox - 78beadd60b81c0b3c92eca38890983a672dbfd93 authored over 9 years ago
The gmtime_r/localtime_r error check was backwards, and the wrong argument
was being passed to t...
github.com/landley/toybox - 666b89d8c829b2f1d0301f78208b772645942e23 authored over 9 years ago
ioprio_set takes a "prio" argument that combines class and level. Although
bionic (via the uapi ...
github.com/landley/toybox - 3487bd353b4448bbdc9ece6d62fc4c4f4fd6ae4a authored over 9 years ago
github.com/landley/toybox - cc585db6949917ef8d9d72d88e2fdbb8d6c63df0 authored over 9 years ago
Can't say I'm happy with the API (-z and -Z to keep them independent would
be nice), but compati...
There's a nanoseconds field value that says use current time, which I set
but forgot to clear in...