Rob Landley
d921b2ecc0
Remove bb_ prefixes from xfuncs.c (and a few other places), consolidate
...
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only
had one user), clean up lots of #includes... General cleanup pass. What I've
been doing for the last couple days.
And it conflicts! I've removed httpd.c from this checkin due to somebody else
touching that file. It builds for me. I have to catch a bus. (Now you know
why I'm looking forward to Mercurial.)
2006-08-03 15:41:12 +00:00
Rob Landley
5ebeb3ec56
Somebody on the buildroot list hit:
...
insmod.c:515:10: extra tokens at end of #ident directive
2006-07-25 20:37:45 +00:00
Mike Frysinger
280dae74b0
import support for microblaze relocations from uClinux-dist
2006-06-06 06:30:32 +00:00
Mike Frysinger
b306cb767f
merge blackfin/microblaze from uClinux-dist
2006-06-06 06:15:52 +00:00
Bernhard Reutner-Fischer
deda6a5c0d
- move #include busybox.h to the very top so we pull in the config
...
and eventual platform specific includes in early.
- remove two supposedly superfluous newlines from ...error_msg() in modprobe
and use shorter boilerplate while at it.
2006-06-03 19:35:15 +00:00
Bernhard Reutner-Fischer
c2cb0f32b4
- patch from Denis Vlasenko to add and use bb_xopen3()
2006-04-13 12:45:04 +00:00
Bernhard Reutner-Fischer
e375e8c732
- we only need obj_gpl_license if ENABLE_FEATURE_CHECK_TAINTED_MODULE is set
2006-03-29 18:57:09 +00:00
Rob Landley
0bafd47e84
Stephane Billiart found an endianness bug in insmod.
2006-03-25 02:49:28 +00:00
Rob Landley
bc68cd14cc
Patch from Denis Vlasenko turning static const int (which gets emitted into
...
the busybox binary) into enums (which don't).
2006-03-10 19:22:06 +00:00
Rob Landley
dfba741457
Robert P. Day removed 8 gazillion occurrences of "extern" on function
...
definitions. (That should only be on prototypes.)
2006-03-06 20:47:33 +00:00
Rob Landley
688ed0d760
Patch from Robert P. Day, moving byte order checks to use platform.h macros.
2006-03-04 22:40:25 +00:00
Rob Landley
e7c43b66d7
Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)
...
from before "if(x) free(x)".
2006-03-01 16:39:45 +00:00
Rob Landley
b4ec339ac2
Update comment.
2006-02-20 14:39:55 +00:00
Mike Frysinger
ebee0e7705
fix building on ppc64
2006-02-18 06:14:31 +00:00
Eric Andersen
3496fdc9a5
hopefully the last of the annoying signed/unsigned and mixed type errors
2006-01-30 23:09:20 +00:00
Tim Riker
c1ef7bdd8d
just whitespace
2006-01-25 00:08:53 +00:00
Mike Frysinger
f982d86ba7
import nios2 support from microtronix
2006-01-04 00:11:26 +00:00
Rob Landley
999af20d3e
Make insmod quiet by default (patch from Yann E. Morin).
2005-12-11 20:14:12 +00:00
Rob Landley
07fffc5add
uClibc can't handle anonymous MAP_SHARED. Since we're treating it as
...
read only data anyway, MAP_PRIVATE shouldn't make a major difference.
2005-12-07 22:45:28 +00:00
"Vladimir N. Oleynik"
1f0262bcdb
another more const
2005-10-20 11:17:48 +00:00
Mike Frysinger
c31fcbbaf3
remove debug warning
2005-10-02 07:54:07 +00:00
Mike Frysinger
cb1ce7b974
reorder arches into alphabetical order
2005-10-02 07:50:49 +00:00
Mike Frysinger
fa17c4b949
fixup whitespace
2005-10-02 07:14:06 +00:00
Mike Frysinger
86a4bfb30a
remove all Elf32 hardcodes to make sure the elf handling is 64bit clean
2005-10-02 07:02:16 +00:00
Mike Frysinger
91fbdac6ab
svdavidson writes in Bug 459: add support for x86_64 relocations from modutils 2.4.27
2005-10-02 06:44:39 +00:00
"Vladimir N. Oleynik"
39a841cecf
change interface to bb_xasprintf() - more perfect for me.
...
ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers
reduce 100 bytes don't care in sum
2005-09-29 16:18:57 +00:00
Mike Frysinger
bc48ebd86a
initial ppc64 support
2005-09-14 00:07:26 +00:00
Peter Kjellerstedt
540769d566
Corrected the list of section names in add_ksymoops_symbols() so
...
that the bss and sbss sections can be correctly identified.
2005-03-30 16:36:40 +00:00
Mike Frysinger
354b527e03
amd64 is rela, not rel
2005-03-30 06:29:41 +00:00
Mike Frysinger
63654c1b08
alpha/parisc support
2004-12-26 09:13:32 +00:00
Eric Andersen
45a0513a64
Based on patches from Mike Frysinger, add insmod support for
...
sparc and ia64 (itanium).
Also, reorganize the insmod architecture support code to be
alphasorted and less messy.
Update the readme to list current insmod arch support.
2004-09-02 23:03:25 +00:00
Eric Andersen
b225e2a76b
Fixup some warnings
2004-08-28 00:43:07 +00:00
Eric Andersen
a4d27d2d38
Patch from Rodney Radford adding x86_64 support.
2004-08-19 19:17:30 +00:00
Robert Griebl
809387fe9e
new_process_module_arguments returns 0 on error and 1 if everything went ok
...
somehow the ! got lost..
symptoms: modules could only be loaded _without_ parameters
2004-07-20 15:43:57 +00:00
Eric Andersen
5275b1e49f
fix a stupid compile error when CONFIG_FEATURE_INSMOD_VERSION_CHECKING
...
is disabled
2004-06-22 20:10:53 +00:00
Eric Andersen
cb3b9b1fed
kill off insmod support for older pre 2.1 Linux kernels,
...
which are not supported with the current busybox 1.0 release
-Erik
2004-06-22 11:50:52 +00:00
Eric Andersen
a6f6a95ba4
oops
2004-05-26 12:06:38 +00:00
Eric Andersen
ee70fa5523
Patch from Yoshinori Sato:
...
This patch is uClinux-2.4.x for H8/300 module support.
please apply.
--
Yoshinori Sato
2004-05-26 11:38:46 +00:00
Eric Andersen
aff114c33d
Larry Doolittle writes:
...
This is a bulk spelling fix patch against busybox-1.00-pre10.
If anyone gets a corrupted copy (and cares), let me know and
I will make alternate arrangements.
Erik - please apply.
Authors - please check that I didn't corrupt any meaning.
Package importers - see if any of these changes should be
passed to the upstream authors.
I glossed over lots of sloppy capitalizations, missing apostrophes,
mixed American/British spellings, and German-style compound words.
What is "pretect redefined for test" in cmdedit.c?
Good luck on the 1.00 release!
- Larry
2004-04-14 17:51:38 +00:00
Eric Andersen
3f47c453da
Christian Grigis, christian.grigis at smartdata dot ch writes:
...
Hello everyone,
Busybox's insmod fails to locate a module when that module is the only one
existing in the /lib/modules directory (with a unique name).
Example:
# find /lib/modules/ -type f
/lib/modules/kernel/drivers/char/bios.o
# insmod bios
insmod: bios.o: no module by that name found
# touch /lib/modules/dummy
# find /lib/modules/ -type f
/lib/modules/kernel/drivers/char/bios.o
/lib/modules/dummy
# insmod bios
Using /lib/modules/kernel/drivers/char/bios.o
As long as there is another file in the /lib/modules directory, insmod
finds it OK.
I tracked the problem down to 'check_module_name_match()' in insmod.c:
It returns TRUE when a match is found, and FALSE otherwise. In the case
where there is only one module in the /lib/modules directory (or more that
one module, but all with the same name), 'recursive_action()' will return
TRUE and we end up on line 4196 in 'insmod.c' which returns an error.
[The reason it works with more than one module with different
names is that in this case there will always be one not matching,
'recursive_action()' will return FALSE and we end up in line 4189.]
Now, from the implementation of 'recursive_action()' and from other
usages of it (tar.c, etc.), it seems to me that FALSE should be returned
to indicate that we want to stop the recursion, so TRUE and FALSE should
be inverted in 'check_module_name_match()'.
At the same time, 'recursive_action()' continues to recurse even after
the recursive call has returned FALSE; again in my understanding and
other usages of it, we can safely stop recursing at this point.
Here is my patch against 1.00-pre8:
2004-04-06 11:56:26 +00:00
Eric Andersen
9e458f5b7a
Add missing ELFCLASSM for m68k
2004-03-19 12:17:04 +00:00
Eric Andersen
16451a07b4
Only use R_68K_GOTOFF if it is defined
2004-03-19 12:16:18 +00:00
Eric Andersen
c7bda1ce65
Remove trailing whitespace. Update copyright to include 2004.
2004-03-15 08:29:22 +00:00
Manuel Novoa III
21fbe0e375
Patch from OpenWrt.
2004-02-18 10:14:17 +00:00
Eric Andersen
66e21fd161
Fix broken #else
2004-01-05 23:49:37 +00:00
Glenn L McGrath
5c9f0d05b3
Fix debian bug #215612 , insmod should be silent on request
2003-12-31 23:20:10 +00:00
Eric Andersen
3b1a74467a
re-indent
2003-12-24 20:30:45 +00:00
Eric Andersen
03d8091859
Patch from Woody Suwalski:
...
Erik, I think we have met online some time ago when I was in Corel/Rebel
Netwinder project....
Anyway, I would like to use BB on 2.6.0 initrd. 1.00-pre4 works OK, if
insmod is actually presented with a full path to the module. Otherwise -
problems (not to mention conflicts when 2.4 modutil is enabled)
Here are some patches for insmod and modprobe which try to walk around
the default ".o" module format for 2.2/2.4 modules (you have probably
noticed it is now .ko in 2.6 ;-)) Trying to steal as little space as
possible if 2.6 not enabled...
The modprobe is still not perfect on 2.6 - seems to be jamming on some
dependencies, but works with some (to be debugged). Anyway after the
patches it at least tries to work....
Will there be a 1.00-pre5 coming any time soon?
Thanks, Woody
2003-12-19 21:04:19 +00:00
Eric Andersen
e7047887b0
Update modutils with 2.6 module support
2003-12-11 01:42:13 +00:00
Manuel Novoa III
22e1ca382b
Add (untested) support for cris, based on the (old) busybox insmod
...
that axis distributes.
2003-12-04 15:02:57 +00:00
Eric Andersen
951df20b7e
Do a better job of dealing with screwy s390 abi changes
2003-10-21 06:45:29 +00:00
Eric Andersen
acf6c917e2
ccording to this:
...
http://sources.redhat.com/ml/binutils/2003-01/msg00290.html
The name R_390_GOTOFF was changed to R_390_GOTOFF32.
-Erik
2003-10-20 05:40:40 +00:00
Glenn L McGrath
759d7ececd
To load GPLONLY symbols its is required that CHECK_TAINTED_MODULES be
...
enabled, if not GPLONLY symbols are ignored.
2003-09-03 00:42:58 +00:00
Glenn L McGrath
c2942f0904
"insmod caches the symbolname in a variable before modifying it and uses
...
the cached value afterwards." - Jean Wolter
2003-08-31 01:58:18 +00:00
Glenn L McGrath
759515c26a
handle GPLONLY symbols
2003-08-30 06:00:33 +00:00
Eric Andersen
bf83355dda
Patch from Paul Mundt (lethal) adding sh64 insmod support for busybox
2003-08-13 19:56:33 +00:00
Eric Andersen
85e5e72bc1
Remove remaining libc5 support code
2003-07-22 08:56:55 +00:00
Eric Andersen
cb81e6484d
Update a bunch of docs. Run a script to update my email addr.
2003-07-14 21:21:08 +00:00
Manuel Novoa III
cad5364599
Major coreutils update.
2003-03-19 09:13:01 +00:00
Eric Andersen
c3b2dbec8c
Fix obviously wrong names from older busybox
2003-03-13 18:57:08 +00:00
Eric Andersen
bf77f61d69
Patch from Jason McMullan @ linuxcare.com adding insmod
...
support for s390 systems.
2003-01-23 06:02:39 +00:00
Eric Andersen
be65c350ae
Patch from Artem Egorkine to support the -m option
2003-01-23 04:57:35 +00:00
Eric Andersen
889dd20c69
Patch from Joel Vallier to add modules symbols to the kernel symbol
...
table in order to obtain better debug output from ksymoops.
2003-01-23 04:48:34 +00:00
Aaron Lehmann
a170e1c858
Change if(x)free(x); to free(x);
2002-11-28 11:27:31 +00:00
Eric Andersen
71ae64bdc6
last_patch61 from vodz:
...
New complex patch for decrease size devel version. Requires previous patch.
Also removed small problems from dutmp and tar applets.
Also includes vodz' last_patch61_2:
Last patch correcting comment for #endif and more integrated
with libbb (very reduce size if used "cat" applet also).
Requires last_patch61 for modutils/config.in.
2002-10-10 04:20:21 +00:00
Eric Andersen
166fa4684f
Support module tainting
...
-Erik
2002-09-16 05:30:24 +00:00
Robert Griebl
967c3d4406
Fixed two compiler warnings
2002-07-21 17:33:27 +00:00
Robert Griebl
d378c3149c
Applied vodz' patches #49 and #50 (with a small correction in runshell.c)
...
#49 : I found one memory overflow and memory leak in "ln" applet.
Last patch reduced also 54 bytes. ;)
#50 : I found bug in loginutils/Makefile.in.
New patch have also new function to libbb and
aplied this to applets and other cosmetic changes.
2002-07-19 00:05:54 +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
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
6fb4e4877a
Fix buffer overflows noted by Gerardo Puga
...
-Erik
2002-06-06 14:24:57 +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
c088c582bf
Patch from Robert Griebl <griebl@gmx.de> to ignore the -s flag
2002-05-03 10:34:35 +00:00
Eric Andersen
b1591d1f8b
Fix handling of endianness.
...
-Erik
2002-04-12 00:28:59 +00:00
Miles Bader
75ce8d7c88
Tweak my credit (ah, vanity...)
2002-04-01 14:25:51 +00:00
Miles Bader
ae28b04ff2
Add support for the NEC v850e processor.
2002-04-01 09:34:25 +00:00
Eric Andersen
6d13964714
Silence some silly warnings
...
-Erik
2001-12-29 04:15:13 +00:00
Matt Kraai
1f0c43668a
Remove == TRUE' tests and convert
!= TRUE' and `== FALSE' tests to use !.
2001-12-20 23:13:26 +00:00
Matt Kraai
e62dc86bc7
Add support for big-endian ARM (initial patch by Mike Voytovich).
2001-12-14 16:08:17 +00:00
Matt Kraai
c8227639db
Change strdup calls to xstrdup (patch from Steve Merrifield).
2001-11-12 16:57:27 +00:00
Eric Andersen
bdfd0d78bc
Major rework of the directory structure and the entire build system.
...
-Erik
2001-10-24 05:00:29 +00:00
Eric Andersen
1071ccfd25
Force BB_FEATURE_NEW_MODULE_INTERFACE and BB_FEATURE_OLD_MODULE_INTERFACE
...
to be mutually exclusive
2001-08-22 05:41:57 +00:00
Eric Andersen
ac5dbd193b
Fix an _old_ interface problem with a never-used feature.
2001-08-22 05:26:08 +00:00
Matt Kraai
063c1f54ea
Simplified version checking.
2001-08-06 14:18:08 +00:00
Eric Andersen
f672c9e62f
Silence a silly warning
2001-07-31 22:51:49 +00:00
Eric Andersen
2835efe3da
Note that m68k is supported
2001-07-25 16:58:58 +00:00
Eric Andersen
044228d5ec
This is vodz' latest patch. Sorry it took so long...
...
1) ping cleanup (compile fix from this patch already applied).
2) traceroute call not spare ntohl() now (and reduce size);
3) Fix for functions not declared static in insmod, ash, vi and mount.
4) a more simple API cmdedit :))
5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option
6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd)
2001-07-17 01:12:36 +00:00
Eric Andersen
66ca9480c8
Fix a nasty hard to spot bug found by Ralph Siemsen <ralphs@netwinder.org>.
...
This would cause it to obliterates the end of the strtab section, so
symbol lookups would fail and then it would crash. Ugh. This should
fix things for people having trouble with insmod.
2001-06-28 21:36:06 +00:00
Eric Andersen
b4a26e6fc0
For m68k, use __mc68000__ (not __m68k__ ), since that is what the
...
various m68k compilers seem to actually use...
-Erik
2001-06-19 15:00:52 +00:00
Eric Andersen
5a9d441b2c
Fix up some signed char vs int issues that show up on powerpc.
2001-05-24 14:16:28 +00:00
Eric Andersen
8ae319a322
This patch from Bernhard Kuhn <kuhn@lpr.e-technik.tu-muenchen.de> is based on
...
the work of Jinux Kim on his "babobox" (derived from busybox-0.42), and enables
kernel module loading and unloading for uClinux/m68k.
2001-05-21 16:09:18 +00:00
Eric Andersen
2416dfc3c9
A compromise solution for insmod
2001-05-14 20:03:04 +00:00
Matt Kraai
9496466044
Follow symbolic links when searching for modules.
2001-05-14 18:27:25 +00:00
Eric Andersen
14d354312a
Per suggestion from Vladimir, eliminate check_wildcard_match(), which
...
was only being used by insmod these days.
Also, I spent a minute adjusting insmod so that it first searches
/lib/modules/`uname -r` and then (if that fails) searches /lib/modules,
which makes bb insmod behave much more like the real insmod, and should
avoid nasty surprises (such as the recent "Modutils vs. Busybox..."
thread).
-Erik
2001-05-14 17:07:32 +00:00
Eric Andersen
7f3b86e7bf
A fix from Larry for a corner case where insmod could end up
...
doing an xrealloc(0).
2001-04-26 19:29:58 +00:00
Eric Andersen
4f4bcfcd1a
Some more cleanups for insmod from Larry.
...
-Erik
2001-04-25 17:22:32 +00:00
Eric Andersen
f227815c3a
Several cleanups from Larry.
2001-04-24 21:41:41 +00:00
Eric Andersen
64c8b1762c
Another iteration -- adjust the init_module syscall a bit.
...
-Erik
2001-04-05 07:33:10 +00:00
Eric Andersen
acc7757312
*** empty log message ***
2001-04-05 06:24:28 +00:00
Eric Andersen
a2a978ae23
Some further syscall adjustments. Split the module syscalls out of
...
insmod and into libbb. Only enable them for libc5. glibc and
uClibc don't need them.
-Erik
2001-04-05 06:08:14 +00:00
Eric Andersen
e76c3b08e1
A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a few
...
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can
handle them sanely and all at once.
-Erik
2001-04-05 03:14:39 +00:00
Eric Andersen
82bb8a2bf8
Patch from Dirk Behme <dirk.behme@de.bosch.com> to
...
add EM_MIPS_RS3_LE for mips
-Erik
2001-03-22 19:01:16 +00:00
Eric Andersen
23c1a18126
Per suggestion from Vladimir, no need to initialize these -- let the bss
...
do it.
-Erik
2001-03-19 19:28:24 +00:00
Mark Whitley
94fd480bab
Applied patch from John Lombardo to fix OOM in insmod.
2001-03-12 23:08:34 +00:00
Eric Andersen
2bf658d5cd
This patch, from Quinn Jensen <jensenq@lineo.com>, adds MIPS support
...
to busybox insmod. Thanks Quinn!!!
-Erik
2001-02-24 20:01:53 +00:00
Eric Andersen
90fe7fea10
Apply a patch from Magnus Damm <damm@opensource.se> to support
...
powerpc with busybox insmod
-Erik
2001-02-20 20:47:08 +00:00
Eric Andersen
cbe31dace5
It turns out that DODMALLOC was broken when I reorganized busybox.h
...
header file usage before the 0.49 release. To fix it, I had to move
the '#include "busybox.h"' to the end of the list of #include files.
-Erik
2001-02-20 06:14:08 +00:00
Eric Andersen
02b9f42a27
Patch from Matt Kraai to fix bug #1103 . I've tested it,
...
and it indeed seems to fix things.
-Erik
2001-02-15 19:07:43 +00:00
Eric Andersen
67991cf824
This patch, put together by Manuel Novoa III, is a merge of work
...
done by Evin Robertson (bug#1105) and work from Manuel to make
usage messages occupy less space and simplify how usage messages
are displayed.
2001-02-14 21:23:06 +00:00
Matt Kraai
dd19c69904
Removed trailing \n from error_msg{,_and_die} messages.
2001-01-31 19:00:21 +00:00
Eric Andersen
8ec10a9483
Fix up copyright msgs. Bump version to 0.49 in preparation for
...
a release. Update the website with release details.
-Erik
2001-01-27 09:33:39 +00:00
Eric Andersen
ed3ef50c23
Fix header file usage -- there were many unnecessary header files included in
...
busybox.h which slowed compiles. I left only what was needed and then fixed up
all the apps to include their own header files. I also fixed naming for pwd.h
and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc.
-Erik
2001-01-27 08:24:39 +00:00
Eric Andersen
d5cad14b11
Update the arch-not-yet-supported msg to be more clear.
2001-01-26 02:23:57 +00:00
Eric Andersen
114ad9c753
Fix a stupid bug I introduced yesterday. Doh!
...
-Erik
2001-01-26 01:52:14 +00:00
Eric Andersen
155c89b0c3
I just wrote 'insmod -o' to close bug#1049.
2001-01-25 04:11:06 +00:00
Eric Andersen
86f3d5bad6
Bug fix and small create_module cleanup from Larry Doolittle to
...
fix insmod, since I broke var=value args when I getopt'ified it.
2001-01-24 23:59:50 +00:00
Eric Andersen
f5d5e77321
more bugs fixed -- found doing regression testing
...
-Erik
2001-01-24 23:34:48 +00:00
Eric Andersen
a18aaf1b6a
Make insmod understand (and ignore) -L, and convert it to use getopt.
2001-01-24 19:07:09 +00:00
Mark Whitley
59ab025363
#define -> static const int. Also got rid of some big static buffers.
2001-01-23 22:30:04 +00:00
Matt Kraai
70a7855980
Fix symbol table manipulation (report and fix by Larry Doolittle).
2001-01-04 02:00:17 +00:00
Matt Kraai
a9819b2908
Use busybox error handling functions wherever possible.
2000-12-22 01:48:07 +00:00
Matt Kraai
1fa1adea2a
Change calls to error_msg.* and strerror to use perror_msg.*.
2000-12-18 03:57:16 +00:00
Eric Andersen
21125543e1
A couple of updates to fix some minor cross compiling issues
2000-12-13 16:41:29 +00:00
Mark Whitley
f57c944e09
Changed names of functions in utility.c and all affected files, to make
...
compliant with the style guide. Everybody rebuild your tags file!
2000-12-07 19:56:48 +00:00
Eric Andersen
21adca750a
Added insmod support for ARM, and lsmod support for older kernels,
...
thanks to Alcove, Julien Gaulmin <julien.gaulmin@alcove.fr> and
Nicolas Ferre <nicolas.ferre@alcove.fr>.
-Erik
2000-12-06 18:18:26 +00:00
Matt Kraai
3e856ce428
Stop using TRUE and FALSE for exit status.
2000-12-01 02:55:13 +00:00
Matt Kraai
207061ac0d
Fix error messages.
2000-10-23 18:03:46 +00:00
Matt Kraai
2be4797a06
Fix error message.
2000-10-23 17:55:27 +00:00
Pavel Roskin
43f3e6114c
Fixes to allow compilation on systems with glibc 2.1.92
2000-09-28 20:52:55 +00:00
Eric Andersen
3570a34de4
Renamed "internal.h" to the more sensible "busybox.h".
...
-Erik
2000-09-25 21:45:58 +00:00
Eric Andersen
fe4208fe93
modified by Bryan Rittmeyer <bryan@ixiacom.com> to support SH4
2000-09-24 03:44:29 +00:00
Eric Andersen
8c185f9600
Fix for bug #1042 -- applied the patch from Larry Doolittle
...
<ldoolitt@recycle.lbl.gov> to fix the bug.
-Erik
2000-09-22 00:38:07 +00:00
Eric Andersen
089d12d762
Fix a unterminated string.
...
-Erik
2000-08-22 05:18:30 +00:00
Eric Andersen
c86e5e6145
Some leftover stuff I forgot to commit for the lsmod change.
...
-Erik
2000-08-21 19:38:49 +00:00
Matt Kraai
0f8f7b8a35
Fix bug 1017, which reports that insmod segfaults when /lib/modules doesn't
...
exist. Also allow early search termination (per the comments).
2000-08-01 18:16:56 +00:00
Eric Andersen
ae6eae02dd
Moved some code and add a coupld #defines to support use of dmalloc.
...
-Erik
2000-07-19 17:35:54 +00:00
Matt Kraai
bf181b9338
Extract usage information into a separate file.
2000-07-16 20:57:15 +00:00
Pavel Roskin
ff5a9033f9
Reduced the number of "signed vs. unsigned" warnings.
...
Sometimes such warnings matter (esp. on PPC with char default to unsigned)
2000-07-14 16:23:32 +00:00
Matt Kraai
d537a95fdb
Use errorMsg rather than fprintf.
2000-07-14 01:51:25 +00:00
Eric Andersen
be909b1cd5
Forgot to commit these cleanups it seems.
...
-Erik
2000-07-11 17:52:22 +00:00
Eric Andersen
9b2297a34e
Remove yet more kernel header dependancies.
...
-Erik
2000-07-10 20:08:44 +00:00
Eric Andersen
999bf72f49
More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc
...
(except for mkfs_minix and fsck_minix -- and it doesn't yet link vs uclibc due
to missing stuff in the library).
-Erik
2000-07-09 06:59:58 +00:00
Eric Andersen
bd22ed8067
Update files to reduce dependance on kernel version...
...
-Erik
2000-07-08 18:55:24 +00:00
Eric Andersen
ef40aa81c5
* Fixed insmod module option parsing for options lacking an '='.
...
Fix thanks to Marc Nijdam <marc_nijdam@hp.com>
-Erik
2000-06-26 11:16:22 +00:00
Eric Andersen
8a24a6783a
Better error checking in insmod. Remove left over %m's
...
-Erik
2000-06-22 18:19:31 +00:00
Eric Andersen
bb245ba0c2
Made insmod work with both libc5 and libc6.
...
-Erik
2000-06-19 19:53:30 +00:00
Eric Andersen
9f16d61408
Added a slightly modified version of Ron Alder's insmod patch.
...
Very cool stuff.
-Erik
2000-06-12 23:11:16 +00:00
Erik Andersen
7ab9c7ee52
Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP
...
which lets you compile out most of the "--help" output, saving
up to 17k.
Renamed mnc to nc.
-Erik
2000-05-12 19:41:47 +00:00
Erik Andersen
4f3f757d56
Latest and greatest. Some effort at libc5 (aiming towards newlib)
...
compatability.
-Erik
2000-04-28 00:18:56 +00:00