aboutsummaryrefslogtreecommitdiff
path: root/toys
AgeCommit message (Collapse)Author
2013-12-26arping command is implemented.Ashwini Sharma
2013-12-23The recent switch from get_int_value to to atolx_range left routeIsaac Dunham
broken. So here's a patch to switch it to atolx_range as well.
2013-12-23Two more commands (last and more) submitted by Ashwini Sharma.Rob Landley
2013-12-23telnet and telnetd from Ashwini Sharma's guys.Rob Landley
2013-12-23Updating the email id in Copyright.Ashwini Sharma
2013-12-23Attached is an implementation for groupdel.Ashwini Sharma
This is aliased to delgroup, for a requirement at my end. Also lib/password.c is modified to along with.
2013-12-23Pending commands default n.Rob Landley
2013-12-23IPv6 support is added into traceroute command.Ashwini Sharma
traceroute6 is made as an old toy of traceroute.
2013-12-23Fix 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-22Ashwini 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-22Add -s option, allow zero optargs for -l. (Suggested by Ashwini Sharma.)Rob Landley
2013-12-22Promote su from pending to lsb.Rob Landley
2013-12-22Cleanup su.Rob Landley
2013-12-19killall: fix return code, improve error reporting, avoid buffer overflow.Rob Landley
2013-12-19Don't permute toys.optargs, cleanup code (xexec()) can free it.Rob Landley
2013-12-19toynet.h went away, missed a file...Rob Landley
2013-12-18ln -v support from Ashwini Sharma (comment tweak from me)Rob Landley
2013-12-18Ashwini Sharma added -v, I tweaked it a bit and added a couple test suite ↵Rob Landley
entries.
2013-12-16Fix pidof -o bug aborting output, reported by Ashwini Sharma.Rob Landley
2013-12-08Forgot to set new pending entry to default n.Rob Landley
2013-12-08Can't test <0 on an unsigned, reported by Nathan McSween.Rob Landley
2013-12-07Ashwini Sharma submitted tcpsvd/udpsvd.Rob Landley
2013-12-04When 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-12-03Redo od whitespace with multiple output types so the columns align.Rob Landley
Factor out single output type into od_out_t(), call it in a loop for each type finding largest output (and if output consumes more than one byte of input average rounding up), pad each output to the largest output times number of bytes input consumed.
2013-12-01Minor drive-by cleanups to cpio. Whitespace, curly brackets, replace %4 with ↵Rob Landley
&3, turn a switch/case into if/else.
2013-11-30Fix cut.Rob Landley
Some commands went in before "pending", and thus need cleanup but are enabled in defconfig. The fact cut used a function out of lib/pending.c is a hint it might be in this category...
2013-11-30Cleanup help text, remove dead fields unused by linux kernel.Rob Landley
2013-11-28Promote ifconfig from pending to other.Rob Landley
2013-11-28Add xgetpwnam() to lib/xwrap.c.Rob Landley
2013-11-28Move xgetpwuid() and xgetgrgid() into xwrap.cRob Landley
2013-11-26Ifconfig cleanup.Rob Landley
2013-11-23The return of ifconfig cleanup.Rob Landley
2013-11-20tftpd upgrade from Ashwini Sharma based on comments from Felix Janda.Rob Landley
2013-11-18Add test suite for blkid and clean up an editorial comment that shouldn't ↵0.4.7Rob Landley
have been checked in.
2013-11-16Support -F, and ignore -u since that's what we do anyway.Isaac Dunham
(Really, checking the original file date is the Right Thing, but I haven't written it yet.)
2013-11-10fsck wrapper from Ashwini Sharma. (Note: this just calls filesystem-specific ↵Rob Landley
programs not yet in toybox.)
2013-11-10dumpleases (for dhcpd) submitted by Ashwini Sharma.Rob Landley
2013-11-10du from Ashwini Sharma.Rob Landley
2013-11-10Stuff in pending should default n until cleaned up.Rob Landley
2013-11-10Add tftpdAshwini Sharma
2013-11-09grep doesn't allocate enough spaceWilliam Haddon
Grep miscalculates the amount of memory it needs to allocate when "converting strings to one big regex" when the -e flag is not specified. Since in this case "\|" is inserted between strings rather than "|", two extra bytes rather than one need to be provided for each string. I noticed this because it caused grep to seg-fault on musl when a regex of exactly seven characters is provided.
2013-11-02Sceond cleanup pass on vconfigRob Landley
2013-11-02Merge toynet.h into toys.h: musl supports it and micromanaging uClibc config ↵Rob Landley
options isn't very interesting anymore.
2013-11-02Cleanup vconfig.Rob Landley
2013-10-31Patch from William Haddon to make xargs with blank input call its command ↵Rob Landley
line once. (Tweaked slightly for whitespace and to collate variable declarations.)
2013-10-31Make the patch -x option (only enabled with CONFIG_DEBUG) provide more ↵Rob Landley
information about why a patch didn't apply. (Offset of first nonmatching character at each line during seek phase.)
2013-10-27Promote nl from pending to posix, and add tests.Rob Landley
2013-10-27Cleanup nl, add support for more bits of posix.Rob Landley
2013-10-27Here's a revised cpio.Isaac Dunham
I've reduced the use of malloc(), dropped an extra function call, and -at least in theory- allowed proper handling of non-regular files. (If we have a file we can't read, we still should record it when it's of a type where file content is ignored).
2013-10-13watch: Add support for -e option, remove memory leak and deal with not-wide ↵Elie De Brauwer
terminals