summaryrefslogtreecommitdiffhomepage
path: root/modutils/insmod.c
AgeCommit message (Collapse)Author
2002-07-21Fixed two compiler warningsRobert Griebl
2002-07-19Applied vodz' patches #49 and #50 (with a small correction in runshell.c)Robert Griebl
#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-02David Frascone <dave@frascone.com> noticed two problems. First, modprobe wasEric Andersen
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-06-22Apply vodz' cleanup for insmod buffer overflows, which was cleanerEric Andersen
than my first effort.
2002-06-18As noted by Yves Lavoie ing. <yves.lavoie.ing@sympatico.ca>, don'tEric Andersen
lose the last letter of the module name.
2002-06-06Fix buffer overflows noted by Gerardo PugaEric Andersen
-Erik
2002-05-24Patch from Magnus Damm <damm@opensource.se> to rework thingsEric Andersen
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-03Patch from Robert Griebl <griebl@gmx.de> to ignore the -s flagEric Andersen
2002-04-12Fix handling of endianness.Eric Andersen
-Erik
2002-04-01Tweak my credit (ah, vanity...)Miles Bader
2002-04-01Add support for the NEC v850e processor.Miles Bader
2001-12-29Silence some silly warningsEric Andersen
-Erik
2001-12-20Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai
2001-12-14Add support for big-endian ARM (initial patch by Mike Voytovich).Matt Kraai
2001-11-12Change strdup calls to xstrdup (patch from Steve Merrifield).Matt Kraai
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-08-22Force BB_FEATURE_NEW_MODULE_INTERFACE and BB_FEATURE_OLD_MODULE_INTERFACEEric Andersen
to be mutually exclusive
2001-08-22Fix an _old_ interface problem with a never-used feature.Eric Andersen
2001-08-06Simplified version checking.Matt Kraai
2001-07-31Silence a silly warningEric Andersen
2001-07-25Note that m68k is supportedEric Andersen
2001-07-17This is vodz' latest patch. Sorry it took so long...Eric Andersen
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-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