aboutsummaryrefslogtreecommitdiff
path: root/toys/pending
AgeCommit message (Collapse)Author
2014-05-21Convert bootchartd to generic_signal().Rob Landley
2014-05-21Make telnet use generic_signal(), minor in-passing cleanups.Rob Landley
2014-05-21Make telnetd use generic_signal(), inline kill_session(), close race window ↵Rob Landley
where a SIGCHLD could get lost.
2014-05-21First pass init cleanup: use sigatexit() to set multiple signal handlers, ↵Rob Landley
rename set_sane_term() to reset_term() and have it take the fd it works on as an argument, some whitespace and help text tweaks.
2014-05-21Make fsck.c use common list free function, collate cleanup code and move inline.Rob Landley
2014-05-21Make last use common llist free function, minor cleanups.Rob Landley
2014-05-21dhcp client had a segfault, when DHCP message contained 'pad' option.Ashwini Sharma
The parsing logic kept checking for other options beyond __pad__ option, without checking if it was __end__ option after that or not.
2014-05-20lspci text output: add -i, allow -n when disabledIsaac Dunham
-i is how standard lspci handles changing the PCI ID database. lspci -n should be a no-op when text is disabled.
2014-05-19Cleanup pass on bootchartd.Rob Landley
Might have broken something, don't actually have a test case for bootchartd yet.
2014-05-18Quick cleanup pass on ps.Rob Landley
2014-05-18Cleanup pass on lspciRob Landley
2014-05-15bootchartd by Bilal Qureshi.Rob Landley
2014-05-15Promote sysctl from pending to other, default y.Rob Landley
2014-05-15More sysctl cleanup: fix error message on nonexistent key, write path, and -p.Rob Landley
2014-05-13Cleanup pass on sysctl.Rob Landley
Not heavily tested yet but should be finished at the design level.
2014-05-12First cleanup pass on sysctl.Rob Landley
Remove unnecessary typecasting of things that are already char * to char *, and multiplying by sizeof(char *) which is 1. Rename do_process() do_flag_a() since that's the only caller. Move read_key_values() down past trim_spaces() and read_config_file() so it's next to its only two users. Replace some euphemisms for 0 with 0. replace_char() really sounds like something libc should already have one of, but I'm blanking on it if so. (It doesn't need a temporary variable when the argument variable is already a copy so changing it won't affect the caller.)
2014-05-12Add sysctl by Bilal Qureshi.Rob Landley
2014-05-12Add arp from Sandeep Sharma and Kyungwan Han.Rob Landley
2014-05-10sizeof("string") treats it as a char array _including_ the null terminator, ↵Rob Landley
so strncmp(dest, "string", sizeof("string")) is just strcpy.
2014-05-10Initial cleanup of last: mostly whitespace, move no record test to start of ↵Rob Landley
loop, don't bother to stat an empty file to report when an empty log was created (just report current time).
2014-05-06Switch human_readable() to just outputing decimal kilo/mega/gigabytes, make ↵Rob Landley
du use it, move it from lib/pending.c to lib.c.
2014-04-25fold cleanup: whitespace and curly brackets.Rob Landley
2014-04-23As long as uClibc's still around and requires you to jump through hoops to ↵Rob Landley
get iconv(), probe and build defconfig without it if it's not there.
2014-04-23usage: is lower case (the help generator looks for that, might as well be ↵Rob Landley
consistent).
2014-04-16This version of fold fixes major bugs (infinite loop, overflow) and adds an ↵0.4.8Samuel Holland
option for un/refolding text.
2014-04-16Revert lots of half-finished local debris I didn't mean to check in with ↵Rob Landley
Isaac's roadmap update. Mercurial's "import" command is still broken, committing local tree changes to files that weren't even touched by the patch because the hg developers inisist, when I point out how stupid it is, that they meant to do that. (hg record can do hunks, but import can't even track _files_.)
2014-04-13A tool to reset the terminal.Ashwini Sharma
This implementation depends on the _stty_ 'sane' settings.
2014-04-13An implementation of __printf__ is attached.Ashwini Sharma
2014-04-13iconv cleanup.Rob Landley
2014-04-13iconv is actually something I'm missing on my current musl based system.Felix Janda
Attached is a simple version using the libc's iconv.
2014-04-12getty: build fix, clean up messages, simplify codeIsaac Dunham
build fix: xmsprintf has been renamed shorten and lowercase the error messages use xexec() instead of execlp(); perror_exit(); remove redundant variable setting
2014-04-12roadmap: describe glibc commands.Isaac Dunham
Some glibc commands are irrelevant because they're for functionality that is excluded from musl (mtrace, rpc*, localedef, iconvconfig, nscd). getconf and catchsegv look like candidates for the development toolchain; locale and iconv were already triaged. getent is pretty lame, but it and the timezone stuff (tzselect zic zdump) are the only new possibly interesting commands.
2014-04-09modprobe: cleanup, incorporate Ashwini's fix for alias loadingIsaac Dunham
Move <fnmatch.h> to toys.h, since it's POSIX. Avoid duplicating code in an if/else block. Terser error messages, spelling. Don't always print the state.
2014-04-09Modprobe from Madhur Verma and Kyungwan Han.Rob Landley
2014-04-09A getty implementation from Sandeep Sharma and Kyungwan Han.Rob Landley
2014-04-03openvt tries opening several devices to get an fd that points to the current ↵Isaac Dunham
console, without a need for read or write permissions. O_RDWR implies that both O_RDONLY and O_WRONLY would work, so skip it. Reindent.
2014-04-03Here is a basic implementation of fold[0]. It does not support multibyte ↵Samuel Holland
characters, though that would probably just require more switch cases.
2014-04-02Decided not to go with the sflate implementation of deflate/inflate. The ↵Rob Landley
decompression side's already reimplemented in compress, and I'm working on compression side.
2014-03-29Group headers by standard (POSIX or LSB) or function (internationalization, ↵Rob Landley
networking). Move headers standards ignore (but which have been there >15 years) to lib/portability.h. Fold xregcomp into lib since it's posix.
2014-03-29find: clarify and expand the help for find -typeIsaac Dunham
2014-03-25Promote cpio out of pending.Rob Landley
After some waffling I put it in "posix", even though it was last specified in susv2 (where it was the obsolete 6 byte header entries predating susv4). LSB specifies it, including the 8 byte header fields, but for the actual command it just references SUSv2. (LSB isn't so much a standard as Red Hat's "notes to self".)
2014-03-25Several cpio bugfixes spotted by Isaac Dunham.Rob Landley
2014-03-24Most of the remaining cpio cleanup.Rob Landley
2014-03-15Next round of cpio cleanup.Rob Landley
2014-03-13Cleanup cpio: use getline() instead of fgets(), have getline() allocate its ↵Rob Landley
own memory (instead of using toybuf), use perror_msg() instead of lower level verror_msg() (which is really an internal function needed to implement perror_msg()), don't set execute bits on created archive.
2014-03-13Cleanup cpio: fiddle with help text, make option parsing require/exclude ↵Rob Landley
-iot combinations, move loopfiles_stdin() down after write_cpio_member() so we can hardwire it instead of using a function pointer that only ever has one value.
2014-03-11Patch from Isaac Dunham to add cpio -d, with a few tweaks by me.Rob Landley
2014-03-09Promote freeramdisk from pending to other, default y.Rob Landley
2014-03-09Cleanup freeramdisk: tabs to 2 spaces, square brackets for option name, do ↵Rob Landley
optional cleanup under if (CFG_TOYBOX_FREE) guard.
2014-03-09Please find the patches attached herewith for adding 3 new commands -Vivek Bhagat
1. freeramdisk - If we unmount or detach the RAM disk based file system the Linux Kernel will not free the allocated memory associated with the RAM device. This can be useful if one wants to mount this device again: All data will be preserved. If we need to free the memory back to the Kernel, one can use the command: "toybox freeramdisk <RAM device>". 2. openvt - Successfully opens a new virtual terminal as mentioned with -c option otherwise search and open next available VT. with -s option it switches to new VT with -s -w option, it switch back successfully to originating VT. 3. deallocvt - Deallocate specified virtual teminal. if no virtual terminal is specified, it deallocates all unused VT.