aboutsummaryrefslogtreecommitdiff
path: root/modutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* config.in features patch from Giulio Orsero <giulioo@pobox.com>andersen2001-11-101-2/+4
| | | | | | | with some minor edits from me git-svn-id: svn://busybox.net/trunk/busybox@3639 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-245-73/+133
| | | | | | | -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
* Cleanup some warnings and a really obvious bug.andersen2001-07-251-4/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3141 69ca8d6d-28ef-0310-b511-8ec308f3f277
* An initial modproble implementation. Quite suboptimal still,andersen2001-07-221-0/+121
| | | | | | | but it does work... git-svn-id: svn://busybox.net/trunk/busybox@3135 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
* Fix infinite loop and reallocate if too many modules.kraai2001-04-131-8/+22
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2343 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-053-20/+14
| | | | | | | | | 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
* Applied patch from Jeff Garzik to getopt-ify rmmod.markw2001-03-091-13/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2030 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanupandersen2001-03-091-0/+1
| | | | | | | | warnings with glibc 2.2 and use always use xfopen -Erik git-svn-id: svn://busybox.net/trunk/busybox@2021 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
* Make output match the real lsmod -- print (autoclean) typeandersen2001-02-241-6/+6
| | | | | | | | stuff first not last. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1929 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-203-5/+5
| | | | | | | | | 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-142-6/+6
| | | | | | | | | 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
* Apply a patch from Larry Doolittle to add "-all" and "-none" switchesandersen2001-02-011-4/+0
| | | | | | | | | | to multibuild.pl. I did a little formatting adjustments to make it _very_ obvious when things stop working. I also removed the USE_PROCFS config option -- just do the right thing when USE_DEVPS_PATCH is enabled. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1739 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-273-5/+5
| | | | | | | | 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-272-2/+8
| | | | | | | | | | 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-242-20/+12
| | | | | | | -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-232-30/+30
| | | | 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-222-11/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1489 69ca8d6d-28ef-0310-b511-8ec308f3f277