aboutsummaryrefslogtreecommitdiff
path: root/modutils/insmod.c
AgeCommit message (Collapse)Author
2001-06-28Fix a nasty hard to spot bug found by Ralph Siemsen <ralphs@netwinder.org>.Eric Andersen
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-19For m68k, use __mc68000__ (not __m68k__ ), since that is what theEric Andersen
various m68k compilers seem to actually use... -Erik
2001-05-24Fix up some signed char vs int issues that show up on powerpc.Eric Andersen
2001-05-21This patch from Bernhard Kuhn <kuhn@lpr.e-technik.tu-muenchen.de> is based onEric Andersen
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-14A compromise solution for insmodEric Andersen
2001-05-14Follow symbolic links when searching for modules.Matt Kraai
2001-05-14Per suggestion from Vladimir, eliminate check_wildcard_match(), whichEric Andersen
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-04-26A fix from Larry for a corner case where insmod could end upEric Andersen
doing an xrealloc(0).
2001-04-25Some more cleanups for insmod from Larry.Eric Andersen
-Erik
2001-04-24Several cleanups from Larry.Eric Andersen
2001-04-05Another iteration -- adjust the init_module syscall a bit.Eric Andersen
-Erik
2001-04-05*** empty log message ***Eric Andersen
2001-04-05Some further syscall adjustments. Split the module syscalls out ofEric Andersen
insmod and into libbb. Only enable them for libc5. glibc and uClibc don't need them. -Erik
2001-04-05A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
2001-03-22Patch from Dirk Behme <dirk.behme@de.bosch.com> toEric Andersen
add EM_MIPS_RS3_LE for mips -Erik
2001-03-19Per suggestion from Vladimir, no need to initialize these -- let the bssEric Andersen
do it. -Erik
2001-03-12Applied patch from John Lombardo to fix OOM in insmod.Mark Whitley
2001-02-24This patch, from Quinn Jensen <jensenq@lineo.com>, adds MIPS supportEric Andersen
to busybox insmod. Thanks Quinn!!! -Erik
2001-02-20Apply a patch from Magnus Damm <damm@opensource.se> to supportEric Andersen
powerpc with busybox insmod -Erik
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
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-15Patch from Matt Kraai to fix bug #1103. I've tested it,Eric Andersen
and it indeed seems to fix things. -Erik
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
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-01-31Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai
2001-01-27Fix up copyright msgs. Bump version to 0.49 in preparation forEric Andersen
a release. Update the website with release details. -Erik
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
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-26Update the arch-not-yet-supported msg to be more clear.Eric Andersen
2001-01-26Fix a stupid bug I introduced yesterday. Doh!Eric Andersen
-Erik
2001-01-25I just wrote 'insmod -o' to close bug#1049.Eric Andersen
2001-01-24Bug fix and small create_module cleanup from Larry Doolittle toEric Andersen
fix insmod, since I broke var=value args when I getopt'ified it.
2001-01-24more bugs fixed -- found doing regression testingEric Andersen
-Erik
2001-01-24Make insmod understand (and ignore) -L, and convert it to use getopt.Eric Andersen
2001-01-23#define -> static const int. Also got rid of some big static buffers.Mark Whitley
2001-01-04Fix symbol table manipulation (report and fix by Larry Doolittle).Matt Kraai
2000-12-22Use busybox error handling functions wherever possible.Matt Kraai
2000-12-18Change calls to error_msg.* and strerror to use perror_msg.*.Matt Kraai
2000-12-13A couple of updates to fix some minor cross compiling issuesEric Andersen
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-12-06Added insmod support for ARM, and lsmod support for older kernels,Eric Andersen
thanks to Alcove, Julien Gaulmin <julien.gaulmin@alcove.fr> and Nicolas Ferre <nicolas.ferre@alcove.fr>. -Erik
2000-12-01Stop using TRUE and FALSE for exit status.Matt Kraai
2000-10-23Fix error messages.Matt Kraai
2000-10-23Fix error message.Matt Kraai
2000-09-28Fixes to allow compilation on systems with glibc 2.1.92Pavel Roskin
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-24modified by Bryan Rittmeyer <bryan@ixiacom.com> to support SH4Eric Andersen
2000-09-22Fix for bug #1042 -- applied the patch from Larry DoolittleEric Andersen
<ldoolitt@recycle.lbl.gov> to fix the bug. -Erik
2000-08-22Fix a unterminated string.Eric Andersen
-Erik
2000-08-21Some leftover stuff I forgot to commit for the lsmod change.Eric Andersen
-Erik
2000-08-01Fix bug 1017, which reports that insmod segfaults when /lib/modules doesn'tMatt Kraai
exist. Also allow early search termination (per the comments).
2000-07-19Moved some code and add a coupld #defines to support use of dmalloc.Eric Andersen
-Erik
2000-07-16Extract usage information into a separate file.Matt Kraai