aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fixed a realloc bug found by Martin Volfsandman2002-06-021-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4848 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Include busybox.h before testing CONFIG_LOCALE_SUPPORT.mjn32002-05-291-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4821 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Randolfe Averty to fixup package conflict checks, cleanup some ↵bug12002-05-292-75/+127
| | | | | | | | | memory leaks and reorganise dependency checking. Some further memory leaks fixed by me. git-svn-id: svn://busybox.net/trunk/busybox@4817 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added support for /etc/modules.conf parsingsandman2002-05-281-18/+105
| | | | | | | for now only the 'alias' entries are evaluated git-svn-id: svn://busybox.net/trunk/busybox@4811 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added include for isdigit(); simplified -<num> detectionsandman2002-05-272-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4810 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ensure that insmod supports at least one MODULE_INTERFACEandersen2002-05-241-0/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4804 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Magnus Damm <damm@opensource.se> to rework thingsandersen2002-05-241-381/+488
| | | | | | | | | greatly, and keep the arch specific relocations together, fixes R_PPC_ADDR32 handling so powerpc can work, and changes the tlb tables to be linked lists (again so powerpc can work). git-svn-id: svn://busybox.net/trunk/busybox@4803 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Made exit code SysV compliant. Also added -s (single pid) flag.sandman2002-05-221-12/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4790 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some cleanups, some size reductions and some buffer overflow checkssandman2002-05-221-61/+43
| | | | | | | Most of it based on ideas from vodz git-svn-id: svn://busybox.net/trunk/busybox@4789 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Support old-style compress (.Z) files via libbb / unzip( ) callssandman2002-05-193-0/+939
| | | | | | | | | (configurable) - When enabled an applet "uncompress" is also made available (oddname to gunzip) [the cvs add for this file got lost somehow...] git-svn-id: svn://busybox.net/trunk/busybox@4784 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ping return 1 if can't pingtimr2002-05-181-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4783 69ca8d6d-28ef-0310-b511-8ec308f3f277
* SUpport old style -[::digit::] options for head and tailsandman2002-05-172-1/+11
| | | | | | | Also make head behave like GNU head (-0/-n 0 is valid) git-svn-id: svn://busybox.net/trunk/busybox@4782 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reduced code size for new -e flag (suggested by vodz)sandman2002-05-161-17/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4781 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Doh! Remember to close /etc/inittabandersen2002-05-151-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4779 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Support old-style compress (.Z) files via libbb / unzip( ) callssandman2002-05-156-4/+58
| | | | | | | | (configurable) - When enabled an applet "uncompress" is also made available (oddname to gunzip) git-svn-id: svn://busybox.net/trunk/busybox@4778 69ca8d6d-28ef-0310-b511-8ec308f3f277
* gunzip'ing many files to stdout works nowsandman2002-05-151-6/+9
| | | | | | | Fixed a missing initialisation and made a for loop more readable. git-svn-id: svn://busybox.net/trunk/busybox@4777 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't delete source file when decompressing to stdoutsandman2002-05-151-1/+2
| | | | | | | This is the normal GNU gunzip behaviour git-svn-id: svn://busybox.net/trunk/busybox@4776 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Complete rewrite to support stack loading/unloading with propersandman2002-05-141-94/+145
| | | | | | | handling of duplicates in the dependencies list. git-svn-id: svn://busybox.net/trunk/busybox@4775 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added support for -Y|--proxy=on/off to wgetsandman2002-05-142-8/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4774 69ca8d6d-28ef-0310-b511-8ec308f3f277