summaryrefslogtreecommitdiffhomepage
path: root/modutils
AgeCommit message (Collapse)Author
2002-07-21Fixed two compiler warningsRobert Griebl
2002-07-19Applied vodz' patches #49 and #50 (with a small correction in runshell.c)Robert Griebl
#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.
2002-07-02David Frascone <dave@frascone.com> noticed two problems. First, modprobe wasEric Andersen
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
2002-06-22Apply vodz' cleanup for insmod buffer overflows, which was cleanerEric Andersen
than my first effort.
2002-06-18As noted by Yves Lavoie ing. <yves.lavoie.ing@sympatico.ca>, don'tEric Andersen
lose the last letter of the module name.
2002-06-06Fix buffer overflows noted by Gerardo PugaEric Andersen
-Erik
2002-06-04Cleaned up Erik's fgets -> read patch and fixed a buffer overflowRobert Griebl
2002-06-04Avoid stack munching stdio implementations.Eric Andersen
-Erik
2002-06-02Fixed a realloc bug found by Martin VolfRobert Griebl
2002-05-28Added support for /etc/modules.conf parsingRobert Griebl
for now only the 'alias' entries are evaluated
2002-05-24Ensure that insmod supports at least one MODULE_INTERFACEEric Andersen
-Erik
2002-05-24Patch from Magnus Damm <damm@opensource.se> to rework thingsEric Andersen
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).
2002-05-22Some cleanups, some size reductions and some buffer overflow checksRobert Griebl
Most of it based on ideas from vodz
2002-05-14Complete rewrite to support stack loading/unloading with properRobert Griebl
handling of duplicates in the dependencies list.
2002-05-03Patch from Robert Griebl <griebl@gmx.de> to support modprobe -r properly,Eric Andersen
merged in with the latest and greatest.
2002-05-03Make verbose and show_only work as expectedEric Andersen
-Erik
2002-05-03Patch from Robert Griebl <griebl@gmx.de> to ignore the -s flagEric Andersen
2002-04-26Reworked by Robert Griebl <griebl@gmx.de> to support properEric Andersen
module dependancies.
2002-04-12Completely rework the config system so that it no longer annoys me to work onEric Andersen
the busybox development tree. This eliminates the use of recursive make, and once again allows us to run 'make' in a subdirectory with the expected result. And things are now much faster too. Greatly improved IMHO... -Erik
2002-04-12Fix handling of endianness.Eric Andersen
-Erik
2002-04-06Apply lash_patch35 from vodz, which brings several nice size_optimizations.Eric Andersen
2002-04-01Tweak my credit (ah, vanity...)Miles Bader
2002-04-01Add support for the NEC v850e processor.Miles Bader
2001-12-29Silence some silly warningsEric Andersen
-Erik
2001-12-20Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai
2001-12-14Add support for big-endian ARM (initial patch by Mike Voytovich).Matt Kraai
2001-11-27Add space before module name (noted by Ron Yorston).Matt Kraai
2001-11-12Change strdup calls to xstrdup (patch from Steve Merrifield).Matt Kraai
2001-11-10config.in features patch from Giulio Orsero <giulioo@pobox.com>Eric Andersen
with some minor edits from me
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-08-22Force BB_FEATURE_NEW_MODULE_INTERFACE and BB_FEATURE_OLD_MODULE_INTERFACEEric Andersen
to be mutually exclusive
2001-08-22Fix an _old_ interface problem with a never-used feature.Eric Andersen
2001-08-06Simplified version checking.Matt Kraai
2001-07-31Silence a silly warningEric Andersen
2001-07-25Note that m68k is supportedEric Andersen
2001-07-25Cleanup some warnings and a really obvious bug.Eric Andersen
-Erik
2001-07-22An initial modproble implementation. Quite suboptimal still,Eric Andersen
but it does work...
2001-07-17This is vodz' latest patch. Sorry it took so long...Eric Andersen
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)
2001-06-28Fix a nasty hard to spot bug found by Ralph Siemsen <ralphs@netwinder.org>.Eric Andersen
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.
2001-06-19For m68k, use __mc68000__ (not __m68k__ ), since that is what theEric Andersen
various m68k compilers seem to actually use... -Erik
2001-05-24Fix up some signed char vs int issues that show up on powerpc.Eric Andersen
2001-05-21This patch from Bernhard Kuhn <kuhn@lpr.e-technik.tu-muenchen.de> is based onEric Andersen
the work of Jinux Kim on his "babobox" (derived from busybox-0.42), and enables kernel module loading and unloading for uClinux/m68k.
2001-05-14A compromise solution for insmodEric Andersen
2001-05-14Follow symbolic links when searching for modules.Matt Kraai
2001-05-14Per suggestion from Vladimir, eliminate check_wildcard_match(), whichEric Andersen
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
2001-04-26A fix from Larry for a corner case where insmod could end upEric Andersen
doing an xrealloc(0).
2001-04-25Some more cleanups for insmod from Larry.Eric Andersen
-Erik
2001-04-24Several cleanups from Larry.Eric Andersen
2001-04-13Fix infinite loop and reallocate if too many modules.Matt Kraai
2001-04-05Another iteration -- adjust the init_module syscall a bit.Eric Andersen
-Erik