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
on files opened read-only, so revert last commit (force writeable logic).
github.com/landley/toybox - 6be15f4143a40cf7b2985be88ad16bc996310b59 authored about 9 years agoThese three are currently available in Android's ps but not in toybox ps.
github.com/landley/toybox - fde3a9300868b7505b76a652be27ac42ee534df3 authored about 9 years agogithub.com/landley/toybox - 908d9edb66e736f4004c91e148922cbb1d7b3090 authored about 9 years ago
github.com/landley/toybox - 146d219e117b56cc6f7e77c1083e91a961b906b5 authored about 9 years ago
github.com/landley/toybox - b64abbc1c637f8b79a4a5f1382ae7d6f4bcc0d4d authored about 9 years ago
(leading underscore version is 1<<NAME_TAG version, with 1LL for >31 shift),
suck lots of magic c...
github.com/landley/toybox - 1efcb17d971666d334468149c5a604e76b5d9092 authored about 9 years ago
This lets you have struct arrays with a string as the first member, ala:
struct {char *name; ...
github.com/landley/toybox - f96bb3d8e7ec3882c70b861b998d8573083ffe55 authored about 9 years agoand slot numers into a structure. (Keeping multiple arrays in sync may have
been efficient but it...
Valgrind complains that we add uninitalized memory to totals[] fields we never
read from. (If we...
Keep the low 32 bits of FLAG_x constants as 32 bit numbers so that at least
on little endian pla...
github.com/landley/toybox - 5cb65054067391af7602bc303d77349c76648faf authored about 9 years ago
github.com/landley/toybox - d336af4180542c9d526dece02d1a27232ef1ca6a authored about 9 years ago
github.com/landley/toybox - 3af50964c7fba60666a4e5ae8d1bae741d385dd0 authored about 9 years ago
github.com/landley/toybox - ac82aa91cf6c7cfab86845e44e3a4d806e4ec97a authored about 9 years ago
github.com/landley/toybox - ecae7831e88f52b0ec1d9e1890a4b8d67b9ac8fa authored about 9 years ago
github.com/landley/toybox - 83250d1f0a87fd184e5b9a5bba8618c3e8ed2c7a authored about 9 years ago
Includes tests for the new feature, and a failure case for the minimal
perms test as well.
Also...
github.com/landley/toybox - f49f291939afae44bda438bf2509c7ba20a2a78f authored about 9 years agogithub.com/landley/toybox - 9e563e1c6c053ad848a15c30efbbe8a079154fb4 authored about 9 years ago
move slot[] documentation into C code, add PR %VSZ VIRT RES SHR
github.com/landley/toybox - 21e80db17da160a60804f1e1e072f3665ead5628 authored about 9 years ago
Even though ext2 has a comment that it has to be at the start, I added swap
to the start of the ...
github.com/landley/toybox - 88d207790e277aa864e6ed114be1c6e59d8ee3f4 authored about 9 years ago
github.com/landley/toybox - b057bacd2203b22a60c72672e355a8527932dcf4 authored about 9 years ago
github.com/landley/toybox - f79050aa3ce985cace67a6909b3180c641c1bbb0 authored about 9 years ago
github.com/landley/toybox - c39e3ef22369306698d177ffc0c7d09008671823 authored about 9 years ago
github.com/landley/toybox - 3f628345a74d0a0c2affa1793b9fef20be96cc28 authored about 9 years ago
instead of carving up toybuf by hand. This makes breaking out the field
conversion logic into its...
Change readfileat() to pass back length of read.
github.com/landley/toybox - 12a487b61f809aa4794578e14efe32d717f22bdb authored about 9 years ago
1) It read st_dev instead of st_mode.
2) It reversed the semantics of absolute vs minimal ('-' p...
github.com/landley/toybox - 859854a1b96f9337316e3fe13dcfef0376cf5c54 authored about 9 years ago
github.com/landley/toybox - 79af65b116a736e7f5ac5b6609664fd37805d5ec authored about 9 years ago
github.com/landley/toybox - a46fcd42123c8c4960be8d233a6e2a19f6b684dc authored about 9 years ago
github.com/landley/toybox - 4e39281c1f380c53ee6ef8b9795111e0695a55be authored about 9 years ago
Four-digit years were being mangled by the code for two-digit years.
Move all the two-digit year...
functions to read major()/minor(), fix printf format warnings in error msg.
github.com/landley/toybox - 26ec1c05b0eef896b59fe3c870f6885fa7edf4ae authored about 9 years agogithub.com/landley/toybox - b0f4710754fde8cea483c4ca89ccef0d85d32219 authored about 9 years ago
github.com/landley/toybox - 86cef660e4a5a2d9e764486bc62c37a1c75fac6d authored about 9 years ago
Both Android and GNU interpret -n to mean "show numeric users and groups",
despite what POSIX says.
This is equivalent to Android's historical "NAME" column, showing the
first element of /proc/pid...
Also WOULD_EXIT(x, thingy()) to set a variable to 1 or 0 showing whether or
not thingy() tried t...
github.com/landley/toybox - 6fd77eab77ba51579eaece4d3e12b5b890638124 authored about 9 years ago
github.com/landley/toybox - 8a1509d0a6e7aedc1c3f6f13f0d7b2e0d83d6e2d authored about 9 years ago
github.com/landley/toybox - f0ddca8f88152f25f5aefba7483c389e970c5155 authored about 9 years ago
github.com/landley/toybox - d18c10977e29ea1c1641909e20aeced529cf4556 authored about 9 years ago
Collate some repeated increments, remove some useless coments.
github.com/landley/toybox - 6256a5c8b9d7db4bcbb5b255d33354aecd95d9fe authored about 9 years agogithub.com/landley/toybox - 769341fdd7497683136d1a9ae08f6009dbad6c8c authored about 9 years ago
github.com/landley/toybox - 547c9167565cf8a2bba8bd79850889101866814a authored about 9 years ago
github.com/landley/toybox - 54a13f9ef4380501d3b12bb1f04408f5607d46ee authored about 9 years ago
github.com/landley/toybox - 87ede171eeaa90db3b76d2cb6230f947d2497e65 authored about 9 years ago
github.com/landley/toybox - 31cb5fc41086f5b2903f473f85e6305bf47cfa2c authored about 9 years ago
github.com/landley/toybox - 729401d267d6ce53443505210dd3dd9471056155 authored about 9 years ago
seldom ends well). Instead add -DBUILD_FOR_HOST to $HOSTCC and wrap #ifdefs
around problematic (s...
(The help infrastructure can collate and alphebetize short options,
long options haven't got a s...
"comm" is the command name without arguments, and "cmd" the command
line including arguments. Co...
I actually thought ps was segfaulting, and it wasn't until I was in gdb
that I even noticed ther...
github.com/landley/toybox - 45e0acc110465175afc678ee103f2f5c4e6b270f authored about 9 years ago
As with ls, it doesn't seem like -Z should be guarded behind LSM
availability. On a non-SELinux ...
Used by Android.
github.com/landley/toybox - 71617b9ea00ed774c202346c9bf8ac2bf80dfc2e authored about 9 years ago(Matches beginning and EOF at once.)
github.com/landley/toybox - 2fe69382d37bf75ecf4ef4d730339c4982a82461 authored about 9 years agogithub.com/landley/toybox - 8205f5a88de29369b777533bb7ec4051454d31bc authored about 9 years ago
This lets '(x)\1' match, as reported by Isabella Parakiss.
github.com/landley/toybox - 73e3a644c1af8e28ca45c3b5169dee8acc06b179 authored about 9 years agogithub.com/landley/toybox - f3dc8a81c56209d7ae0fcd859a359d13e577d63d authored about 9 years ago
github.com/landley/toybox - b8f5eff75187cf1b9774a8e65fe705efbb436c65 authored about 9 years ago
Change-Id: I5a0f49b17bc5866689608e73af94b31744fd3dc9
github.com/landley/toybox - 347e4f4b3d4ac83bc03a90e1362e34408997064f authored about 9 years agogithub.com/landley/toybox - c815d59f80ebb5cf377e7e87e44c340d9b103132 authored about 9 years ago
an extra newline because the test for whether we have an existing string to
append a newline to w...
github.com/landley/toybox - da646636382e5830650e725592d10cec587081f7 authored about 9 years ago
github.com/landley/toybox - 9bdd8fd4549e8392b5bec0298e9978436392e342 authored about 9 years ago
Tempted to convert the struct arg_list and ptr_len stuff to arrays and
make the parsing table dr...
and vmlck into slot[18], pass error message to comma_args(), collate -stuUgG
callbacks into parse...
github.com/landley/toybox - 1cbc283f94aab45ca1246d248f4d323b5f455221 authored about 9 years ago
inspired by:
https://android-review.googlesource.com/#/c/152663/4/libc/bionic/fgetxattr.cpp
Also, if you mkdir "$(echo -e "one\ntwo"); chmod -r one*; ls -q one*
it honors -q.
the global so "install -g 0" doesn't alias to "cp --preserve 0" and error out.
through to --prese...
github.com/landley/toybox - d4c17cdaf1f72a872dcbe12952412f02810c29b5 authored over 9 years ago
github.com/landley/toybox - eb1bbc245dd6554a8fbe879a4efb903f6e7788cb authored over 9 years ago
Fix FLAG_w.
github.com/landley/toybox - 5535a2695642dcf54051af2b654ab37a89ece72f authored over 9 years agorather than bitfields.
github.com/landley/toybox - 9e5dd1474d1a194af091c0576f57d95e4ad31a00 authored over 9 years agoFix more l/r justification, implement uname vsz vsize and stat.
github.com/landley/toybox - a58bab54f60fb8268688275395780a274bed0f36 authored over 9 years agoFixes two instances of "warning: use of logical '&&' with constant operand".
Change-Id: I2bb1ba...
github.com/landley/toybox - aff606920612ceedc6fa0716cdfcea0571d56987 authored over 9 years agoplus tty detection fix from Elliott Hughes.
github.com/landley/toybox - 71d87c9ecff852dbc115135c8ad38d40169f2726 authored over 9 years agogithub.com/landley/toybox - c9e2a656c7305fac00a5a8c09201e1e39fea6a1b authored over 9 years ago
On Android, the filesystem column is pretty wide. Actually measure the widths.
github.com/landley/toybox - c10638d3b16d065c1efd97ae17c1a8bf417be706 authored over 9 years ago(Assignment has spaces around operator, comparison doesn't.)
github.com/landley/toybox - 1509170ac2c0bf408501f78fa6079a6a6514c04f authored over 9 years agogithub.com/landley/toybox - bfee4b2325efd7c21c2e5ec02193ec2e97cca0ff authored over 9 years ago
github.com/landley/toybox - d7e85a7c37e2f7248b8b8c367254abcb6557fd6e authored over 9 years ago
github.com/landley/toybox - 196e8c0e34e2ccad657f331be9f07e784a041589 authored over 9 years ago
github.com/landley/toybox - 0719c9743b761a8c348079e6d28ac839e9b82019 authored over 9 years ago
github.com/landley/toybox - 04fccba19fc8aed46d756edba43859e0b3893ff0 authored over 9 years ago
config2help might require extra parameters to be passed to the compiler.
For example it might ne...
unify some TT.signame tests checking constant value variable initialized to.
github.com/landley/toybox - 3cdde514679f3de2e0e1b882b8ece2391a50b7ce authored over 9 years agogithub.com/landley/toybox - 1ca8a440323d04164efab68ed8f507f1c6ae84d9 authored over 9 years ago
Refactor the /proc/net parsing so this only adds 7 lines overall.
Also clear the DEVICE field f...
github.com/landley/toybox - 8b94351f089f8e6ef0a4a12092bfe2f04ffd960a authored over 9 years ago
The brillo folks wanted this in a shell script they're porting over
(so I've only implemented th...
github.com/landley/toybox - d2dbdcab92f4795c1a614f0c0d2c5dee9c78e21a authored over 9 years ago
github.com/landley/toybox - 1223578c94c1d409af481dd7af2fb84261c20c62 authored over 9 years ago
github.com/landley/toybox - 5b39d5c58cc3c43580a9114355b0763c171926b6 authored over 9 years ago
github.com/landley/toybox - 9cc78770dc593b58e2ac0b24c42c3948c09d5eec authored over 9 years ago
github.com/landley/toybox - 73acb3a0f4ea7204f149c964adcd8938e09cb9f4 authored over 9 years ago
github.com/landley/toybox - 469d7f11b66dfbaf7483a9a855e595d59f71fdad authored over 9 years ago