Eric Andersen
bdff6a4c59
Typo fix from Steven Merrifield
2002-09-17 05:43:26 +00:00
Eric Andersen
d4ee98940b
last_patch55 from vodz:
...
I found overflow problem in xargs applet
(allocated not space for trailing '\0').
Last patch also reduce 22 bytes size. ;)
2002-09-16 10:44:24 +00:00
Eric Andersen
02b8dfc524
Let people force overwrite links
...
-Erik
2002-09-16 10:23:38 +00:00
Eric Andersen
403a73a351
Properly honor FILEUTILS_INTERACTIVE and FILEUTILS_FORCE for
...
file all file types (not just regular files and dirs). Unlink
destination files when needed.
-Erik
2002-09-16 09:23:22 +00:00
Eric Andersen
8fede28c74
Patch from Matthias Lang <matthias@corelatus.se> to fix gunzip
...
error handling and prevent gunzip from hanging.
2002-09-16 07:25:41 +00:00
Eric Andersen
a9cc8961ed
Let people run SHUTDOWN actions prior to killing everything
...
-Erik
2002-09-16 06:49:06 +00:00
Eric Andersen
e18cb71e0c
Fix stupid typo noticed by John Mullin <john.mullin@homenetcomm.com>
2002-09-16 06:32:16 +00:00
Eric Andersen
c38678d14b
Apply vodz' last_patch52
2002-09-16 06:22:25 +00:00
Eric Andersen
166fa4684f
Support module tainting
...
-Erik
2002-09-16 05:30:24 +00:00
Eric Andersen
186685d46f
Patch from Thomas Gleixner <tglx@linutronix.de> to do
...
automatic child reaping to avoid zombies
2002-09-12 15:44:53 +00:00
Eric Andersen
7829b8d067
Fix for handling of "tftp -l -" from Jean Wolter <jw5@os.inf.tu-dresden.de>
2002-09-10 06:03:31 +00:00
Eric Andersen
2a1eb31f18
Yipe. uid and gid were reversed.
...
-Erik
2002-09-10 05:23:29 +00:00
Eric Andersen
2bec97c076
Some CML1 grammar fixes
...
-Erik
2002-09-01 06:45:55 +00:00
Eric Andersen
1130976f8e
Eliminate use of obsolete sys_errlist[]
...
-Erik
2002-08-26 21:36:32 +00:00
Eric Andersen
938e982c4d
Try to be a bit more dietlibc friendly
2002-08-13 09:57:44 +00:00
Eric Andersen
74b007f7cc
Oops. Code things so it actually works this time around...
...
-Erik
2002-08-05 11:56:25 +00:00
Eric Andersen
c59716ff4c
Joel Coltoff <joel@wmi.com> noticed that following a recent
...
change in uClibc that changed opening the /dev/log socket as
SOCK_STREAM to SOCK_DGRAM, busybox syslogd no longer worked
since it needed a matching change. This fixes it so it
works once again.
2002-08-05 11:14:30 +00:00
Eric Andersen
e85dbfdd80
Joseph Chiu <josephc@idealab.com> found an off-by-one bug. oops!
2002-08-01 01:31:17 +00:00
Eric Andersen
7373e485d3
A couple of small bugfixes from Marshall M. Midden <m4@brecis.com>
2002-07-31 04:04:47 +00:00
Eric Andersen
87715170cc
Be more portable with 'find' for those that prefer programming
...
on *BSD, etc. Formatting fixes, etc.
2002-07-31 03:45:05 +00:00
Eric Andersen
e707806894
Kill a silly warning
2002-07-29 08:00:16 +00:00
Eric Andersen
3bc2b206b0
Patch from Tim Riker to allow tty* in inittab if the tty
...
actually exists -- serial console is not the issue...
2002-07-29 06:39:58 +00:00
Eric Andersen
80cd3cfdbc
Fix indentation. Support killall -q, for pcmcia-cs
...
-Erik
2002-07-23 23:45:11 +00:00
Eric Andersen
0fe3e62e2c
Doh!
2002-07-14 15:39:05 +00:00
Eric Andersen
d2fd0d5869
Better clarify the CVS tree situation
...
-Erik
2002-07-13 06:24:58 +00:00
Eric Andersen
acc257e994
Try to be more clear about the current two-CVS-trees
...
situation.
-Erik
2002-07-13 06:08:39 +00:00
Eric Andersen
2276d83639
Fixup warnings and undefined operations that show up in gcc-3.1
...
-Erik
2002-07-11 11:11:56 +00:00
Eric Andersen
cafc103230
Brad Campbell <brad@seme.com.au> notes that
...
xconnect.c needs #include <netinet/in.h>
to compile if CONFIG_FEATURE_IPV6 is not defined
2002-07-11 10:40:43 +00:00
Eric Andersen
1785ddcae2
Some minor bits of scrubbing
2002-07-08 01:40:02 +00:00
Eric Andersen
8e139871fe
Patch from Stewart Brodie <stewart.brodie@pace.co.uk> to fix ash:
...
When alias support is not configured, ash believes that command parameters
that look like dd's "if=/dev/zero" are requests to set a temporary
environment variable whilst dd is running, even though it appears after the
command name. This is caused by the re-use of the checkalias global variable
to indicate when both alias checking and environment variable checking. The
failure to reset this flag is due to the reset action being performed only
inside the feature check CHECK_ASH_ALIAS. Hence ash works as expected when
aliases are configured in, and fails when not.
Example script using 'date' with different settings of TZ:
# TZ=Europe/London
# export TZ
# date
Thu May 30 17:18:49 BST 2002
# TZ=America/New_York date
Thu May 30 12:19:10 EDT 2002
# date
Thu May 30 17:19:12 BST 2002
# date TZ=America/New_York
Thu May 30 12:19:30 EDT 2002 <----- wrong, should be BST time (or error!)
# date
Thu May 30 17:19:35 BST 2002
Attached is a patch against revision 1.52 of ash.c which moves the checks so
that checkalias is updated regardless of whether CONFIG_ASH_ALIAS is set.
With this patch applied, the command shown above which should generate an
error does generate an error.
I have tested this patch with the 'dd' command too and that now works
correctly.
2002-07-04 00:19:46 +00:00
Eric Andersen
0826b6b0b3
This is last_patch48 from vodz. More cleanups, kills a bit
...
of dead code, fixes one blatent bug.
2002-07-03 23:50:16 +00:00
Eric Andersen
887ca79f04
Scrub pwd.h and grp.h handling so we don't have to play any
...
silly games.
-Erik
2002-07-03 23:19:26 +00:00
Eric Andersen
360e254954
tito <farmatito@tiscali.it> noticed that delgroup was actually
...
setting CONFIG_DELUSER. Oops.
2002-07-03 19:50:23 +00:00
Eric Andersen
0b31586c71
A patch from Bart Visscher <magick@linux-fan.com> to add an
...
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!
2002-07-03 11:51:44 +00:00
Eric Andersen
51b8bd68bb
This patch from Bart Visscher <magick@linux-fan.com> adds
...
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!
2002-07-03 11:46:38 +00:00
Eric Andersen
599e3ce163
Apply last_patch47 from vodz to fix several problems, such as the ash "job
...
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.
2002-07-03 11:08:10 +00:00
Eric Andersen
935daf2d0d
hide shadow using stuff when CONFIG_FEATURE_SHADOWPASSWDS
...
is not set
-Erik
2002-07-03 09:13:21 +00:00
Eric Andersen
7f90ed4460
Patch from Martin Volf <volf@dragon.cz> to fix where I had
...
screwed up the usage messages
2002-07-03 05:55:14 +00:00
Eric Andersen
796446718d
Fix from vodz so that complex init commands actually work
2002-07-03 05:44:18 +00:00
Eric Andersen
8c4025e708
Patch from Danny Lepage <danny.lepage@cognicase.com> to fix
...
dutmp for uClibc.
2002-07-03 05:32:02 +00:00
Eric Andersen
5222d31a15
Patch from till busch <buti@gmx.at> -- unblock all signals
...
in exec_signal() before calling exec()
2002-07-03 05:15:23 +00:00
Eric Andersen
549df2ebc3
Fix text alignment, thanks to Sander Klein <s.klein@quicknet.nl>
2002-07-03 04:54:52 +00:00
Eric Andersen
7234c3a0b6
Cleanup shadow.h stuff so it behaves as intended
...
-Erik
2002-07-03 04:47:43 +00:00
Eric Andersen
009ae1f17d
Little fix to avoid overflow
2002-07-03 04:24:08 +00:00
Eric Andersen
abc9568690
Silly spelling fix
...
-Erik
2002-07-03 02:52:35 +00:00
Eric Andersen
b493dec91e
David Frascone <dave@frascone.com> noticed two problems. First, modprobe was
...
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
2002-07-02 19:14:23 +00:00
Eric Andersen
5b0f9e417e
Rework optimization code. Be more compiler aware.
...
-Erik
2002-06-23 04:50:49 +00:00
Eric Andersen
27f64e1f4e
Port over the last of the tinylogin applets
...
-Erik
2002-06-23 04:24:25 +00:00
Eric Andersen
0fbff134f4
Several login cleanups from vodz
2002-06-22 17:49:29 +00:00
Eric Andersen
b0c39a8a8d
Apply vodz' last_patch44 -- cleanup several chars to be const, fix
...
rotten error handling, kill spare \n's, etc
2002-06-22 17:32:58 +00:00
Eric Andersen
3ece93ba0f
Kill dead email address
...
-Erik
2002-06-22 17:23:45 +00:00
Eric Andersen
8b1aa4d749
Apply last_patch46 from vodz, to fix buffer overflows noted by
...
Gerardo Puga, and to optimize for size a little bit. Thanks vodz
2002-06-22 17:20:50 +00:00
Eric Andersen
61f83059c1
Apply vodz' cleanup for insmod buffer overflows, which was cleaner
...
than my first effort.
2002-06-22 17:15:42 +00:00
Eric Andersen
2d34215456
As noted by Yves Lavoie ing. <yves.lavoie.ing@sympatico.ca>, don't
...
lose the last letter of the module name.
2002-06-18 05:16:25 +00:00
Eric Andersen
b0fd2b06a3
Fix a potential macro expansion problem... isspace can be
...
a macro causing a double decrement...
2002-06-15 14:37:46 +00:00
Eric Andersen
a7d0b41c08
Don't use pointless GNU-isms
2002-06-15 14:33:06 +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
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
Eric Andersen
c06391be0d
Avoid stack munching stdio implementations.
...
-Erik
2002-06-04 13:28:43 +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
Eric Andersen
d8636cad4d
Doh! Remember to close /etc/inittab
2002-05-15 22:19:09 +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
Eric Andersen
051e4c15db
Update website
2002-04-27 12:16:48 +00:00
Eric Andersen
d598d41110
Fix silly combinitorial oversight
2002-04-27 09:19:39 +00:00
Eric Andersen
1372780662
Patch from Cliff L. Biffle <cbiffle@safety.net> to display memory
...
usage in the ps listing
2002-04-27 06:06:11 +00:00
Eric Andersen
3a01f8cae2
uClibc supports struct _res these days...
2002-04-27 04:06:55 +00:00
Eric Andersen
ef38b39262
Support noerror option
2002-04-27 01:31:43 +00:00
Eric Andersen
aba75460e4
When the .config file is missing, supply a default one
...
and run menuconfig
2002-04-27 00:06:47 +00:00
Eric Andersen
1323c940fd
Add netcat -i option, per patch from Cristian Ionescu-Idbohrn
...
<cristian.ionescu-idbohrn@axis.com >
2002-04-26 23:59:12 +00:00
Eric Andersen
00a6a75035
Add the who applet, supplied by Da Chen <dchen@ayrnetworks.com>
2002-04-26 23:53:10 +00:00
Eric Andersen
1c31501b1b
Ensure that getenv("PATH") stays current, since otherwise cmdedit
...
(which calls getenv("PATH")) would not operate upon the current
PATH settings, which was really quite iritating.
-Erik
2002-04-26 23:40:09 +00:00
Eric Andersen
416340642d
Fix bugs
2002-04-26 08:44:17 +00:00
Eric Andersen
8db361b3e5
Minor formatting
2002-04-26 08:00:33 +00:00
Eric Andersen
0e28e1fa05
Forward port patch from Przemyslaw Czerpak <druzus@polbox.com>:
...
1. busybox-telnet dosn't inform server about the size of terminal screen.
In the world of xterminals and frame buffers it's rather horrible
to use fixed 80x24 region in upper-left corner of screen/window.
2. If client sends character 0x0d to the server then sends character 0x0a
the server eat the second byte (0x0a) - it's described in telnet RFC.
Client should send two bytes ( 0x0d + 0x0a or 0x0d + 0x00 ) insted of
one 0x0d byte.
3. busybox telnet implementation wasn't 8bit clean (look at 0xff byte).
I need it because I have to use binray transfer like rz/sz. So when
I resloved the problem (2) I corrected this one two.
This also contains a small cleanup patch from vodz, and some minor editing
by me.
2002-04-26 07:20:47 +00:00
Eric Andersen
60e56f5292
Reworked by Robert Griebl <griebl@gmx.de> to support proper
...
module dependancies.
2002-04-26 06:04:01 +00:00
Eric Andersen
54c14d7850
vodz noted this line (as imported from Debian) is wrong, and has since
...
been fixed upstream.
2002-04-24 23:14:06 +00:00
Eric Andersen
ae1036185e
Apply last_patch37 from vodz
2002-04-24 23:08:23 +00:00
Eric Andersen
5f6873621d
ls could mis-color certain entries when previous commands
...
had failed. Explicitly 0 out errno to prevent that.
2002-04-17 20:21:45 +00:00
Eric Andersen
744ec1d549
Patch from Ben Low <ben@titr.uow.edu.au> to allow tftp to work
...
with stdin as well as stdout.
2002-04-15 07:40:27 +00:00
Eric Andersen
9fe5f98de4
Patch from Jim Treadway -- fix a missing "\" in usage.h
2002-04-13 14:48:51 +00:00
Eric Andersen
c8459a5a8f
Silly me
2002-04-13 14:44:42 +00:00
Eric Andersen
19732c6226
Teach makedevs to not segfault quite so much
2002-04-13 14:26:44 +00:00
Eric Andersen
4e116823f4
Patch from Larry Doolittle to teach syslogd to not give up when errno is EINTR
2002-04-13 14:07:32 +00:00
Eric Andersen
fb24eb4f47
Cleanup make clean
2002-04-13 13:52:13 +00:00
Eric Andersen
defd998c42
Patch from Kevin Hilman <khilman@equator.com> to fix potential
...
memory corruption from long pathnames in /etc/fstab.
2002-04-13 13:47:39 +00:00
Eric Andersen
1f30a41abe
Add a 'make uninstall' target
2002-04-13 13:39:48 +00:00