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

First pass on cp --preserve

github.com/landley/toybox - 0ace882af7b6b26dc1932a6aaa19c245a83765bc authored over 9 years ago by Rob Landley <[email protected]>
Promote xxd to other.

github.com/landley/toybox - 6b6daecc7c87746aa0f38a298aecd2c38ee60520 authored over 9 years ago by Rob Landley <[email protected]>
Probe for fork() instead of relying on a distro-specific #define.

github.com/landley/toybox - 9933273c5b7b6e0471d9195e8c2facb795b795ae authored over 9 years ago by Rob Landley <[email protected]>
Added i option to use other interface on running dhcpd.

github.com/landley/toybox - 82d8d7cb7eacabd1a498c001dd5618a1302f854b authored over 9 years ago by Hyejin Kim <[email protected]>
Cleanup xxd.

github.com/landley/toybox - eed60d28a76f20a6dd9c6eff8351a44ce020aa12 authored over 9 years ago by Rob Landley <[email protected]>
Minor cleanups on xxd.

github.com/landley/toybox - e1ce781f266394a6e73150d08466274db5db584d authored over 9 years ago by Rob Landley <[email protected]>
The android guys sent in xxd. It doesn't share code with od and hexdump. Hmmm...

github.com/landley/toybox - 4ab24f2228b5d51491a5ef2a59ebcf424dced6f7 authored over 9 years ago by Rob Landley <[email protected]>
Fix segfault with "mount -o ro,remount".

Or any call to comma_scan where 'opt' appears as the last item in 'optlist'.

github.com/landley/toybox - 8a2c0876754baa2085bce94d6778b5d2f4aee937 authored over 9 years ago by Elliott Hughes <[email protected]>
Improve -Z error reporting.

The most likely reason for setfscreatecon to fail is that you don't have permission, and that's ...

github.com/landley/toybox - 8c0d2d2bc557ced86650ab48ab92cf58840efce8 authored over 9 years ago by Elliott Hughes <[email protected]>
Fix top.c build.

Broken by recent lib.h additions.

github.com/landley/toybox - 56217bb175cdf9506b9b7970edd313c1fef8e122 authored over 9 years ago by Elliott Hughes <[email protected]>
mkfifo -Z

github.com/landley/toybox - 5ea916753b300cf6c4a3d40d28d09e82a2544f86 authored over 9 years ago by Rob Landley <[email protected]>
Add ionice and iorenice.

github.com/landley/toybox - e71e3acda9ded7c90ecd3e6fe443c956e6b11700 authored over 9 years ago by Rob Landley <[email protected]>
Add undo buffer for 'u'.

github.com/landley/toybox - 3b5cb96b1080d26be10675227d6a6f91acf82519 authored over 9 years ago by Rob Landley <[email protected]>
Simplify hexedit logic by adjusting viewport all in one place up top.

(Easier to genericize logic and reuse later in less or vi...)

github.com/landley/toybox - 4eab65b911caf1f192d2ad6432d8b2473961be0d authored over 9 years ago by Rob Landley <[email protected]>
Factor out more not-curses infrastructure into lib.

github.com/landley/toybox - b20c80b603c1795c473b3957fd2538485ec4eb90 authored over 9 years ago by Rob Landley <[email protected]>
Suggestion from Elliott Hughes: tweak test infrastructure to notice if

command exits with high errno and assume it segfaulted.

github.com/landley/toybox - 325e02ec918246242e89a32c053bf5f767fc37d3 authored over 9 years ago by Rob Landley <[email protected]>
Fix version number in ifconfig cleanup reference.

github.com/landley/toybox - 394094f34fbdc8de91a8acd95b6de09085480bf6 authored over 9 years ago by Rob Landley <[email protected]>
Don't segfault if none of the file arguments to ls exists.

github.com/landley/toybox - 9acbbafefafbbb7b13bb15c1619e351f9b67a23d authored over 9 years ago by Rob Landley <[email protected]>
Don't depend on malloc(0) to return non-null.

github.com/landley/toybox - 17a94c572a48a2268b9749055b6984cc63015965 authored over 9 years ago by Rob Landley <[email protected]>
Fix ls so spacing is right for ls -l, -o, -g, -og, -ogZ, -lZ, -gZ, and -oZ.

