aboutsummaryrefslogtreecommitdiff
path: root/modutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Do a better job of dealing with screwy s390 abi changesandersen2003-10-211-2/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7685 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ccording to this:andersen2003-10-201-3/+3
| | | | | | | | | http://sources.redhat.com/ml/binutils/2003-01/msg00290.html The name R_390_GOTOFF was changed to R_390_GOTOFF32. -Erik git-svn-id: svn://busybox.net/trunk/busybox@7680 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Busybox modprobe has a couple of irritating quirks:bug12003-09-081-4/+33
| | | | | | | | | | | | | | | | - attempting to modprobe a module that is already loaded yields "Failed to load module", whereas modutils quietly ignores such a request. - if a module genuinely can't be loaded due to missing symbols or similar problems, modprobe doesn't produce any useful diagnostics because the output from insmod has been redirected to /dev/null. Here's a patch to address these issue Patch by Philip Blundell git-svn-id: svn://busybox.net/trunk/busybox@7419 69ca8d6d-28ef-0310-b511-8ec308f3f277
* To load GPLONLY symbols its is required that CHECK_TAINTED_MODULES bebug12003-09-032-4/+8
| | | | | | | 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
* Steven Scholz writes:andersen2003-08-061-1/+0
| | | | | | | | | | | | | | | | | the output of lsmod (busybox-1.00-pre2) contains IMHO one "\n" too much when using CONFIG_FEATURE_CHECK_TAINTED_MODULE: ~ # lsmod Module Size Used by Tainted: P ds 8364 1 m8xx_pcmcia 5388 1 pcmcia_core 40736 0 [ds m8xx_pcmcia] and this patch from Steven fixes the problem git-svn-id: svn://busybox.net/trunk/busybox@7172 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Document CONFIG_FEATURE_INSMOD_LOADINKMEMandersen2003-07-221-1/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7097 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Terje Kvernes adding quite a lot of missing documentationandersen2003-07-221-5/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7093 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-145-9/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Thomas Cameron:andersen2003-07-141-2/+3
| | | | | | | | | | | | | | Hello all, This patch adds more "Help" text to the config system. Almost all applets now have a help entry. Also, I cleaned up the spacing of the existing text so that things are consistent. This patch is against this morning's CVS. Thomas Cameron CEI Systems, Inc. git-svn-id: svn://busybox.net/trunk/busybox@7058 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Kent Robotti adding a bunch of needed docs!andersen2003-07-051-3/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@7038 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fall back to looking in /lib/modules/modules.dep ifandersen2003-06-201-2/+7
| | | | | | | /lib/modules/<kernel version>/modules.dep is missing git-svn-id: svn://busybox.net/trunk/busybox@6948 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Andrew Dennison:andersen2003-06-201-13/+25
| | | | | | | | | | | | | | | | | | | | | I've had some issues with modprobe which I reported a few months ago. This is still an issue so I decided to sort it out. The attached diff includes the changes against the unstable cvs tree that work for me. Changes are: mod_process() will report success if the module at the head of the list loads successfully. It will also report success if any module unloads successfully. The net result being that modprobe will succeed in the cases outlined below. I've also added error reporting to modprobe -r. Previously it would silently fail (but report success) if the module could not be unloaded. Andrew git-svn-id: svn://busybox.net/trunk/busybox@6947 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rename, to specify kernelbug12003-03-301-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6772 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-194-91/+92
| | | | 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-232-2/+132
| | | | 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-232-2/+185
| | | | | | | table in order to obtain better debug output from ksymoops. git-svn-id: svn://busybox.net/trunk/busybox@6427 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Robert Schwebel fixing a missing \nandersen2003-01-111-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6318 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rmmod -a removed modules recursivelytimr2002-12-142-19/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6214 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cleanuptimr2002-12-131-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6213 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yet another major rework of the BusyBox config system, using the considerablyandersen2002-12-052-37/+84
| | | | | | | | | | | modified Kbuild system I put into uClibc. With this, there should be no more need to modify Rules.mak since I've moved all the interesting options into the config system. I think I've got everything updated, but you never know, I may have made some mistakes, so watch closely. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6102 69ca8d6d-28ef-0310-b511-8ec308f3f277
* print an error message if we can't load a modulesandman2002-12-031-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6088 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
* Fix needless formatting differences vs modutilsandersen2002-10-181-8/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5664 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Doh! I screwed up applying vodz' patch.andersen2002-10-121-1/+0
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5643 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch61 from vodz:andersen2002-10-103-18/+20
| | | | | | | | | | | | 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
* Fix missing \n noticed by Robert Schwebelandersen2002-10-081-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5627 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Support module taintingandersen2002-09-162-4/+146
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5492 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some CML1 grammar fixesandersen2002-09-011-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5440 69ca8d6d-28ef-0310-b511-8ec308f3f277
* for some baffling reason tinycc insists that i change this 0 to NULLaaronl2002-08-231-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5356 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - updated a few copyright/left file headerssandman2002-08-051-2/+17
| | | | | | | - documented most of my 0.61 changes in the ChangeLog git-svn-id: svn://busybox.net/trunk/busybox@5150 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a bug that I had introduced with the new "options" handling.sandman2002-07-291-7/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5115 69ca8d6d-28ef-0310-b511-8ec308f3f277
* modprobe now also uses "options" from /etc/modules.confsandman2002-07-261-55/+99
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5106 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-022-28/+39
| | | | | | | | | | | 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
* Cleaned up Erik's fgets -> read patch and fixed a buffer overflowsandman2002-06-041-36/+38
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4854 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Avoid stack munching stdio implementations.andersen2002-06-041-75/+100
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4850 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a realloc bug found by Martin Volfsandman2002-06-021-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4848 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added support for /etc/modules.conf parsingsandman2002-05-281-18/+105
| | | | | | | for now only the 'alias' entries are evaluated git-svn-id: svn://busybox.net/trunk/busybox@4811 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ensure that insmod supports at least one MODULE_INTERFACEandersen2002-05-241-0/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4804 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