Eric Andersen
a7d0b41c08
Don't use pointless GNU-isms
2002-06-15 14:33:06 +00:00
Robert Griebl
47abc49c4a
Patch from Simon Krahnke:
...
I wrote a patch for busybox for our company's (www.lisa.de)
private use. [...] To sed it adds the '!'-inversion of addresses.
2002-06-11 23:43:27 +00:00
Matt Kraai
3ad88ccf2d
* testsuite/sed/sed-recurses-properly: Mark XFAIL.
2002-06-11 13:29:08 +00:00
Matt Kraai
9ef2ea27d4
* libbb/copy_file.c (copy_file): Check st_dev instead of st_rdev.
2002-06-11 13:25:26 +00:00
Eric Andersen
360060252a
vodz' last_patch42_2, which is an updated fix for buffer overflows
...
noted by Gerardo Puga
2002-06-08 12:44:17 +00:00
Robert Griebl
0c789a4255
If config file can not be parsed, use compiled in BB_SUID_... values as a
...
fallback method
2002-06-06 17:30:16 +00:00
Eric Andersen
fe1ef2bc62
Fix buffer overflows noted by Gerardo Puga
...
-Erik
2002-06-06 14:36:07 +00:00
Eric Andersen
6fb4e4877a
Fix buffer overflows noted by Gerardo Puga
...
-Erik
2002-06-06 14:24:57 +00:00
Eric Andersen
0d2d1eb599
Fix a buffer overflow found by Gerardo Puga <gpuga@gioia.ing.unlp.edu.ar>
...
-Erik
2002-06-06 13:33:01 +00:00
Eric Andersen
8610f91ebf
Lets give this a try...
2002-06-06 13:00:47 +00:00
Eric Andersen
27d3766e0d
Email addr fix
2002-06-06 12:59:13 +00:00
Eric Andersen
ad79c0b629
Patch from Gyepi SAM <gyepi@praxis-sw.com>:
...
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
2002-06-06 12:24:51 +00:00
Eric Andersen
77d22c4abd
Patch from Gyepi SAM <gyepi@praxis-sw.com>:
...
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
2002-06-06 12:11:55 +00:00
Eric Andersen
1a92376f00
Patch from vodz to only setenv PATH when PATH changes, which is much
...
smarter than my quick fix.
2002-06-06 12:07:28 +00:00
Eric Andersen
e90e741b1e
Per discussion with vodz, Tim's changes do not seem to make sense.
...
Revert them.
-Erik
2002-06-06 11:47:00 +00:00
Eric Andersen
fc059090b6
last_patch41 from vodz to fix stty -F and similar
2002-06-06 11:35:29 +00:00
Eric Andersen
ff7661d9de
plug fd leak noticed by Russ Dill
...
-Erik
2002-06-05 07:11:32 +00:00
Robert Griebl
1fca558799
Bigger patch for (partial) tinylogin integration
...
- 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]
2002-06-04 20:45:46 +00:00
Robert Griebl
ea1a63a201
Fix for broken handling off BusyBox's own pwd/grp implementations
...
[Parts of this patch may overlap with my other two patches]
2002-06-04 20:10:23 +00:00
Robert Griebl
c9aca4561d
Implement two types of suid/sgid support for BusyBox:
...
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]
2002-06-04 20:06:25 +00:00
Robert Griebl
bc28f7a1e1
Cleaned up Erik's fgets -> read patch and fixed a buffer overflow
2002-06-04 19:33:58 +00:00
Eric Andersen
c06391be0d
Avoid stack munching stdio implementations.
...
-Erik
2002-06-04 13:28:43 +00:00
Robert Griebl
3b79370a7d
Fixed a realloc bug found by Martin Volf
2002-06-02 09:36:12 +00:00
Manuel Novoa III
b99cb64b80
Include busybox.h before testing CONFIG_LOCALE_SUPPORT.
2002-05-29 19:08:41 +00:00
Glenn L McGrath
a94a06a38e
Patch from Randolfe Averty to fixup package conflict checks, cleanup some memory leaks and reorganise dependency checking.
...
Some further memory leaks fixed by me.
2002-05-29 13:45:34 +00:00
Robert Griebl
1d4ef2a9e9
Added support for /etc/modules.conf parsing
...
for now only the 'alias' entries are evaluated
2002-05-28 21:32:10 +00:00
Robert Griebl
53146cc9ec
Added include for isdigit(); simplified -<num> detection
2002-05-27 22:24:53 +00:00
Eric Andersen
8302c43265
Ensure that insmod supports at least one MODULE_INTERFACE
...
-Erik
2002-05-24 06:59:22 +00:00
Eric Andersen
cffd5022c5
Patch from Magnus Damm <damm@opensource.se> to rework things
...
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).
2002-05-24 06:50:15 +00:00
Robert Griebl
d11edf9809
Made exit code SysV compliant. Also added -s (single pid) flag.
2002-05-22 23:38:12 +00:00
Robert Griebl
236abbfd71
Some cleanups, some size reductions and some buffer overflow checks
...
Most of it based on ideas from vodz
2002-05-22 23:34:35 +00:00
Robert Griebl
94a6a956f0
Support old-style compress (.Z) files via libbb / unzip( ) calls
...
(configurable) - When enabled an applet "uncompress" is also made
available (oddname to gunzip)
[the cvs add for this file got lost somehow...]
2002-05-19 19:00:14 +00:00
Tim Riker
c6def44cfc
ping return 1 if can't ping
2002-05-18 09:16:04 +00:00
Robert Griebl
13c26fc1a5
SUpport old style -[::digit::] options for head and tail
...
Also make head behave like GNU head (-0/-n 0 is valid)
2002-05-17 22:18:04 +00:00
Robert Griebl
c30c5e89cf
Reduced code size for new -e flag (suggested by vodz)
2002-05-16 19:14:15 +00:00
Eric Andersen
d8636cad4d
Doh! Remember to close /etc/inittab
2002-05-15 22:19:09 +00:00
Robert Griebl
f6495eb767
Support old-style compress (.Z) files via libbb / unzip( ) calls
...
(configurable) - When enabled an applet "uncompress" is also made
available (oddname to gunzip)
2002-05-15 22:13:47 +00:00
Robert Griebl
7ac868460a
gunzip'ing many files to stdout works now
...
Fixed a missing initialisation and made a for loop more readable.
2002-05-15 21:57:42 +00:00
Robert Griebl
081df62b92
Don't delete source file when decompressing to stdout
...
This is the normal GNU gunzip behaviour
2002-05-15 21:45:52 +00:00
Robert Griebl
52e8d060a9
Complete rewrite to support stack loading/unloading with proper
...
handling of duplicates in the dependencies list.
2002-05-14 23:42:08 +00:00
Robert Griebl
d77601178d
Added support for -Y|--proxy=on/off to wget
2002-05-14 23:36:45 +00:00
Robert Griebl
64f70cc755
Add --login support. This is the bash way of starting a shell that should
...
parse the profile files.
2002-05-14 23:22:06 +00:00
Robert Griebl
8187bb4394
This patch adds -e (extended information) to route and -r/-e (show routing
...
tables/extended information) to netstat.
This makes them behave (more) like their GNU counterparts.
2002-05-14 23:10:58 +00:00
Robert Griebl
820098fd61
This patch adds -e (extended information) to route and -r/-e (show routing
...
tables/extended information) to netstat.
This makes them behave (more) like their GNU counterparts.
2002-05-14 23:03:23 +00:00
Robert Griebl
aa385d4015
Entries with "noauto" options are ignored correctly when mounting all
...
("mount -a"), but mount fails when these entries are specified explicitly
In these cases the "noauto" option has to be simply ignored.
2002-05-14 22:56:29 +00:00
Eric Andersen
f63a20ad7b
Tom Oehser noticed that we were lacking the SO_REUSEADDR flag.
2002-05-05 03:40:14 +00:00
Eric Andersen
864b79791a
Patch from Robert Griebl <griebl@gmx.de> to support modprobe -r properly,
...
merged in with the latest and greatest.
2002-05-03 15:48:26 +00:00
Eric Andersen
26920c6c94
Make verbose and show_only work as expected
...
-Erik
2002-05-03 15:22:42 +00:00
Eric Andersen
c088c582bf
Patch from Robert Griebl <griebl@gmx.de> to ignore the -s flag
2002-05-03 10:34:35 +00:00
Tim Riker
95bf6da637
fix and shrink uuencode
2002-05-01 05:57:16 +00:00