Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-27 | Dirtree shouldn't put a "No" in front of filename for "permission denied". | Rob Landley | |
2018-10-27 | Fix "make distclean defconfig toybox" all on one line (good of $CROSS_COMPILER | Rob Landley | |
changed), better error message when .config missing. | |||
2018-10-27 | Allow unstripped build to overwrite read-only output file. | Rob Landley | |
(Output file is read only because broken installs that write to the old filename will truncate+overwrite toybox binary otherwise.) | |||
2018-10-22 | Don't call TIOCGWINSZ on non-ttys | Nick Kralevich | |
Prior to calling TIOCGWINSZ on stdin/stdout/stderr, check to see if the file descriptor is a tty. Calling TIOCGWINSZ on a non-tty doesn't make any sense. Calling TIOCGWINSZ on a non-tty is mildly problematic for systems like Android where strict ioctl filtering is in place, and generates SELinux audit noise. Strict ioctl filtering for non-filesystem fifo_files (eg pipe() or pipe2() generated pipes) was enabled in Android in commit https://android-review.googlesource.com/c/platform/system/sepolicy/+/792599 | |||
2018-10-21 | Document % argument suffixes in toybox --help. | Rob Landley | |
2018-10-21 | Make ./top -d .1234567890m work. | Rob Landley | |
2018-10-21 | Add % to lib/args.c (long time in milliseconds), add xmillitime(), redo | Rob Landley | |
xparsetime() not to need floating point, adjust callers. | |||
2018-10-21 | Move start_redraw() to lib/ and have ps.c (top) use it. | Rob Landley | |
2018-10-20 | Some more --help consistency. | Elliott Hughes | |
From eyeballing the output of for i in `./toybox | tr " " "\n"` ; do ./toybox $i --help ; done | \ grep '^-' | grep -v "\t" | |||
2018-10-20 | The static NDK fix broke the dynamic NDK build. | Rob Landley | |
2018-10-20 | Add SPDX identifier, update copyright year, move kconfig note into kconfig/ | Rob Landley | |
directory. | |||
2018-10-10 | Fix static Android NDK build. | Rob Landley | |
2018-10-10 | Rewrite of watch. | Rob Landley | |
2018-10-10 | Trivial speedup to format_iso_time(), teach parsetime() leading garbage != 0. | Rob Landley | |
2018-10-10 | Add xsignal_flags() and more consistently use xsignal() instead of signal(). | Rob Landley | |
xsignal() wraps sigaction() giving control of SA_RESTART behavior and such. | |||
2018-10-07 | Fix non-android ps build. | Rob Landley | |
2018-10-07 | Fix getconf build for musl. | Rob Landley | |
2018-10-07 | libcutils isn't in the NDK. | Elliott Hughes | |
Bug: https://github.com/landley/toybox/issues/43 | |||
2018-10-07 | Fix build break on x32 target. | Rob Landley | |
2018-10-06 | getconf: add missing names used by AOSP. | Rob Landley | |
2018-10-06 | Say undefined for sysconf/pathconf -1, remove goto, help text tweak, | Rob Landley | |
remove curly brackets around single line if(). | |||
2018-10-06 | Check for cross compiler before creating any generated/* files w/probed vals. | Rob Landley | |
2018-10-06 | date.test: add some tests. | Elliott Hughes | |
These are reasonable examples I found in AOSP. I also came across "today" (which is the same as the more obvious "now"), "yesterday", "7 days ago" and "1 month ago". I'm not sure how far down that rabbit hole we want to go. But these ones at least seem reasonable. | |||
2018-10-06 | date: fix some tests. | Elliott Hughes | |
`errno` isn't meaningful here. | |||
2018-10-05 | getconf: add pathconf(3) variables. | Elliott Hughes | |
Also improve the -l output to include sections (because you need to know whether you're dealing with a pathconf variable to supply the required path). | |||
2018-10-05 | getconf: fix glibc NPROCESSORS_ONLN. | Elliott Hughes | |
glibc doesn't have _XOPEN_UUCP (though bionic does), which meant that the generated array of values was out of sync with the hand-written array of names. This patch removes that by using a unified array and the preprocessor. A side benefit of this for me is that it makes toybox easier to integrate in the AOSP build system (the less shell script magic, the better). | |||
2018-10-04 | Add the current state of AOSP to the roadmap. | Elliott Hughes | |
2018-10-04 | Make it possible to build the AOSP .config against glibc. | Elliott Hughes | |
It's possible that we should just pull setprop back out of toybox to live with getprop in system/core/, but this lets us build the same toybox configuration for device and host in AOSP. (Longer term we'd like to use host bionic, but if we enable this we can start experimenting on the tobyox side before the bionic side is finished.) | |||
2018-10-04 | blockdev: BLKRAGET returns 512-byte sectors. | Elliott Hughes | |
Bug: https://github.com/landley/toybox/issues/104 | |||
2018-09-29 | Command not in pending or example should probably default y. | Rob Landley | |
2018-09-26 | Don't claim to have i2cget non-byte mode support yet. | Rob Landley | |
2018-09-21 | Promote i2ctools. | Rob Landley | |
(Fixed one declaration not at start of a block.) | |||
2018-09-21 | Implement i2c utilities. | Elliott Hughes | |
This is enough to cover the use cases of the Android users I know of. Bug: http://b/115644518 | |||
2018-09-21 | Stack can grow in either direction, so needs signed subtraction and abs(). | Rob Landley | |
Both positive and both negative should work, even crossing midpoint (which should never happen on linux) works in two's complement. | |||
2018-09-16 | file: remove %s with no corresponding argument. | Rob Landley | |
I've had added the argument, but I don't know what it wants? Ubuntu's file calls a bmp file "data". | |||
2018-09-16 | Nommu systems want to _exit() after vfork when exec fails, but should do ↵ | Rob Landley | |
cleanup ala fflush(0) after a normal exec() failure. | |||
2018-09-16 | It should never matter on Linux (where the top half of virtual address space | Rob Landley | |
is reserved for the kernel), but technically a pointer is unsigned long. | |||
2018-09-16 | Fluff up the roadmap a bit. | Rob Landley | |
2018-09-15 | Add .bmp supoprt to file(1). | Elliott Hughes | |
2018-09-15 | Add .wav support to file(1). | Elliott Hughes | |
2018-09-15 | Fix glibc build after 013876f067a11ebfcf47789921b376e7bf3bf5b8. | Elliott Hughes | |
/usr/include/unistd.h:626:15: error: conflicting types for 'confstr' | |||
2018-09-11 | Add a couple Android NDK links for reference. | Rob Landley | |
2018-09-09 | Variable data needs to go at the end. | Rob Landley | |
2018-09-08 | Tweaks to make building with Android NDK's llvm happier. | Rob Landley | |
2018-09-08 | Clean up test.c | Kevin Spiteri | |
* A number of logic and style fixes * No longer changes toys.optargs and toys.optc * Now supports ( ) ! -a -o * Supports POSIX special cases for low argument count | |||
2018-08-31 | Convert option style. | Rob Landley | |
2018-08-29 | added fold test for discussion | maqsood3525@live.com | |
2018-08-28 | Add a test case raised on the list. | Rob Landley | |
2018-08-26 | Add binary file detection to grep. | Rob Landley | |
2018-08-26 | Convert more commands to the new option/GLOBALS code style. | Rob Landley | |