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]
Robert Griebl
2002-06-04 20:06:25 +00:00
bc28f7a1e1
Cleaned up Erik's fgets -> read patch and fixed a buffer overflow
Robert Griebl
2002-06-04 19:33:58 +00:00
3b79370a7d
Fixed a realloc bug found by Martin Volf
Robert Griebl
2002-06-02 09:36:12 +00:00
b99cb64b80
Include busybox.h before testing CONFIG_LOCALE_SUPPORT.
Manuel Novoa III
2002-05-29 19:08:41 +00:00
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.
Glenn L McGrath
2002-05-29 13:45:34 +00:00
1d4ef2a9e9
Added support for /etc/modules.conf parsing for now only the 'alias' entries are evaluated
Robert Griebl
2002-05-28 21:32:10 +00:00
53146cc9ec
Added include for isdigit(); simplified -<num> detection
Robert Griebl
2002-05-27 22:24:53 +00:00
8302c43265
Ensure that insmod supports at least one MODULE_INTERFACE -Erik
Eric Andersen
2002-05-24 06:59:22 +00:00
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).
Eric Andersen
2002-05-24 06:50:15 +00:00
d11edf9809
Made exit code SysV compliant. Also added -s (single pid) flag.
Robert Griebl
2002-05-22 23:38:12 +00:00
236abbfd71
Some cleanups, some size reductions and some buffer overflow checks Most of it based on ideas from vodz
Robert Griebl
2002-05-22 23:34:35 +00:00
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...]
Robert Griebl
2002-05-19 19:00:14 +00:00
c6def44cfc
ping return 1 if can't ping
Tim Riker
2002-05-18 09:16:04 +00:00
13c26fc1a5
SUpport old style -[::digit::] options for head and tail Also make head behave like GNU head (-0/-n 0 is valid)
Robert Griebl
2002-05-17 22:18:04 +00:00
c30c5e89cf
Reduced code size for new -e flag (suggested by vodz)
Robert Griebl
2002-05-16 19:14:15 +00:00
d8636cad4d
Doh! Remember to close /etc/inittab
Eric Andersen
2002-05-15 22:19:09 +00:00
f6495eb767
Support old-style compress (.Z) files via libbb / unzip( ) calls (configurable) - When enabled an applet "uncompress" is also made available (oddname to gunzip)
Robert Griebl
2002-05-15 22:13:47 +00:00
7ac868460a
gunzip'ing many files to stdout works now Fixed a missing initialisation and made a for loop more readable.
Robert Griebl
2002-05-15 21:57:42 +00:00
081df62b92
Don't delete source file when decompressing to stdout This is the normal GNU gunzip behaviour
Robert Griebl
2002-05-15 21:45:52 +00:00
52e8d060a9
Complete rewrite to support stack loading/unloading with proper handling of duplicates in the dependencies list.
Robert Griebl
2002-05-14 23:42:08 +00:00
d77601178d
Added support for -Y|--proxy=on/off to wget
Robert Griebl
2002-05-14 23:36:45 +00:00
64f70cc755
Add --login support. This is the bash way of starting a shell that should parse the profile files.
Robert Griebl
2002-05-14 23:22:06 +00:00
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.
Robert Griebl
2002-05-14 23:10:58 +00:00
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.
Robert Griebl
2002-05-14 23:03:23 +00:00
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.
Robert Griebl
2002-05-14 22:56:29 +00:00
f63a20ad7b
Tom Oehser noticed that we were lacking the SO_REUSEADDR flag.
Eric Andersen
2002-05-05 03:40:14 +00:00
864b79791a
Patch from Robert Griebl <griebl@gmx.de> to support modprobe -r properly, merged in with the latest and greatest.
Eric Andersen
2002-05-03 15:48:26 +00:00
26920c6c94
Make verbose and show_only work as expected -Erik
Eric Andersen
2002-05-03 15:22:42 +00:00
c088c582bf
Patch from Robert Griebl <griebl@gmx.de> to ignore the -s flag
Eric Andersen
2002-05-03 10:34:35 +00:00
95bf6da637
fix and shrink uuencode
Tim Riker
2002-05-01 05:57:16 +00:00
a4a65e7f99
* archival/gunzip.c (gunzip_file): New. (gunzip_main): Handle no arguments correctly.
Matt Kraai
2002-04-29 15:32:32 +00:00
051e4c15db
Update website
Eric Andersen
2002-04-27 12:16:48 +00:00
d598d41110
Fix silly combinitorial oversight
Eric Andersen
2002-04-27 09:19:39 +00:00
1372780662
Patch from Cliff L. Biffle <cbiffle@safety.net> to display memory usage in the ps listing
Eric Andersen
2002-04-27 06:06:11 +00:00
3a01f8cae2
uClibc supports struct _res these days...
Eric Andersen
2002-04-27 04:06:55 +00:00
ef38b39262
Support noerror option
Eric Andersen
2002-04-27 01:31:43 +00:00
aba75460e4
When the .config file is missing, supply a default one and run menuconfig
Eric Andersen
2002-04-27 00:06:47 +00:00
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
Eric Andersen
2002-04-26 23:40:09 +00:00
416340642d
Fix bugs
Eric Andersen
2002-04-26 08:44:17 +00:00
8db361b3e5
Minor formatting
Eric Andersen
2002-04-26 08:00:33 +00:00
ed8e036360
add missing void, still has issues though
Tim Riker
2002-04-26 07:53:39 +00:00
86c76a9c2a
fix from kergoth
Tim Riker
2002-04-26 07:41:22 +00:00
0e28e1fa05
Forward port patch from Przemyslaw Czerpak <druzus@polbox.com>:
Eric Andersen
2002-04-26 07:20:47 +00:00
60e56f5292
Reworked by Robert Griebl <griebl@gmx.de> to support proper module dependancies.
Eric Andersen
2002-04-26 06:04:01 +00:00
54c14d7850
vodz noted this line (as imported from Debian) is wrong, and has since been fixed upstream.
Eric Andersen
2002-04-24 23:14:06 +00:00
ae1036185e
Apply last_patch37 from vodz
Eric Andersen
2002-04-24 23:08:23 +00:00
5f6873621d
ls could mis-color certain entries when previous commands had failed. Explicitly 0 out errno to prevent that.
Eric Andersen
2002-04-17 20:21:45 +00:00
272a95524f
* networking/wget.c (wget_main): Check return value of safe_fwrite.
Matt Kraai
2002-04-17 15:33:24 +00:00
a0782684fd
* archival/bunzip2.c (bunzip2_main): Do not remove files if writing to standard output. * testsuite/bunzip2/bzcat-does-not-remove-compressed-file: New.
Matt Kraai
2002-04-15 15:01:37 +00:00
744ec1d549
Patch from Ben Low <ben@titr.uow.edu.au> to allow tftp to work with stdin as well as stdout.
Eric Andersen
2002-04-15 07:40:27 +00:00
9fe5f98de4
Patch from Jim Treadway -- fix a missing "\" in usage.h
Eric Andersen
2002-04-13 14:48:51 +00:00
c8459a5a8f
Silly me
Eric Andersen
2002-04-13 14:44:42 +00:00
19732c6226
Teach makedevs to not segfault quite so much
Eric Andersen
2002-04-13 14:26:44 +00:00
4e116823f4
Patch from Larry Doolittle to teach syslogd to not give up when errno is EINTR
Eric Andersen
2002-04-13 14:07:32 +00:00
fb24eb4f47
Cleanup make clean
Eric Andersen
2002-04-13 13:52:13 +00:00
defd998c42
Patch from Kevin Hilman <khilman@equator.com> to fix potential memory corruption from long pathnames in /etc/fstab.
Eric Andersen
2002-04-13 13:47:39 +00:00
1f30a41abe
Add a 'make uninstall' target
Eric Andersen
2002-04-13 13:39:48 +00:00
5d8d4a674b
Patch from Jim Treadway <jim@stardot-tech.com> to teach pidof to not add trailing spaces when not needed.
Eric Andersen
2002-04-13 13:32:30 +00:00
65a0730c9f
Patch from Jim Treadway and Vladimir Oleynik to Add CTRL-K and fix CTRL-L support for cmdedit.c
Eric Andersen
2002-04-13 13:26:49 +00:00
3e6908b586
Sed can go into an infinite loop
Eric Andersen
2002-04-13 13:18:15 +00:00
db7d5fca5f
Stupid gcc always includes its own builtin strlen()...
Eric Andersen
2002-04-13 13:02:03 +00:00
4c9b68f0e0
Nice patch from Wolfgang Denk <wd@denx.de> to provide hush with shell loops (for, while, until) and control operators (||, &&)
Eric Andersen
2002-04-13 12:33:41 +00:00
a66a43e8ef
Teach tftp to direct the fetched file to stdout when the user specifies "-l -" -Erik
Eric Andersen
2002-04-13 09:30:25 +00:00
d75ac02a4f
Rework per how I did things in version in 0.60.3 so it can properly uncompress multiple files now. -Erik
Eric Andersen
2002-04-13 09:10:34 +00:00
114de55668
Patch from Laurence Anderson <L.D.Anderson@warwick.ac.uk> for better tape drive support in tar/cpio by using an intervening pipe...
Eric Andersen
2002-04-13 08:43:01 +00:00
1d1d2f9b18
Update some missing copyright notices
Eric Andersen
2002-04-13 08:31:59 +00:00
497a88506e
make ash prompt the same as other shells if cmdedit and fancyprompt
Tim Riker
2002-04-13 05:37:10 +00:00
85208e2ab9
Completely rework the config system so that it no longer annoys me to work on the busybox development tree. This eliminates the use of recursive make, and once again allows us to run 'make' in a subdirectory with the expected result. And things are now much faster too. Greatly improved IMHO... -Erik
Eric Andersen
2002-04-12 12:05:57 +00:00
b1591d1f8b
Fix handling of endianness. -Erik
Eric Andersen
2002-04-12 00:28:59 +00:00
a3603e845e
Oldnews
Eric Andersen
2002-04-11 20:40:00 +00:00
265d229427
Patch from Edward Betts <edward@debian.org> to add -x switch to du.c
Eric Andersen
2002-04-06 23:16:44 +00:00
fcffa2cc1a
Apply lash_patch35 from vodz, which brings several nice size_optimizations.
Eric Andersen
2002-04-06 05:17:57 +00:00
50e4d660ac
Fix email addr
Eric Andersen
2002-04-06 05:15:46 +00:00
45673d2cc0
Add fli4l
Eric Andersen
2002-04-03 14:30:58 +00:00
35d60421b4
* testsuite/runtest (run_applet_testcase): Return test case status, not process ID.
Matt Kraai
2002-03-27 17:33:31 +00:00
9cdb0601eb
* archival/bunzip2.c: Include <unistd.h>. (bunzip2_main): Read data from standard input if FILE argument is `-' or omitted. * include/usage.h (bunzip2_trivial_usage, bunzip2_full_usage): Rewrite. * testsuite/bunzip2/bunzip2-reads-from-standard-input: New.
Matt Kraai
2002-03-27 17:31:01 +00:00
fa15f702d2
Work around compiler/assembler problem and reduce code size at the same time.
Manuel Novoa III
2002-03-25 02:37:20 +00:00
ef8b112d77
* archival/gzip.c (gzip_main): Ensure that the output is a terminal and use error_msg to display the error message.
Matt Kraai
2002-03-22 22:55:51 +00:00
b88868276c
Doh! I broke ping when removing the nested function. This patch from vodz fixes it again.
Eric Andersen
2002-03-21 14:04:43 +00:00
27eff033d2
Eliminate extra trailing space
Eric Andersen
2002-03-20 16:10:54 +00:00
c7a3fb96d0
Fix devfs loop device support
Eric Andersen
2002-03-20 15:25:25 +00:00
b0cc0a6ca8
Rewind messages to avoid weird formatting, and fix a bug with CONFIG_FEATURE_EXTRA_QUIET, which was broken
Eric Andersen
2002-03-20 14:57:50 +00:00
889a301a0c
Patch from vodz to fix a potential segfault
Eric Andersen
2002-03-20 14:31:15 +00:00
900c24dc4e
Patch from Jeff Studer <jstuder@aquilagroup.com> to supply a defaults for localfilename from remotefilename, and for remotefilename from localfilename when the other one is not supplied.
Eric Andersen
2002-03-20 14:25:27 +00:00
5a40651046
Update dmalloc options per suggestion from Glenn
Eric Andersen
2002-03-20 14:16:31 +00:00
89de1e7930
Reinitialize initial shift register value for on each pass. -Erik
Eric Andersen
2002-03-20 13:30:40 +00:00