aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* tito <farmatito@tiscali.it> noticed that delgroup was actuallyandersen2002-07-031-1/+1
| | | | | | | setting CONFIG_DELUSER. Oops. git-svn-id: svn://busybox.net/trunk/busybox@5009 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Bart Visscher <magick@linux-fan.com> to add anandersen2002-07-034-117/+93
| | | | | | | | | | | | xconnect helper routine which does: -address and port resolving -tries to connect to all resolved addresses until connected -uses getaddrinfo, so works for IPv6 too This patch also ports rdate, telnet, and wget to use the new xconnect function. Thanks Bart! git-svn-id: svn://busybox.net/trunk/busybox@5004 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch from Bart Visscher <magick@linux-fan.com> addsandersen2002-07-0315-16/+1225
| | | | | | | | | | | | | | | | | | IPV6 support to busybox. This patch does the following: * Add IPv6 support to libbb * Enable IPv6 interface address display * Add IPv6 config option * Adds ping6, an adaptation of the ping applet for IPv6 * Adds support routines for ping6: - xgethostbyname2 - create_icmp6_socket * Adds ifconfig support for IPv6 * Add support IPv6 to netstat * Add IPv6 support to route Thanks Bart! git-svn-id: svn://busybox.net/trunk/busybox@5003 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply last_patch47 from vodz to fix several problems, such as the ash "jobandersen2002-07-031-24/+31
| | | | | | | | | | control turned off" bug, console_setup() was called with a closed file descriptor, setsid() inconsistancy, and silly string handling bugs. I have modified his patch to allow the askfirst init actions to have a controlling terminal. git-svn-id: svn://busybox.net/trunk/busybox@5002 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hide shadow using stuff when CONFIG_FEATURE_SHADOWPASSWDSandersen2002-07-031-1/+4
| | | | | | | | is not set -Erik git-svn-id: svn://busybox.net/trunk/busybox@4998 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Martin Volf <volf@dragon.cz> to fix where I hadandersen2002-07-031-2/+2
| | | | | | | screwed up the usage messages git-svn-id: svn://busybox.net/trunk/busybox@4996 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix from vodz so that complex init commands actually workandersen2002-07-031-3/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4995 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Danny Lepage <danny.lepage@cognicase.com> to fixandersen2002-07-031-1/+1
| | | | | | | dutmp for uClibc. git-svn-id: svn://busybox.net/trunk/busybox@4993 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from till busch <buti@gmx.at> -- unblock all signalsandersen2002-07-031-0/+16
| | | | | | | in exec_signal() before calling exec() git-svn-id: svn://busybox.net/trunk/busybox@4992 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix text alignment, thanks to Sander Klein <s.klein@quicknet.nl>andersen2002-07-031-6/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4991 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup shadow.h stuff so it behaves as intendedandersen2002-07-035-88/+6
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4990 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Little fix to avoid overflowandersen2002-07-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4989 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Silly spelling fixandersen2002-07-031-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4986 69ca8d6d-28ef-0310-b511-8ec308f3f277
* David Frascone <dave@frascone.com> noticed two problems. First, modprobe wasandersen2002-07-022-28/+39
| | | | | | | | | | | trying to call 'insmod -q', which wasn't supported. Secondly, when modprobe was fed blank lines from modules.dep, we ended up calling xstrndup(ptr, -1), which with suitably bad results. David provided a patch to catch the blank lines, and I have added insmod -q support. So modprobe should work again. -Erik git-svn-id: svn://busybox.net/trunk/busybox@4984 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove advertising clauses in accordance withaaronl2002-06-235-25/+5
| | | | | | | ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change git-svn-id: svn://busybox.net/trunk/busybox@4971 69ca8d6d-28ef-0310-b511-8ec308f3f277
* inline many functions that are only called once. saves about 300 bytesaaronl2002-06-231-10/+10
| | | | | | | on i386. also staticify most functions. git-svn-id: svn://busybox.net/trunk/busybox@4970 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Needs shadow.h; otherwise wont compile without CONFIG_USE_BB_SHADOWaaronl2002-06-231-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4969 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove cleanUpAndFail, and replace it with exit(). because that's whataaronl2002-06-231-22/+3
| | | | | | | it does unless srcMode was set, and srcMode is never set. git-svn-id: svn://busybox.net/trunk/busybox@4968 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rework optimization code. Be more compiler aware.andersen2002-06-231-6/+36
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4963 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Port over the last of the tinylogin appletsandersen2002-06-2326-258/+1722
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4961 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Several login cleanups from vodzandersen2002-06-221-25/+32
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4957 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply vodz' last_patch44 -- cleanup several chars to be const, fixandersen2002-06-221-19/+15
| | | | | | | rotten error handling, kill spare \n's, etc git-svn-id: svn://busybox.net/trunk/busybox@4956 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Kill dead email addressandersen2002-06-221-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4954 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply last_patch46 from vodz, to fix buffer overflows noted byandersen2002-06-221-25/+23
| | | | | | | Gerardo Puga, and to optimize for size a little bit. Thanks vodz git-svn-id: svn://busybox.net/trunk/busybox@4953 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply vodz' cleanup for insmod buffer overflows, which was cleanerandersen2002-06-221-25/+35
| | | | | | | than my first effort. git-svn-id: svn://busybox.net/trunk/busybox@4952 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major revamp. I've been trying to clean up the code. the bzerror stuffaaronl2002-06-221-562/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | still needs major attention (i.e. removal). Removed references to uninitialized variables like progName, smallMode, noisy, etc. Remove functions and code for handling "small" decompression mode, since it is all unreachable. Remove total_{in,out}* counters - they are never used. Remove panic() function and assert_h and their uses because they are all for "should never happen" circumstances. Replace internal malloc/free wrappers with xmalloc and free. Remove conditional in if(foo)free(foo); situations. Remove bogus if (sizeof(int) != 4) { return BZ_CONFIG_ERROR; } (...etc...) code and code for handling BZ_CONFIG_ERROR. Someone should go through and change the applet to use well-defined types when appropriate - it expects sizeof(short)==2 && sizeof(int)==4. Until this commit these were explicitly checked for, and the applet would exit if these types were not the right size. (I think this is wrong even as an interim solution.) With gcc 3.1 reduces size of binary on i386-linux by about 700 bytes. Lightly tested. git-svn-id: svn://busybox.net/trunk/busybox@4951 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As noted by Yves Lavoie ing. <yves.lavoie.ing@sympatico.ca>, don'tandersen2002-06-181-7/+10
| | | | | | | lose the last letter of the module name. git-svn-id: svn://busybox.net/trunk/busybox@4913 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a potential macro expansion problem... isspace can beandersen2002-06-151-1/+1
| | | | | | | a macro causing a double decrement... git-svn-id: svn://busybox.net/trunk/busybox@4895 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't use pointless GNU-ismsandersen2002-06-151-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4893 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Simon Krahnke:sandman2002-06-111-11/+28
| | | | | | | | I wrote a patch for busybox for our company's (www.lisa.de) private use. [...] To sed it adds the '!'-inversion of addresses. git-svn-id: svn://busybox.net/trunk/busybox@4885 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * testsuite/sed/sed-recurses-properly: Mark XFAIL.kraai2002-06-111-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4883 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * libbb/copy_file.c (copy_file): Check st_dev instead of st_rdev.kraai2002-06-111-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4882 69ca8d6d-28ef-0310-b511-8ec308f3f277
* vodz' last_patch42_2, which is an updated fix for buffer overflowsandersen2002-06-081-25/+19
| | | | | | | noted by Gerardo Puga git-svn-id: svn://busybox.net/trunk/busybox@4876 69ca8d6d-28ef-0310-b511-8ec308f3f277
* If config file can not be parsed, use compiled in BB_SUID_... values as asandman2002-06-061-55/+71
| | | | | | | fallback method git-svn-id: svn://busybox.net/trunk/busybox@4873 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix buffer overflows noted by Gerardo Pugaandersen2002-06-061-1/+5
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4872 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix buffer overflows noted by Gerardo Pugaandersen2002-06-061-14/+20
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4871 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a buffer overflow found by Gerardo Puga <gpuga@gioia.ing.unlp.edu.ar>andersen2002-06-061-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4869 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Lets give this a try...andersen2002-06-061-7/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4868 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Email addr fixandersen2002-06-061-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4867 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Gyepi SAM <gyepi@praxis-sw.com>:andersen2002-06-061-10/+6
| | | | | | | | | Fixed up domain removal for local domains. GNU traceroute does not do this. I don't know why we do. Fixed incorrect argument for reverse resolution. Clean up cruft that appears when CONFIG_FEATURE_TRACEROUTE_VERBOSE is defined git-svn-id: svn://busybox.net/trunk/busybox@4866 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Gyepi SAM <gyepi@praxis-sw.com>:andersen2002-06-061-2/+7
| | | | | | | | | When DEBUG is defined 1. need to include resolv.h (for _resinit()) 2. remove _() call around string. It appears to be a remnant of i18n or some such notion git-svn-id: svn://busybox.net/trunk/busybox@4864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz to only setenv PATH when PATH changes, which is muchandersen2002-06-061-3/+3
| | | | | | | smarter than my quick fix. git-svn-id: svn://busybox.net/trunk/busybox@4863 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Per discussion with vodz, Tim's changes do not seem to make sense.andersen2002-06-061-5/+5
| | | | | | | | Revert them. -Erik git-svn-id: svn://busybox.net/trunk/busybox@4862 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch41 from vodz to fix stty -F and similarandersen2002-06-061-3/+22
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4861 69ca8d6d-28ef-0310-b511-8ec308f3f277
* plug fd leak noticed by Russ Dillandersen2002-06-052-0/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4858 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bigger patch for (partial) tinylogin integrationsandman2002-06-0430-2/+4123
| | | | | | | | | | | | | | | | - Made a new dir loginutils - Moved all applets from pwd_grp to loginutils - Added new applets su.c login.c to loginutils - Made a new dir libpwdgrp - Moved everything from pwd_grp/libpwd_grp there - Added shadow.c to libpwdgrp - Removed dir pwd_grp - Added usage strings for login and su to usage.h - Changed main Makefile to reflect the dir rearrangements [Parts of this patch may overlap with my other two patches] git-svn-id: svn://busybox.net/trunk/busybox@4857 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for broken handling off BusyBox's own pwd/grp implementationssandman2002-06-0412-14/+98
| | | | | | | [Parts of this patch may overlap with my other two patches] git-svn-id: svn://busybox.net/trunk/busybox@4856 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Implement two types of suid/sgid support for BusyBox:sandman2002-06-045-180/+491
| | | | | | | | | 1) tinylogin like with compile time selection and a chown root.root 2) Runtime configurable via /etc/busybox.conf (docu is in the works) [Parts of this patch may overlap with my other two patches] git-svn-id: svn://busybox.net/trunk/busybox@4855 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleaned up Erik's fgets -> read patch and fixed a buffer overflowsandman2002-06-041-36/+38
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4854 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Avoid stack munching stdio implementations.andersen2002-06-041-75/+100
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4850 69ca8d6d-28ef-0310-b511-8ec308f3f277