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