github.com/landley/toybox - 28727ba7cddb932bfa88eef514e60fe8d337087a authored over 9 years ago by Rob Landley <[email protected]>
Fluff up explanation of why 0BSD license for SPDX submission.

github.com/landley/toybox - 3d5ee802321e1b1b3b5d149aae2b8765a06efb21 authored over 9 years ago by Rob Landley <[email protected]>
Use lsm_set_create() to set security blanket context before mknod, avoiding

racy gap between create/label.

github.com/landley/toybox - 34434df7c1b919f658ee2db75358adbe5647bd76 authored over 9 years ago by Rob Landley <[email protected]>
Add nproc.

github.com/landley/toybox - e2882b47f9ccc7342871cbf70dadadd9afac0c8c authored over 9 years ago by Rob Landley <[email protected]>
Cosmetic tweak: no need for pages of text from "make defconfig" and friends.

github.com/landley/toybox - 324e615106907c69e920b44e1a9c01c45e4d0e8c authored over 9 years ago by Rob Landley <[email protected]>
Last grep commit broke non -r use of grep. Oops.

github.com/landley/toybox - 94983f2dddde86e8f121abe97a28aa1f6c87a3db authored over 9 years ago by Rob Landley <[email protected]>
Make "printf --" and "printf ---" work.

github.com/landley/toybox - 204bd961aec4a5787db109cd3ad9447841cb6922 authored over 9 years ago by Rob Landley <[email protected]>
On testing fold command, I found w option didnt check the range of value.

github.com/landley/toybox - 42cc29c7883c852462c6c740c72eff06bca8accc authored over 9 years ago by Hyejin Kim <[email protected]>
Move the magic list of commands needing cleanup from toys/pending/README

to greppable TODO annotations in the individual files. (grep -riw TODO)

github.com/landley/toybox - f033f8607f156464747abe57487c1f6226f94001 authored over 9 years ago by Rob Landley <[email protected]>
Redo mkstatus.py to grep pending for pending data and trust toybox

defconfig output for ready command list, to reduce manual updating.

github.com/landley/toybox - 0bd81ca4dd04b4eb9020b2e05976417f556349da authored over 9 years ago by Rob Landley <[email protected]>
mknod: Add -Z option

Change-Id: I23174fb7b54d029784e6d7460368128113090079

github.com/landley/toybox - 7c8a2f4adf8502ab2ca921944427e35cde069b6c authored over 9 years ago by José Bollo <[email protected]>
Attempt to fix the mkdir LSM race.

Doing a world writeable mkdir and _then_ adding a label seems like a race
window, so set the glo...

github.com/landley/toybox - 2d66e6a23822a500ecf6610411941e99127129c8 authored over 9 years ago by Rob Landley <[email protected]>
ls -lZ wasn't putting a space before the xattr output.

github.com/landley/toybox - a65a7f4241f1cc9b4963a285e3a2137cffae62ad authored over 9 years ago by Rob Landley <[email protected]>
mkdir: Fix argument of option -Z

github.com/landley/toybox - 9bd401379dec9777e2412dbd4b60a615be66cffd authored over 9 years ago by José Bollo <[email protected]>
Make "grep -r regex" work on implicit "." if no files specified.

github.com/landley/toybox - adcbaf530f3ec351ec2932ebe9b77140f79eda4a authored over 9 years ago by Rob Landley <[email protected]>
Add -Z support to mkdir, based on a patch from Jose Bollo.

I have no idea why -Z isn't showing up in mkdir --help when enabled, I
need to look at that...

github.com/landley/toybox - 9720e4dbc9f65c1ebead58ea5e03c552a37e4113 authored over 9 years ago by Rob Landley <[email protected]>
Adapted patch from José Bollo to do the "tonight we're gonna api like

it's 1999 and every path ever is from cwd or root" api versions for sockets
and as a fallback of ...

github.com/landley/toybox - b031a3bc269e9cdb7bf307a757896b6ec7c4b3fe authored over 9 years ago by Rob Landley <[email protected]>
Switch id over to new infrastructure, switch id to use FORCE_FLAGS, and

