Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-12-27 | Add scan_key_getsize() doing the ANSI probe, switch scan_key() to TAGGED_ARRAY, | Rob Landley | |
and add test_scankey. | |||
2015-12-23 | Factor out draw_str() and friends. | Rob Landley | |
2015-12-06 | Add free -h, based on a patch from Isabella Parakiss. | Rob Landley | |
2015-12-04 | Tom Marshall reported that blkid was handling ext2 wrong. | Rob Landley | |
Even though ext2 has a comment that it has to be at the start, I added swap to the start of the array (oops). The test suite was also wrong (it was matching the _incorrect_ output). | |||
2015-11-03 | Whitespace and parentheses. | Rob Landley | |
2015-11-02 | Explain signals in oneit help text. | Rob Landley | |
2015-10-27 | Replace xcount_cpus() with a call to sysconf(_SC_NPROCESSORS_CONF) | Rob Landley | |
2015-10-25 | Add xcount_cpus() | Rob Landley | |
2015-10-20 | Move d/h units from %d %D output to default format string. | Rob Landley | |
2015-10-10 | "stat -c %T" support (filesystem type names) based on patch from Hyejin Kim. | Rob Landley | |
2015-10-06 | New command: flock. | Elliott Hughes | |
The brillo folks wanted this in a shell script they're porting over (so I've only implemented the fd style they wanted, not the named file style). | |||
2015-09-29 | help_exit() tweak. | Rob Landley | |
2015-09-29 | Make defconfig build for nommu. | Rob Landley | |
Adds XVFORK() macro, teaches xpopen_both() to call /proc/self/exe with NULL argv (and converts cpio -p to use that), adds TOYBOX_FORK guards to some unconverted commands. | |||
2015-09-23 | Add xvfork() as a static inline and use it from various places. | Rob Landley | |
Note: vfork(), like fork(), can return -1 if too many processes, and we should notice and fail loudly. | |||
2015-09-17 | Fix a couple things gcc is too dumb to figure out on its own. | Rob Landley | |
2015-09-11 | Replace toys.exithelp with help_exit() in lib. | Rob Landley | |
2015-09-05 | Two large thinkos in oneit: -3 was always enabled and signal numbers were | Rob Landley | |
overwritten before we set up signal handlers. | |||
2015-09-02 | vmstat: fix units for bi and bo columns | Colin Cross | |
pgpgin and pgpgout in /proc/vmstat are in kbytes, not pages. (see http://lxr.free-electrons.com/source/mm/vmstat.c?v=4.2#L1310). Remove the extra * page_kb for io_in and io_out. | |||
2015-09-01 | Trivial code style tweak. | Rob Landley | |
2015-09-01 | vmstat: reset header pointer when looping | Colin Cross | |
Modifying the headers pointer when printing the headers causes a buffer overrun the second time they are printed. Use a local header pointer that is reset to the beginning of the buffer for each loop. | |||
2015-08-20 | I discovered that the reason SIGINT causes a reboot on sysvinit is that | Isaac Dunham | |
it's how the kernel signals that ctrl-alt-delete has been pressed; thus, setting it as the signal for reboot prevents ctrlaltdel scripts from working. SIGTERM is what Busybox uses, so we might as well be compatible. | |||
2015-08-14 | Fix ionice default class. | Elliott Hughes | |
2015-08-08 | First pass at proper bunzip2 command line handling. | Rob Landley | |
2015-08-08 | login: execl() requires a path, not a file name | Isaac Dunham | |
2015-08-08 | Fix switch_root implementation. | Alistair Strachan | |
Add the MS_MOVE of cwd to / and chroot into it. chdir is also called to ensure cwd does not point outside the chroot. The switch_root toy was also blocking any case where NEW_ROOT/init did not exist, even though NEW_INIT was a required parameter and did not have to be '/init'. Change it to handle any NEW_INIT passed as either a relative or absolute path. With this change, the switch_root toy actually works from initramfs. | |||
2015-08-06 | Detect swap partitions, inline loop_partitions(), various cleanups. | Rob Landley | |
2015-08-06 | Initialize uninitialized variable. (Oops.) | Rob Landley | |
2015-08-05 | I've added support for running blkid without specifying a partition (so it ↵ | Dima Krasner | |
scans /proc/partitions). | |||
2015-08-05 | Minor tweak of reboot.c | Rob Landley | |
2015-08-05 | reboot: signal init, add -f option to call reboot(); | Isaac Dunham | |
init: use SIGINT, use xsignal() Now that oneit supports the same signals as our "sysv"-init for shutdown, make reboot et al. signal pid 1 with the appropriate signal. Of these signals, only SIGINT works with sysvinit 2.88, causing a reboot. The others are only supported in Busybox init. Also, make init accept SIGINT and use xsignal(). | |||
2015-08-05 | Switch nbd_client to xconnect() and make xconnect() try all returned addresses | Rob Landley | |
before failing. | |||
2015-08-02 | Mark command-local functions static. | Rob Landley | |
2015-08-02 | Long-overdue cleanup on login. | Rob Landley | |
Only tested that it compiled so far. | |||
2015-07-24 | Promote fsync. | Rob Landley | |
2015-07-24 | Promote hostid. | Rob Landley | |
2015-07-10 | ifconfig MAC addresses should be lowercase. | Elliott Hughes | |
A minor nit, but for some reason this really stands out every time I run ifconfig... | |||
2015-07-10 | Promote hwclock. | Rob Landley | |
2015-07-08 | Fix ionice. | Elliott Hughes | |
ioprio_set takes a "prio" argument that combines class and level. Although bionic (via the uapi headers) includes the appropriate constants and even a convenience macro, glibc doesn't, so just hard-code the encoding. Also fix the sense of a conditional so we actually execute the provided command. | |||
2015-07-03 | Promote xxd to other. | Rob Landley | |
2015-06-28 | Add ionice and iorenice. | Rob Landley | |
2015-06-27 | Add undo buffer for 'u'. | Rob Landley | |
2015-06-27 | Simplify hexedit logic by adjusting viewport all in one place up top. | Rob Landley | |
(Easier to genericize logic and reuse later in less or vi...) | |||
2015-06-26 | Factor out more not-curses infrastructure into lib. | Rob Landley | |
2015-06-11 | Add nproc. | Rob Landley | |
2015-05-31 | Move the magic list of commands needing cleanup from toys/pending/README | Rob Landley | |
to greppable TODO annotations in the individual files. (grep -riw TODO) | |||
2015-05-15 | stat: fix group name | José Bollo | |
Change-Id: I0ad65a40bf380d789c4396ebdc01be217901a2e3 | |||
2015-05-14 | Promote reset (actually write a new one using the simple man 4 console_codes | Rob Landley | |
terminal reset escape sequence) and add gettty() function to lib so terminal gets reset even when we redirect stdout/stderr. (This is apparently the expected behavior.) | |||
2015-05-13 | Print name of file at the bottom of the screen. | Rob Landley | |
And yes, I tested $PWD/私はガラスを食べられま す。それは私を傷つけません。 as a name and made it work. If you throw newlines or ascii escapes in the name it'll use the fancy printing logic for chars, otherwise it does the full utf8 fontmetrics deal. | |||
2015-05-13 | More hexedit cursor boundary tweaking. | Rob Landley | |
2015-05-10 | Git hates me. | Rob Landley | |