aboutsummaryrefslogtreecommitdiff
path: root/networking
AgeCommit message (Collapse)Author
2006-07-16Cleaup read() and write() variants, plus a couple of new functions likeRob Landley
xlseek and fdlength() for the new mkswap.
2006-07-16Convert setuid/setgid users to xsetuid/xsetgid.Rob Landley
2006-07-12A couple things that got tangled up in my tree, easier to check in both thanRob Landley
untangle them: Rewrite u_signal_names() into get_signum() and get_signame(), plus trim the signal list to that required by posix (they can specify the numbers for the rest if they really need them). (This is preparatory cleanup for adding a timeout applet like Roberto Foglietta wants.) Export the itoa (added due to Denis Vlasenko, although it's not quite his preferred implementation) from xfuncs.c so it's actually used, and remove several other redundant implementations of itoa and utoa() in the tree.
2006-07-11Add one-line GPL boilerplate to these source files."Robert P. J. Day"
2006-07-10Upgrade netcat a lot. Make -e able to take the rest of the command line asRob Landley
what to exec. Add -f mode and a brief explanation of how to use it to replace minicom. Add -l -l mode so you can turn any command into a server. And group all of netcat's command line options under two CONFIG entries, so if you disable both it doesn't use getopt at all.
2006-07-05This file doesn't appear to be used anywhere."Robert P. J. Day"
2006-07-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
2006-07-01More removal of "#if 0" content."Robert P. J. Day"
2006-07-01Remove all usage of the "register" storage class specifier."Robert P. J. Day"
2006-06-30Bug http://bugs.busybox.net/view.php?id=723 - initialize tv1 the first timeRob Landley
through the loop.
2006-06-27Patch from Geoff Baker to fix bug http://bugs.busybox.net/view.php?id=905 byRob Landley
changing wget's ftp code not to chdir but to use the complete path each time.
2006-06-26Properly print the output for a sit (IPv6-in-IPv4) interface."Robert P. J. Day"
2006-06-26Aesthetic fix to use newer structure initialization format."Robert P. J. Day"
2006-06-25Various cleanups I made while going through Erik Hovland's patch submissions,Rob Landley
some of which are even from him. :)
2006-06-25A few patches from Erik Hovland, turning strncpy() into safe_strncpy() andRob Landley
removing some unnecessary code.
2006-06-22Clean up.Rob Landley
2006-06-22CONFIG_DHCP -> CONFIG_APP_DHCP.Rob Landley
2006-06-20only enable count_bit functions when actually needed to fix warning reported ↵Mike Frysinger
by Bernhard Fischer
2006-06-20Patch by Robert P. Day to remove obsolete alias code that the 2.4 and 2.6Rob Landley
Linux kernels don't do anymore.
2006-06-20Patch by Robert P. Day to make structs use c99 initializers.Rob Landley
2006-06-20Patch from Robert P. J. Day cleaning up some unnecessary preprocessorRob Landley
directives.
2006-06-19Make some 64 bit warnings go away on x86-64.Rob Landley
2006-06-18skip_whitespace() shouldn't claim its return value is const, it doesn't knowRob Landley
that and callers wind up typecasting it back.
2006-06-18Make this slightly more readable, and expose the hypocrasy of a comment thatRob Landley
says "our implementation makes it impossible to use blocksizes smaller than 22 octets" right above a check for blocksize < 8.
2006-06-16- add needed includes and include busybox.h needed for the ATTRIBUTE define.Bernhard Reutner-Fischer
2006-06-14- rename CONFIG_FEATURE_TFTP_DEBUG to CONFIG_DEBUG_TFTPBernhard Reutner-Fischer
2006-06-14- rename CONFIG_FEATURE_TFTP_DEBUG to CONFIG_DEBUG_TFTP so it's off in defconfigBernhard Reutner-Fischer
- expand the cmd_get/cmd_put macros - Jason Schoon writes: unlink only if non-stdio
2006-06-14- correct typoBernhard Reutner-Fischer
2006-06-13Don't break allbareconfig.Rob Landley
2006-06-13Patch from Denis Vlasenko:Rob Landley
* Rename a var: statbytes -> transferred * cursize == transferred, always. Nuke cursize. * Make progressmeter() a nop if !CONFIG_FEATURE_WGET_STATUSBAR (reduces #ifdef forest) * double elapsed -> int elapsed * Do not sprintf to buf first and then write(STDERR) it, just fprintf directly to stderr * Progress bar printing code made smaller * Style fixes
2006-06-13Whitespace cleanup from Denis Vlasenko.Rob Landley
2006-06-10- revert incorrect select changeBernhard Reutner-Fischer
2006-06-10- fix two segfaults (reported by Horst Kronstorfer)Bernhard Reutner-Fischer
- remove dangling file if get fails (spotted and fixed by Jason Schoon) - shrink it (Bernhard Fischer) Thanks, all! text data bss dec hex filename 2684 0 0 2684 a7c networking/tftp.o.orig 2748 0 0 2748 abc networking/tftp.o.allfixed 2666 0 0 2666 a6a networking/tftp.o.+shrink
2006-06-10- use bb_xbindBernhard Reutner-Fischer
Thanks Erik Hovland
2006-06-07- reuse strings and messages. Saves about 600BBernhard Reutner-Fischer
2006-06-07use bb_xbind/bb_xlistenMike Frysinger
2006-06-07- fix the build if we have ftpput without ftpget (speeling reeoe)Bernhard Reutner-Fischer
Thanks to Stephane Billiart
2006-06-05Header cleanup on two more networking files (move libbb.h to the top andRob Landley
remove #includes that libbb.h already does), plus a minor cleanup of libbb.h to move #includes towards the top of the file where we can see 'em.
2006-06-03- use bb_msg_{read,write}_error where appropriate.Bernhard Reutner-Fischer
text data bss dec hex filename 825015 9100 645216 1479331 1692a3 busybox.old 824919 9100 645216 1479235 169243 busybox
2006-06-03Remove #ifdeffed out code, both KEEP_UNUSED and #if 0.Rob Landley
2006-06-02Header cleanup: don't #include headers that libbb.h already includes.Rob Landley
2006-06-02#ifdef reduction.Rob Landley
2006-05-31Bugfix from Shaun Jackman: don't attempt to write 64 bytes and then fail ifRob Landley
the write wasn't 192 bytes long.
2006-05-31Use BB endianness macro.Rob Landley
2006-05-31- add CONFIG_FEATURE_WGET_LONG_OPTIONSBernhard Reutner-Fischer
2006-05-31- s/defined(__uClinux__)/BB_NOMMU/Bernhard Reutner-Fischer
This needs a second pass to: + add bb_daemon(unsigned char no_chdir, unsigned char no_close, const char*flag) + eventually globally export argc and argv, so we don't need to pass it to bb_daemon().
2006-05-29More size shrinkage.Rob Landley
2006-05-29Size reductions, mostly switching things to use libbb functions.Rob Landley
2006-05-29Remove _().Rob Landley
2006-05-28My first bout of untangling udhcp. Make lots of gratuitous #defines goRob Landley
away, substitutie BB_VER for an external VERSION, use busybox CONFIG symbols rather than checking for them then defining others, etc. Lots more cleanup to do...