aboutsummaryrefslogtreecommitdiff
path: root/insmod.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* This is vodz' latest patch. Sorry it took so long...andersen2001-07-171-81/+66
| | | | | | | | | | | | 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) git-svn-id: svn://busybox.net/trunk/busybox@3103 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a nasty hard to spot bug found by Ralph Siemsen <ralphs@netwinder.org>.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. git-svn-id: svn://busybox.net/trunk/busybox@2946 69ca8d6d-28ef-0310-b511-8ec308f3f277
* For m68k, use __mc68000__ (not __m68k__ ), since that is what theandersen2001-06-191-17/+17
| | | | | | | | various m68k compilers seem to actually use... -Erik git-svn-id: svn://busybox.net/trunk/busybox@2857 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up some signed char vs int issues that show up on powerpc.andersen2001-05-241-5/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2719 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch from Bernhard Kuhn <kuhn@lpr.e-technik.tu-muenchen.de> is based onandersen2001-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. git-svn-id: svn://busybox.net/trunk/busybox@2681 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A compromise solution for insmodandersen2001-05-141-4/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2640 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Follow symbolic links when searching for modules.kraai2001-05-141-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2635 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Per suggestion from Vladimir, eliminate check_wildcard_match(), whichandersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@2634 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A fix from Larry for a corner case where insmod could end upandersen2001-04-261-3/+8
| | | | | | | doing an xrealloc(0). git-svn-id: svn://busybox.net/trunk/busybox@2463 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some more cleanups for insmod from Larry.andersen2001-04-251-12/+23
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2438 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Several cleanups from Larry.andersen2001-04-241-6/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2428 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another iteration -- adjust the init_module syscall a bit.andersen2001-04-051-4/+10
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2254 69ca8d6d-28ef-0310-b511-8ec308f3f277
* *** empty log message ***andersen2001-04-051-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2253 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some further syscall adjustments. Split the module syscalls out ofandersen2001-04-051-40/+3
| | | | | | | | | insmod and into libbb. Only enable them for libc5. glibc and uClibc don't need them. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2252 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewandersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@2250 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Dirk Behme <dirk.behme@de.bosch.com> toandersen2001-03-221-2/+13
| | | | | | | | add EM_MIPS_RS3_LE for mips -Erik git-svn-id: svn://busybox.net/trunk/busybox@2184 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Per suggestion from Vladimir, no need to initialize these -- let the bssandersen2001-03-191-4/+4
| | | | | | | | do it. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2147 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from John Lombardo to fix OOM in insmod.markw2001-03-121-39/+41
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2049 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch, from Quinn Jensen <jensenq@lineo.com>, adds MIPS supportandersen2001-02-241-4/+127
| | | | | | | | to busybox insmod. Thanks Quinn!!! -Erik git-svn-id: svn://busybox.net/trunk/busybox@1930 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply a patch from Magnus Damm <damm@opensource.se> to supportandersen2001-02-201-38/+161
| | | | | | | | powerpc with busybox insmod -Erik git-svn-id: svn://busybox.net/trunk/busybox@1870 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It turns out that DODMALLOC was broken when I reorganized busybox.handersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@1864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Matt Kraai to fix bug #1103. I've tested it,andersen2001-02-151-3/+5
| | | | | | | | and it indeed seems to fix things. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1824 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch, put together by Manuel Novoa III, is a merge of workandersen2001-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. git-svn-id: svn://busybox.net/trunk/busybox@1805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed trailing \n from error_msg{,_and_die} messages.kraai2001-01-311-35/+35
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1732 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up copyright msgs. Bump version to 0.49 in preparation forandersen2001-01-271-3/+3
| | | | | | | | a release. Update the website with release details. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1697 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix header file usage -- there were many unnecessary header files included inandersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@1695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update the arch-not-yet-supported msg to be more clear.andersen2001-01-261-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1679 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a stupid bug I introduced yesterday. Doh!andersen2001-01-261-5/+5
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1676 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I just wrote 'insmod -o' to close bug#1049.andersen2001-01-251-5/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1665 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bug fix and small create_module cleanup from Larry Doolittle toandersen2001-01-241-6/+6
| | | | | | | fix insmod, since I broke var=value args when I getopt'ified it. git-svn-id: svn://busybox.net/trunk/busybox@1659 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more bugs fixed -- found doing regression testingandersen2001-01-241-13/+9
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1656 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make insmod understand (and ignore) -L, and convert it to use getopt.andersen2001-01-241-17/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1648 69ca8d6d-28ef-0310-b511-8ec308f3f277
* #define -> static const int. Also got rid of some big static buffers.markw2001-01-231-19/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1642 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix symbol table manipulation (report and fix by Larry Doolittle).kraai2001-01-041-3/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1530 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use busybox error handling functions wherever possible.kraai2000-12-221-6/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1489 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change calls to error_msg.* and strerror to use perror_msg.*.kraai2000-12-181-13/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1466 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A couple of updates to fix some minor cross compiling issuesandersen2000-12-131-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1446 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed names of functions in utility.c and all affected files, to makemarkw2000-12-071-47/+47
| | | | | | | compliant with the style guide. Everybody rebuild your tags file! git-svn-id: svn://busybox.net/trunk/busybox@1398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added insmod support for ARM, and lsmod support for older kernels,andersen2000-12-061-95/+206
| | | | | | | | | thanks to Alcove, Julien Gaulmin <julien.gaulmin@alcove.fr> and Nicolas Ferre <nicolas.ferre@alcove.fr>. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1385 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stop using TRUE and FALSE for exit status.kraai2000-12-011-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1360 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix error messages.kraai2000-10-231-12/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1222 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix error message.kraai2000-10-231-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1221 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixes to allow compilation on systems with glibc 2.1.92proski2000-09-281-2/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1140 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Renamed "internal.h" to the more sensible "busybox.h".andersen2000-09-251-3/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* modified by Bryan Rittmeyer <bryan@ixiacom.com> to support SH4andersen2000-09-241-16/+149
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1113 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for bug #1042 -- applied the patch from Larry Doolittleandersen2000-09-221-4/+4
| | | | | | | | <ldoolitt@recycle.lbl.gov> to fix the bug. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1090 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a unterminated string.andersen2000-08-221-3/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@978 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some leftover stuff I forgot to commit for the lsmod change.andersen2000-08-211-7/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@960 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix bug 1017, which reports that insmod segfaults when /lib/modules doesn'tkraai2000-08-011-4/+5
| | | | | | | exist. Also allow early search termination (per the comments). git-svn-id: svn://busybox.net/trunk/busybox@931 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Moved some code and add a coupld #defines to support use of dmalloc.andersen2000-07-191-12/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@878 69ca8d6d-28ef-0310-b511-8ec308f3f277