aboutsummaryrefslogtreecommitdiff
path: root/modutils/modprobe.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Steven Seeger writes:Eric Andersen2003-11-141-1/+2
| | | | | | | | | | | | | | | | Hey guys. I've found a bug in modprobe where it generates bad strings and makes sytem calls with them. The following patch seems to have fixed the problem. It is rather inherited elsewhere, as there seems to be incorrect entries in the list which results in more dependencies than really exist for a given call to mod_process. But, this patch prevents the bad text from going to the screen. You will notice there are cases where lcmd goes unmodified before calling system. Please consider the following patch. Thanks. -Steve
* Busybox modprobe has a couple of irritating quirks:Glenn L McGrath2003-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
* Fall back to looking in /lib/modules/modules.dep ifEric Andersen2003-06-201-2/+7
| | | | /lib/modules/<kernel version>/modules.dep is missing
* Patch from Andrew Dennison:Eric 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
* Major coreutils update.Manuel Novoa III2003-03-191-18/+18
|
* print an error message if we can't load a moduleRobert Griebl2002-12-031-2/+4
|
* for some baffling reason tinycc insists that i change this 0 to NULLAaron Lehmann2002-08-231-1/+1
|
* - updated a few copyright/left file headersRobert Griebl2002-08-051-2/+17
| | | | - documented most of my 0.61 changes in the ChangeLog
* Fixed a bug that I had introduced with the new "options" handling.Robert Griebl2002-07-291-7/+8
|
* modprobe now also uses "options" from /etc/modules.confRobert Griebl2002-07-261-55/+99
|
* David Frascone <dave@frascone.com> noticed two problems. First, modprobe wasEric Andersen2002-07-021-0/+4
| | | | | | | | 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
* Cleaned up Erik's fgets -> read patch and fixed a buffer overflowRobert Griebl2002-06-041-36/+38
|
* Avoid stack munching stdio implementations.Eric Andersen2002-06-041-75/+100
| | | | -Erik
* Fixed a realloc bug found by Martin VolfRobert Griebl2002-06-021-3/+3
|
* Added support for /etc/modules.conf parsingRobert Griebl2002-05-281-18/+105
| | | | for now only the 'alias' entries are evaluated
* Some cleanups, some size reductions and some buffer overflow checksRobert Griebl2002-05-221-61/+43
| | | | Most of it based on ideas from vodz
* Complete rewrite to support stack loading/unloading with properRobert Griebl2002-05-141-94/+145
| | | | handling of duplicates in the dependencies list.
* Patch from Robert Griebl <griebl@gmx.de> to support modprobe -r properly,Eric Andersen2002-05-031-36/+57
| | | | merged in with the latest and greatest.
* Make verbose and show_only work as expectedEric Andersen2002-05-031-7/+13
| | | | -Erik
* Reworked by Robert Griebl <griebl@gmx.de> to support properEric Andersen2002-04-261-0/+188
| | | | module dependancies.
* Add space before module name (noted by Ron Yorston).Matt Kraai2001-11-271-1/+1
|
* Cleanup some warnings and a really obvious bug.Eric Andersen2001-07-251-4/+4
| | | | -Erik
* An initial modproble implementation. Quite suboptimal still,Eric Andersen2001-07-221-0/+121
but it does work...