aboutsummaryrefslogtreecommitdiff
path: root/modutils/insmod.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* To load GPLONLY symbols its is required that CHECK_TAINTED_MODULES bebug12003-09-031-4/+7
| | | | | | | enabled, if not GPLONLY symbols are ignored. git-svn-id: svn://busybox.net/trunk/busybox@7371 69ca8d6d-28ef-0310-b511-8ec308f3f277
* "insmod caches the symbolname in a variable before modifying it and usesbug12003-08-311-3/+12
| | | | | | | the cached value afterwards." - Jean Wolter git-svn-id: svn://busybox.net/trunk/busybox@7339 69ca8d6d-28ef-0310-b511-8ec308f3f277
* handle GPLONLY symbolsbug12003-08-301-3/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7301 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Paul Mundt (lethal) adding sh64 insmod support for busyboxandersen2003-08-131-10/+72
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7205 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove remaining libc5 support codeandersen2003-07-221-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7090 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update a bunch of docs. Run a script to update my email addr.andersen2003-07-141-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-191-63/+63
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix obviously wrong names from older busyboxandersen2003-03-131-7/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6743 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Jason McMullan @ linuxcare.com adding insmodandersen2003-01-231-2/+98
| | | | | | | support for s390 systems. git-svn-id: svn://busybox.net/trunk/busybox@6432 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Artem Egorkine to support the -m optionandersen2003-01-231-2/+111
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6428 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Joel Vallier to add modules symbols to the kernel symbolandersen2003-01-231-2/+174
| | | | | | | table in order to obtain better debug output from ksymoops. git-svn-id: svn://busybox.net/trunk/busybox@6427 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change if(x)free(x); to free(x);aaronl2002-11-281-4/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6055 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch61 from vodz:andersen2002-10-101-2/+6
| | | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@5640 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Support module taintingandersen2002-09-161-2/+114
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5492 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed two compiler warningssandman2002-07-211-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5073 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied vodz' patches #49 and #50 (with a small correction in runshell.c)sandman2002-07-191-12/+17
| | | | | | | | | | | | #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. git-svn-id: svn://busybox.net/trunk/busybox@5066 69ca8d6d-28ef-0310-b511-8ec308f3f277
* David Frascone <dave@frascone.com> noticed two problems. First, modprobe wasandersen2002-07-021-28/+35
| | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@4984 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply vodz' cleanup for insmod buffer overflows, which was cleanerandersen2002-06-221-25/+35
| | | | | | | than my first effort. git-svn-id: svn://busybox.net/trunk/busybox@4952 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As noted by Yves Lavoie ing. <yves.lavoie.ing@sympatico.ca>, don'tandersen2002-06-181-7/+10
| | | | | | | lose the last letter of the module name. git-svn-id: svn://busybox.net/trunk/busybox@4913 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix buffer overflows noted by Gerardo Pugaandersen2002-06-061-14/+20
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4871 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Magnus Damm <damm@opensource.se> to rework thingsandersen2002-05-241-381/+488
| | | | | | | | | 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). git-svn-id: svn://busybox.net/trunk/busybox@4803 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Robert Griebl <griebl@gmx.de> to ignore the -s flagandersen2002-05-031-3/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4725 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix handling of endianness.andersen2002-04-121-23/+9
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4593 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tweak my credit (ah, vanity...)miles2002-04-011-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4512 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add support for the NEC v850e processor.miles2002-04-011-33/+142
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4506 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Silence some silly warningsandersen2001-12-291-3/+10
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3963 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.kraai2001-12-201-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3925 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add support for big-endian ARM (initial patch by Mike Voytovich).kraai2001-12-141-2/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3884 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change strdup calls to xstrdup (patch from Steve Merrifield).kraai2001-11-121-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3666 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-241-66/+65
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Force BB_FEATURE_NEW_MODULE_INTERFACE and BB_FEATURE_OLD_MODULE_INTERFACEandersen2001-08-221-2/+3
| | | | | | | to be mutually exclusive git-svn-id: svn://busybox.net/trunk/busybox@3335 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix an _old_ interface problem with a never-used feature.andersen2001-08-221-8/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3328 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Simplified version checking.kraai2001-08-061-24/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3213 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Silence a silly warningandersen2001-07-311-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3173 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Note that m68k is supportedandersen2001-07-251-3/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3143 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 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