Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-01-16 | Rename xmsprintf() to just xmprintf(). | Rob Landley | |
Partly because there's no supplied target string ala sprintf, and partly because I can never remember what order the m and s go in. | |||
2013-12-27 | Cleanup vmstat. Procs, memory, and cpu are reading right, the others not so ↵ | Rob Landley | |
much. | |||
2013-12-23 | Fix some issues raised (albeit indirectly) by Isaac Dunham. | Rob Landley | |
POLL_IN defined as a constant by some libc. Factor out login.c's change_identity() to xwrap.c as xsetuser(). Replace xsetuid() with xsetuser() Put a space between argument globals and non-argument globals. TT starts zeroed, don't need to re-zero entries in it. STDIN_FILENO has been 0 since 1969, even DOS copied that. Just say 0. Added an xchroot() using xchdir() to lib/xwrap.c. Remove endgrent() call until somebody can explain why it was there. | |||
2013-12-22 | Ashwini sharma pointed out that show_help() doesn't exit so "ifconfig eth0 ↵ | Rob Landley | |
netmask" would segfault. Replace it with an error_exit(), see list for aesthetic issue this raises re: help text. | |||
2013-12-19 | Don't permute toys.optargs, cleanup code (xexec()) can free it. | Rob Landley | |
2013-12-04 | When building for 32-bit, the compiler can't figure out that a constant too ↵ | Rob Landley | |
big to fit in a long isn't trying to unless you explicitly postfix the constant with the type of the varable it's being assigned into. | |||
2013-11-30 | Cleanup help text, remove dead fields unused by linux kernel. | Rob Landley | |
2013-11-28 | Promote ifconfig from pending to other. | Rob Landley | |
2013-11-18 | Add test suite for blkid and clean up an editorial comment that shouldn't ↵0.4.7 | Rob Landley | |
have been checked in. | |||
2013-11-02 | Sceond cleanup pass on vconfig | Rob Landley | |
2013-11-02 | Merge toynet.h into toys.h: musl supports it and micromanaging uClibc config ↵ | Rob Landley | |
options isn't very interesting anymore. | |||
2013-11-02 | Cleanup vconfig. | Rob Landley | |
2013-10-26 | I noticed the user count was missing and added this, borrowing a bit of code ↵ | Jeroen van Rijn | |
from toys/posix/who.c. | |||
2013-10-17 | Minor cleanup of reboot | Rob Landley | |
2013-10-01 | New toy: reboot/halt/poweroff | Elie De Brauwer | |
2013-10-08 | Move blkid out of pending, default y. | Rob Landley | |
2013-10-08 | Cleanup chvt | Rob Landley | |
2013-09-09 | Cleanup on acpi, switch to default y. | Rob Landley | |
2013-09-09 | I got tired of trying to guess how much terminal time I could get in on my ↵ | Isaac Dunham | |
phone, so here's a basic acpi. I could probably add -c fairly easily (print type, cur_state, and max_state) -t is more difficult, since temperatures are reported in at least 1000 * degrees F and 10 * degrees C. | |||
2013-09-04 | Don't pad stat's %a field. | Rob Landley | |
2013-09-03 | Introduce libbuf analogous to toybuf but for use by lib/*.c. Change ↵ | Rob Landley | |
readfile() semantics to be able to read into an existing buffer, or malloc its own if that's NULL. | |||
2013-09-02 | Cleanup pwdx | Rob Landley | |
2013-09-02 | pwdx by Lukasz Skalski. | Rob Landley | |
2013-09-01 | Improve --longopt parsing: general bugfixes, better error reporting, new ; ↵ | Rob Landley | |
option for optional arguments only suppliable with =. | |||
2013-08-29 | PID and UID namespaces for unshare, pointed out by heehooman@gmail.com. | Rob Landley | |
2013-08-27 | Rewrite pmap to be simpler and match other implementation's output more closely. | Rob Landley | |
2013-08-09 | New toy: fallocate | Felix Janda | |
2013-07-18 | Replace users of xexec(toys.optargs) with xexec_optargs(0) to avoid ↵ | Rob Landley | |
free/reuse bug during argument parsing. | |||
2013-07-17 | Add timeout, factoring out common code from sleep. | Rob Landley | |
2013-07-11 | Eject cleanups. | Rob Landley | |
2013-07-11 | Eject, by Kyungwan Han. | Rob Landley | |
2013-07-10 | add paramtype in to the list of tags | Isaac Dunham | |
2013-07-06 | This inlines CRC64, and nothing more. | Isaac Dunham | |
The functions involved were called only once. | |||
2013-06-28 | modinfo: support -b basedir and -k kernel.release, fix two bugs | Isaac Dunham | |
Add two less-frequently used flags for modinfo; -b specifies an alternate root and -k replaces the output of uname -r. Additionally, avoid a potential overflow in sprintf, and correct an inverted test. | |||
2013-06-23 | Modinfo cleanups. | Rob Landley | |
Don't use xopen() if you want to iterate through multiple files. Don't abort if unable to open the file, but return error if it can't map it. (And leak the filehandle.) All modinfo_file() actually uses is the filename, no reason to go through dirtree() for that. Nothing is actually _checking_ the return value of modinfo_file(). Avoid global data outside of toy_union. Make sure extension is at end of file (we can add support for more extensions later). | |||
2013-06-23 | Patch that assumes that the presence of the string ".ko" indicates | Isaac Dunham | |
use of a path to a module (*.ko.xz and similar included, but not supported). | |||
2013-06-18 | Add pivot_root. | Rob Landley | |
2013-06-16 | Upgrade modinfo to support multiple modules, and add tests, from Isaac Dunham. | Rob Landley | |
2013-06-02 | Move stat from pending to other, default y. | Rob Landley | |
2013-05-14 | Tighten up lsusb, default to "y". | Rob Landley | |
2013-05-14 | Attached is a pretty simple implementation of lsub. It doesn't implement any ↵ | Andre Renaud | |
of the flags/options, but does the raw output. | |||
2013-04-27 | Add firmware field to modinfo output. | idunham | |
2013-04-24 | Isaac Dunham pointed out that the kernel treats - and _ as identical in ↵ | Rob Landley | |
module names, so modinfo should too. Made it use mmap() while I was there, and some cosmetic refactoring. | |||
2013-04-14 | Move guts of help command into show_help() in lib/help.c, with config ↵ | Rob Landley | |
TOYBOX_HELP controlling infrastructure. | |||
2013-03-16 | Move mdev into the pending directory, since it's not done yet. | Rob Landley | |
2013-02-24 | Add readahead. | Rob Landley | |
2013-02-22 | Move some unfinished commands to the "pending" directory. | Rob Landley | |
2013-02-03 | Some older build environments don't have LOOP_CTL_GET_FREE or ↵ | Rob Landley | |
LOOP_SET_CAPACITY. Substitute constants so they can get the rest of losetup without a build break. | |||
2013-01-17 | Switch readlink on by default, and fill out readlink.test. | Rob Landley | |
2013-01-14 | Silence deeply stupid gcc warning. (First non-declaration line of function: ↵ | Rob Landley | |
if (file) ffd = open(); at end of of function: if (file) close(ffd); "file" is an argument to the function and nothing else assigns to it. gcc warning on that close, "ffd may be used uninitialized!" _HOW_?) |