Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-05 | Tweak xconnect: socket can be a string (ala "ftp") from /etc/services. | Rob Landley | |
Still need a rethink on how to handle socket/bind/connect sequence. | |||
2015-08-03 | Factor out xconnect(), plus some other small cleanups to telnet.c. | Rob Landley | |
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-08-01 | Replace xcheckrange() with atolx_range() | Rob Landley | |
2015-08-01 | Move strlower() from find to lib. | Rob Landley | |
2015-08-01 | '!' replaces '/' in the sysfs paths of older drivers, so properly | Isaac Dunham | |
reverse that to get correct paths. While we're here, reduce the duplication of initialization. While this is enough for some drivers, it won't get 'input/' stuff in the right folder. | |||
2015-07-24 | Promote fsync. | Rob Landley | |
2015-07-24 | Promote hostid. | Rob Landley | |
2015-07-24 | Attached are new toys. | Sameer Pradhan | |
tftp - Client for tftp daemon. hostid -Print the numeric identifier for the current host. fsync -Synchronize a file's in-core state with storage device. | |||
2015-07-20 | Fix llvm build break.0.6.0 | Rob Landley | |
2015-07-13 | Produce an error message for "cat /mnt", not just return code. | 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 | I added dhcpd -6 option. | Yeongdeok Suh | |
It's for supporting ipv6, and I referred to RFC 3315 Specification http://www.rfc-base.org/txt/rfc-3315.txt There are some different kind of requests in dhcpd6, but I inplemented only a basic protocol. (Solicit - Advertise - Request - Reply) There's a sample packet as below. toybox dhcpd works in the same way. http://packetlife.net/captures/DHCPv6.cap | |||
2015-07-10 | find: add -inum option | Greg Hackmann | |
-inum is a commonly implemented extension to search by inode number. Linux's fs-layer tracepoints log many events in terms of inodes, so "find -inum" is useful for mapping those events back to specific files. | |||
2015-07-10 | Rename a function to be more obvious, and factor out a repeated calculation | Rob Landley | |
the compiler was almost certainly retaining in a register anyway. | |||
2015-07-10 | Promote hwclock. | Rob Landley | |
2015-07-10 | Fix hwclock -w. | Elliott Hughes | |
The gmtime_r/localtime_r error check was backwards, and the wrong argument was being passed to the RTC_SET_TIME ioctl. Also, the error reporting was misleading (showing errno for functions that don't set errno) and too vague for the user to tell what failed. | |||
2015-07-09 | There is a typo in mkfifo.c for __Z__ option. | Sameer Pradhan | |
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-06 | Avoid integer overflow with insane input data. | Rob Landley | |
2015-07-05 | Kylie McClain pointed out that -z affects both input and output. | Rob Landley | |
Can't say I'm happy with the API (-z and -Z to keep them independent would be nice), but compatibility with what exists trumps having a good API... | |||
2015-07-04 | Actually set time with touch -d and -t when you don't specify nanonseconds. | Rob Landley | |
There's a nanoseconds field value that says use current time, which I set but forgot to clear in the right places. (Oops.) | |||
2015-07-03 | First pass on cp --preserve | Rob Landley | |
2015-07-03 | Promote xxd to other. | Rob Landley | |
2015-07-03 | Added i option to use other interface on running dhcpd. | Hyejin Kim | |
2015-07-02 | Cleanup xxd. | Rob Landley | |
2015-07-02 | Minor cleanups on xxd. | Rob Landley | |
2015-07-02 | The android guys sent in xxd. It doesn't share code with od and hexdump. Hmmm... | Rob Landley | |
2015-07-01 | Improve -Z error reporting. | Elliott Hughes | |
The most likely reason for setfscreatecon to fail is that you don't have permission, and that's reported by the write return EACCES. There isn't really a "bad" context; they're just strings. Before: $ adb shell mkdir -Z x y mkdir: bad -Z 'x' After: $ adb shell mkdir -Z x y mkdir: -Z 'x' failed: Permission denied Other than this, the ToT mkdir works fine with SELinux. | |||
2015-07-01 | Fix top.c build. | Elliott Hughes | |
Broken by recent lib.h additions. | |||
2015-06-29 | mkfifo -Z | 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-23 | Don't segfault if none of the file arguments to ls exists. | Rob Landley | |
2015-06-23 | Don't depend on malloc(0) to return non-null. | Rob Landley | |
2015-06-23 | Fix ls so spacing is right for ls -l, -o, -g, -og, -ogZ, -lZ, -gZ, and -oZ. | Rob Landley | |
2015-06-15 | Use lsm_set_create() to set security blanket context before mknod, avoiding | Rob Landley | |
racy gap between create/label. | |||
2015-06-11 | Add nproc. | Rob Landley | |
2015-06-06 | Last grep commit broke non -r use of grep. Oops. | Rob Landley | |
2015-06-02 | Make "printf --" and "printf ---" work. | 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-31 | On testing fold command, I found w option didnt check the range of value. | Hyejin Kim | |