aboutsummaryrefslogtreecommitdiff
path: root/toys/other
AgeCommit message (Collapse)Author
2013-09-02pwdx by Lukasz Skalski.Rob Landley
2013-09-01Improve --longopt parsing: general bugfixes, better error reporting, new ; ↵Rob Landley
option for optional arguments only suppliable with =.
2013-08-29PID and UID namespaces for unshare, pointed out by heehooman@gmail.com.Rob Landley
2013-08-27Rewrite pmap to be simpler and match other implementation's output more closely.Rob Landley
2013-08-09New toy: fallocateFelix Janda
2013-07-18Replace users of xexec(toys.optargs) with xexec_optargs(0) to avoid ↵Rob Landley
free/reuse bug during argument parsing.
2013-07-17Add timeout, factoring out common code from sleep.Rob Landley
2013-07-11Eject cleanups.Rob Landley
2013-07-11Eject, by Kyungwan Han.Rob Landley
2013-07-10add paramtype in to the list of tagsIsaac Dunham
2013-07-06This inlines CRC64, and nothing more.Isaac Dunham
The functions involved were called only once.
2013-06-28modinfo: support -b basedir and -k kernel.release, fix two bugsIsaac 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-23Modinfo 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-23Patch that assumes that the presence of the string ".ko" indicatesIsaac Dunham
use of a path to a module (*.ko.xz and similar included, but not supported).
2013-06-18Add pivot_root.Rob Landley
2013-06-16Upgrade modinfo to support multiple modules, and add tests, from Isaac Dunham.Rob Landley
2013-06-02Move stat from pending to other, default y.Rob Landley
2013-05-14Tighten up lsusb, default to "y".Rob Landley
2013-05-14Attached 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-27Add firmware field to modinfo output.idunham
2013-04-24Isaac 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-14Move guts of help command into show_help() in lib/help.c, with config ↵Rob Landley
TOYBOX_HELP controlling infrastructure.
2013-03-16Move mdev into the pending directory, since it's not done yet.Rob Landley
2013-02-24Add readahead.Rob Landley
2013-02-22Move some unfinished commands to the "pending" directory.Rob Landley
2013-02-03Some 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-17Switch readlink on by default, and fill out readlink.test.Rob Landley
2013-01-14Silence 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_?)
2013-01-05Use basename() where appropriate.Rob Landley
2013-01-02Have error_msg() and friends set TT.exitval to 1 if it's still 0, clean out ↵Rob Landley
other places that were setting it that no longer need to.
2012-12-30Add losetup. (Who knows, it might even work.)Rob Landley
2012-12-22Fix tac to handle the "abc\ndef" case properlyElie De Brauwer
2012-12-22Refactoring broke revElie De Brauwer
2012-12-19Minor cleanups.Rob Landley
2012-12-16Adding implementation of rev including testsElie De Brauwer
2012-12-15Simplify tac, the newline checking is already done in the get_line() functionElie De Brauwer
2012-12-08Add README file to each toys/ directory, teach build infrastructure to get ↵Rob Landley
fancy name from that. This means adding new directories shouldn't require touching build scripts.
2012-12-03Use sched_{set,get}affinity directly so musl doesn't have to provide wrappers.Rob Landley
2012-12-01The open group changed their website stupidly, so opengroup.org/onlinepubs ↵Rob Landley
forwards to a dead server and you have to use pubs.opengroup.org/onlinepubs now. Change the hello template to note the new location. (Waiting to see if they fix it upstream before touching every command in toys/posix.)
2012-11-27login: Avoid gcc to drop exit condition because of "always false condition".Jonathan Clairembault
2012-11-22Remove readlink -m for being poorly defined ("readlink -m ↵Rob Landley
/dev/null/and/more" answers what question, exactly?), rewrite xabspath() to work right and not depend on realpath, fix subtle longstanding bug in llist_traverse().
2012-11-20Update readlink so -f works. Add -menq while there.Rob Landley
2012-11-13Reindent to two spaces per level. Remove vi: directives that haven't worked ↵Rob Landley
right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style. The actual code should be the same afterward, this is just cosmetic refactoring.
2012-11-01Add vconfig.c - Creates virtual ethernet devices.Kyungwan Han
2012-10-23Add md5sum in lsb, combine sha1sum (mostly shared infrastructure). Downside: ↵Rob Landley
current infrastructure can't give them different help text. Hmmm...
2012-10-08Simplify sha1sum a little.Rob Landley
2012-10-08New build infrastructure to generate FLAG_ macros and TT alias, #define ↵Rob Landley
FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate.
2012-10-06Fix catv to display byte 255 correctly. (It's both M- and ^?.)Rob Landley
2012-09-17Clean up sha1sum, make it use global union properly.Rob Landley
2012-09-08Add switch_root and fix infrastructure to understand name "switch_root".Rob Landley