Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2015-04-28 | Fix truncate prefix bug and add truncate test suite entry. | Rob Landley | |
2015-04-28 | Add prefix support Hyejin Kim asked about. | Rob Landley | |
2015-04-27 | Promote hexedit to other. | Rob Landley | |
2015-04-27 | Some infrastructure hexedit needs. (Poor man's curses.) | Rob Landley | |
2015-04-21 | Bugfix from Hyejin Kim (count=1 shouldn't change name), plus a bounds check. | Rob Landley | |
Test is 'echo "AAA c 1 0 0 2 5 0 0 1" | makedevs' makes AAA not AAA0. | |||
2015-04-12 | unshare: fix -r | Samuel Holland | |
Calling unshare(2) immediately puts us in the new namespace with the "overflow" user and group ID. By calling geteuid() and getegid() in handle_r() after calling unshare(), we try to map that to root, which Linux refuses to let us do. What we really want to map to root is the caller's uid/gid in the original namespace. So we have to save them before calling unshare(). | |||
2015-04-04 | To ensure that toybox can be installed alongside busybox without | Paul Barker | |
confusing update-alternatives, the paths of the links installed by toybox should match those installed by busybox. This is accomplished by changing the flags of a few tools within toybox. | |||
2015-03-12 | Switch nsenter to default y. | Rob Landley | |
2015-03-12 | Implement shred -u and switch to default y in defconfig. | Rob Landley | |
2015-03-12 | Make find accept numeric uid/gid, and simplify makedevs using the new ↵ | Rob Landley | |
infrastructure. | |||
2015-03-10 | Use xsignal() instead of signal(). | Rob Landley | |
2015-03-09 | Fix thinko (don't &toybuf to get scratch space) and add -v option. | Rob Landley | |
2015-03-09 | Upgrade oneit with -r (restart), -3 (send exiting PID values to child), and ↵ | Rob Landley | |
signal handling. | |||
2015-03-01 | Fix several printf_format warnings. | Rob Landley | |
2015-03-01 | Patches from Elliott Hughes to fix various printf() format strings. | Rob Landley | |
(Don't specify the space flag when it's the default behavior. The ifconfig stuff was actual bugs.) | |||
2015-03-01 | Patches from Elliott Hughes to add missing arguments to error_exit() calls. | Rob Landley | |
2015-02-25 | stat -f didn't work on 32 bit systems because type sizes wrong (fix from ↵0.5.2 | Rob Landley | |
Elliott Hughes). | |||
2015-02-18 | Patch from Isaac Dunham to add -r, fixed up so it doesn't try to include two ↵ | Rob Landley | |
flag contexts simultaneously. | |||
2015-02-14 | Split out unix2dos so scripts/single.sh and "make change" can build it ↵ | Rob Landley | |
standalone. | |||
2015-02-08 | Promote chcon to "other". | Rob Landley | |