make lib/lsm.h auto-include from toys.h.

github.com/landley/toybox - 0cb5b70fa4ef093b08e59db813e73f3be6ecef4b authored over 9 years ago by Rob Landley <[email protected]>
Fix "ls -Z . toys" segfaulting, because preprocessing skipped.

strwidth() got called on ->extra which was NULL. Had some other bad effects
ala "ls -sk file1 fi...

github.com/landley/toybox - 821f31d237e0232c2810a5ed90889a1ea57134fb authored over 9 years ago by Rob Landley <[email protected]>
Recent commit broke ls -R (test reversed), and "ls -R singledir" should

show label: at the start (yes, even "ls -R" in an empty dir).

github.com/landley/toybox - a8ee470ae3361bb8e6e364f0e8adf61259371e95 authored over 9 years ago by Rob Landley <[email protected]>
More ls -Z upgrading. Move TOYBOX_SELINUX and TOYBOX_SMACK support from

portability.h to new lib/lsm.h. Update ls.c to use it.

Fix "ls . toys" (two directories when one...

github.com/landley/toybox - c565b06325960a16ebf44afd8ae73f363775e58d authored over 9 years ago by Rob Landley <[email protected]>
stat: fix group name

Change-Id: I0ad65a40bf380d789c4396ebdc01be217901a2e3

github.com/landley/toybox - f25d4954a786c9f564a5e30e5899c1adf2b6c655 authored over 9 years ago by José Bollo <[email protected]>
Bugfix from Hyejin Kim: su should not prompt root user for new user's password.

github.com/landley/toybox - 20019be7c8667b70ff68692b24029aed2c857639 authored over 9 years ago by Rob Landley <[email protected]>
Promote reset (actually write a new one using the simple man 4 console_codes

terminal reset escape sequence) and add gettty() function to lib so terminal
gets reset even when...

github.com/landley/toybox - 5b2644cafc8a619b617ba0fbb5473667dbd634ba authored over 9 years ago by Rob Landley <[email protected]>
Print name of file at the bottom of the screen.

And yes, I tested $PWD/私はガラスを食べられま す。それは私を傷つけません。
as a name and made it work. If you throw newli...

github.com/landley/toybox - 5ea14bd1c246f7571d466d18385db22f59ac3262 authored over 9 years ago by Rob Landley <[email protected]>
More hexedit cursor boundary tweaking.

github.com/landley/toybox - 913a7796bb47e0b65c4f28920c39a87c6b6211dd authored over 9 years ago by Rob Landley <[email protected]>
Fix bug (len[7] wasn't zeroed if -Z off, thus -C overestimated entry lengths),

and some cleanups while I was there.

github.com/landley/toybox - b18c7e8a59e61b8ec49e2d0f8cb2dda19b8f6a82 authored over 9 years ago by Rob Landley <[email protected]>
Set the executable bits on all the *.test files. (Wasn't consistent, is now.)

github.com/landley/toybox - dec4669fa1285945910ffd47ff5830f250e1c1ed authored over 9 years ago by Rob Landley <[email protected]>
Git hates me.

github.com/landley/toybox - 6253e48aadc09bd1af93caa45fe305466977fd0f authored over 9 years ago by Rob Landley <[email protected]>
Cleanups of dirtree_start() calls. (Don't need to feed in flag values, just

symfollow true/false.)

github.com/landley/toybox - 1f5f436826505df6dfabe1de9724424fc40fae23 authored over 9 years ago by Rob Landley <[email protected]>
Add DIRTREE_SHUTUP to disable dirtree warnings if file vanishes out from

under traversal. Pass through full flag set in dirtree_add_node(), add
dirtree_start() wrapper to...

github.com/landley/toybox - aab9164df395a4b0878b0ad930a5ec8a806a58e9 authored over 9 years ago by Rob Landley <[email protected]>
Probe for -Wno-string-plus-int.

LLVM has its own nuts warnings about things that aren't wrong, but disabling
them with the relev...

github.com/landley/toybox - a913d92bad6550e005a3ffac71a82586042171b5 authored over 9 years ago by Rob Landley <[email protected]>
Move not-curses code into interstingtimes.c

github.com/landley/toybox - 72cd2e07f1cea190925021472465325e72589f47 authored over 9 years ago by Rob Landley <[email protected]>
Fix more with missing files.

Previously we'd go into an infinite loop because we weren't
incrementing optargs.

Also add a mi...

github.com/landley/toybox - daf36948a9c235d5e70ec343557facfb80edaddd authored over 9 years ago by Elliott Hughes <[email protected]>
Re-enable catv command now that flag infrastructure is updated.

github.com/landley/toybox - ef55374b9d5e6ea1325f2888fdbb0425e5e73d18 authored over 9 years ago by Rob Landley <[email protected]>
Implement SELinux ls -Z support.

This patch uses lgetfilecon rather than fgetfilecon because
dirtree_parentfd always seems to ret...

github.com/landley/toybox - 8565668d785d25f6dfd2dd19cece502cedf178b6 authored over 9 years ago by Elliott Hughes <[email protected]>
Replace android-specific hack with just signal(SIGPIPE, SIG_IGN).

github.com/landley/toybox - 483cfdabaf6ab282987a0a21d6177c3daa95dc12 authored over 9 years ago by Rob Landley <[email protected]>
Yank smack from singleconfig.

Need to come up with a better solution to this, but the problem is that
single.sh's symbol enabl...

github.com/landley/toybox - 8b6bff527b7684c009e3a817d993818b075c590c authored over 9 years ago by Rob Landley <[email protected]>
Fix dmesg -c error output.

Use perror_exit to show the likely "Operation not permitted" if klogctl fails.

github.com/landley/toybox - abb5ae390342acf8eea2903033fb1d5879845b43 authored over 9 years ago by Elliott Hughes <[email protected]>
Move a prototype to the start of portability.h (suggested by Elliott Hughes)

github.com/landley/toybox - 9398f05d34453e9306f7a91993ee4c8fcf1102ec authored over 9 years ago by Rob Landley <[email protected]>
dhcpd writes leases on "dhcpd.leases" file.

but, dumpleases read from "udhcpd.leases".

github.com/landley/toybox - a967a669458ebb6b2a88a2d7e290ad449ab79d12 authored over 9 years ago by Hyejin Kim <[email protected]>
Fix getprop sorting and error reporting.

Use qstrcmp instead of alphasort (which expects struct dirent arguments).

Don't use perror_exit...

github.com/landley/toybox - 2a7727dec265fa96e8522b0a557b72320d2889a7 authored over 9 years ago by Elliott Hughes <[email protected]>
Minor dmesg cleanup.

github.com/landley/toybox - fcd2729305888d0d8e4af2e6d158b9bbb97541af authored over 9 years ago by Rob Landley <[email protected]>
If a shortopt is configured out right before a bare longopt, the option parsing infrastructure segfaults because there's no next shortopt but the list isn't empty. (There was a test for this, but we're simultaneously traversing two lists and it was testing the wrong one.)

github.com/landley/toybox - 5640acb50da707b404e00e9a20ba3fb3ec334a91 authored over 9 years ago by Rob Landley <[email protected]>
dmesg: add -t suppress timestamp flag

github.com/landley/toybox - 38a5493031bca46263038964a8f5b188d7e9304e authored over 9 years ago by Mark Salyzyn <[email protected]>
Portability bits for the recent ls smack changes.

github.com/landley/toybox - 06d378325b9e7b6fd06fe45b284e189ac440345b authored over 9 years ago by Rob Landley <[email protected]>
More ls cleanups from squinting at Jose's most recent smack patch.

Behavior change in flags: allow -long to work together, and -l1 work like -l
not -1.

I didn't m...

github.com/landley/toybox - 5e18bae30a80d6149e47d9adb1acb3a64bac7c08 authored over 9 years ago by Rob Landley <[email protected]>
Add default sigpipe handler for android (as suggested by Elliott Hughes).

github.com/landley/toybox - e7c09548b9c6188857260064c8ceba03d850c4b7 authored over 9 years ago by Rob Landley <[email protected]>
And remove the header part too.

github.com/landley/toybox - cb7ed52786ffab798455c88fbd73bc32276bcfed authored over 9 years ago by Rob Landley <[email protected]>
Wild guess at cleaning up smack support. Don't have a test environment yet.

github.com/landley/toybox - 491e3e3f1c654f689de0f8cbd3b05559fd65c568 authored over 9 years ago by Rob Landley <[email protected]>
Remove redundant numlen.

github.com/landley/toybox - 9c3d1657f1a3561910ceb87c1ea21d349fbfaaed authored over 9 years ago by Rob Landley <[email protected]>
ls: Add -Z (Smack) option

Option triggers printing security context,
for smack that is file's access smack label.

Change-...

github.com/landley/toybox - e94931034578707958fecb7f34dcd3a0a175eaf7 authored over 9 years ago by Jan Cybulski <[email protected]>
Fix truncate prefix bug and add truncate test suite entry.

github.com/landley/toybox - 789665dc51c85f6fabfaf6f70f12d54b9df117df authored over 9 years ago by Rob Landley <[email protected]>
Add prefix support Hyejin Kim asked about.

github.com/landley/toybox - 89701da1fef87dad77927d30194ab28f19d26366 authored over 9 years ago by Rob Landley <[email protected]>
Fix ls -s and -i indentation in -C and -x modes. (Spotted by Jan Cybulski.)

github.com/landley/toybox - 2b8a6f636854e2b07c7ba9bedcbbd275e27b69bd authored over 9 years ago by Rob Landley <[email protected]>
Promote hexedit to other.

github.com/landley/toybox - 4c182c325716776a3e40394b175de479738e31a6 authored over 9 years ago by Rob Landley <[email protected]>
Some infrastructure hexedit needs. (Poor man's curses.)

github.com/landley/toybox - 2fd8624cc612e946f593b2c9e9031c46f862562e authored over 9 years ago by Rob Landley <[email protected]>
Teach hexedit to actually edit. Add -r option for read only mode.

github.com/landley/toybox - ed753aaa5481e487a23c9e0e6a855c09612eb7ce authored over 9 years ago by Rob Landley <[email protected]>
Fix display and cursor control (to respect bottom boundary).

No actual editing yet.

github.com/landley/toybox - 53b0cb856deafa015626f21b5a2f972cddc015bd authored over 9 years ago by Rob Landley <[email protected]>
Too tired on the flight back from Japan to work on thinky stuff, so...

github.com/landley/toybox - 9ac2d6546a2154a6797e12dfe86f36cc9420d6d4 authored over 9 years ago by Rob Landley <[email protected]>
Bugfix from Hyejin Kim (count=1 shouldn't change name), plus a bounds check.

Test is 'echo "AAA c 1 0 0 2 5 0 0 1" | makedevs' makes AAA not AAA0.

github.com/landley/toybox - a829b89dbd324bcc005a5873fddf3faa81ea0536 authored over 9 years ago by Rob Landley <[email protected]>
Switch setprop to use TOYBOX_ON_ANDROID and fix getprop include.

(I commented out the android-only #include in getprop to do what compile
testing I could, and th...

github.com/landley/toybox - e5fb6a28ffb09782e4df08251956f42c48445147 authored over 9 years ago by Rob Landley <[email protected]>
Cleanup getprop, add qstrcmp() to lib for qsort (because posix-2008 broke

alphasort), add compile-time probe for config symbol TOYBOX_ON_ANDROID.

github.com/landley/toybox - 5b493dc48db03c7e27c8ce002fe216bcd778fe92 authored over 9 years ago by Rob Landley <[email protected]>
mdev: implement hotplug support.

Use DEVPATH, DEVNAME, MAJOR, MINOR, and SUBSYSTEM instead of
checking the current path and readi...

github.com/landley/toybox - 3cf9b08cc9ebeddc449638608f7a28c4c4ba20f9 authored over 9 years ago by Isaac Dunham <[email protected]>
Roadmap update, mostly from enh with a few other pending bits mixed in.

github.com/landley/toybox - 957c3f7eaa4b56d6470ce8ef382b132c1aae9ca0 authored over 9 years ago by Rob Landley <[email protected]>
Android getprop and setprop from Elliott Hughes.

github.com/landley/toybox - d5566b3bf443b19ec511d702b4f03e352afafc86 authored over 9 years ago by Rob Landley <[email protected]>
Link against libattr and libsmack.

github.com/landley/toybox - 58c326901827e1b54a7d82fb38633eafc448874d authored over 9 years ago by Xavier Roche <[email protected]>
Fix a trivial typo in www/about.html.

Sticky shift key...

github.com/landley/toybox - 517469767559376e1ee7b11982d169023bcc1571 authored over 9 years ago by Elliott Hughes <[email protected]>
Make toybox --version use the "git describe" info if it's available.

github.com/landley/toybox - 90afbad4c1f115d5363fe99eb797d2458cd298a0 authored over 9 years ago by Rob Landley <[email protected]>
terminal_size should use LINES, not ROWS.

The shell's pseudo-variable is called LINES. This is true of at least
bash and mksh.

github.com/landley/toybox - 17499c3731273d2cffdd96d011cf8ed6aca103da authored over 9 years ago by Elliott Hughes <[email protected]>
Shout from the rooftops that pending is not like other directories.

github.com/landley/toybox - d332c0461f71a04f0ece907166b7c98f1e7e50f8 authored over 9 years ago by Rob Landley <[email protected]>
Put SELINUX in a a menu, and add config option for SMACK.

github.com/landley/toybox - 08f51b53be06671f4bd6f57467182fd2b081b2c4 authored over 9 years ago by Rob Landley <[email protected]>
Yet more ps work. Still not there yet.

github.com/landley/toybox - 77d74244b4eb7e56fccf1f7c9a2a681beea1cc72 authored over 9 years ago by Rob Landley <[email protected]>
unshare: fix -r

Calling unshare(2) immediately puts us in the new namespace
with the "overflow" user and group I...

github.com/landley/toybox - 3c0be8a473c01a23f5413c88a3aa6e60b4772e5a authored over 9 years ago by Samuel Holland <[email protected]>
Before trying to remount read only, see if block device responds to "become rw"

ioctl(). (This is a thing Android's old mount already does.)

github.com/landley/toybox - 776aa3cb927f889a0481c2530128940c75984feb authored over 9 years ago by Rob Landley <[email protected]>
Implement Android restorecon.

On Android, much of the restorecon logic is in libselinux, so this
isn't portable. We do want to...

github.com/landley/toybox - e398112bdf7f4ced9388bb814697e35144e4a1a5 authored almost 10 years ago by Elliott Hughes <[email protected]>
Fix load_policy error reporting.

Also switch to xopen for O_CLOEXEC paranoia and to avoid a conditional.

Change-Id: Iee5c4c124bc...

github.com/landley/toybox - 6425277b218ceea473baf453e3bfc632a0f518d9 authored almost 10 years ago by Elliott Hughes <[email protected]>
getenforce takes no arguments.

Change-Id: Icbee1df8b316039c68ef326f9d4d80f32c603b21

github.com/landley/toybox - 39d52a8e5a14b322b862c4dbd43053699db90e70 authored almost 10 years ago by Elliott Hughes <[email protected]>
setenforce takes exactly one argument.

Change-Id: I83c478ea9ddd456c61e3f0f99506a1028a7027a1

github.com/landley/toybox - 8d9623a0ddd69b641e4672185ef86e8674a168c4 authored almost 10 years ago by Elliott Hughes <[email protected]>
Make more(1) usable.

> Yes, I know, "don't use pending". Sadly, more(1) is pretty useless
> without this. It gets con...

github.com/landley/toybox - 56af7086b2d6f59f54c661602252a0e84562ac7c authored almost 10 years ago by Elliott Hughes <[email protected]>
Update www/roadmap.html with Android progress.

Not much progress this week. Just route and umount.

Also remove a stray reference to load_polic...

github.com/landley/toybox - 70722144e3352567ab6a519a7ec11a831e377914 authored almost 10 years ago by Elliott Hughes <[email protected]>