aboutsummaryrefslogtreecommitdiff
path: root/lsmod.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewandersen2001-04-051-2/+1
| | | | | | | | | 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
* 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
* 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
* It turns out that DODMALLOC was broken when I reorganized busybox.handersen2001-02-201-1/+1
| | | | | | | | | 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
* 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
* Fix up copyright msgs. Bump version to 0.49 in preparation forandersen2001-01-271-1/+1
| | | | | | | | a release. Update the website with release details. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1697 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more bugs fixed -- found doing regression testingandersen2001-01-241-7/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1656 69ca8d6d-28ef-0310-b511-8ec308f3f277
* #define -> static const int. Also got rid of some big static buffers.markw2001-01-231-11/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1642 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add missing newlines to error messages.kraai2000-12-181-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1465 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed names of functions in utility.c and all affected files, to makemarkw2000-12-071-4/+4
| | | | | | | compliant with the style guide. Everybody rebuild your tags file! git-svn-id: svn://busybox.net/trunk/busybox@1398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added insmod support for ARM, and lsmod support for older kernels,andersen2000-12-061-0/+38
| | | | | | | | | thanks to Alcove, Julien Gaulmin <julien.gaulmin@alcove.fr> and Nicolas Ferre <nicolas.ferre@alcove.fr>. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1385 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Renamed "internal.h" to the more sensible "busybox.h".andersen2000-09-251-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Clean up output.kraai2000-09-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1068 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Formatting cleanup patch from Bryan Rittmeyer <bryan@ixiacom.com>.andersen2000-09-121-7/+7
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1036 69ca8d6d-28ef-0310-b511-8ec308f3f277
* MAke lsmod act just like modutils lsmod, by printing which modules useandersen2000-09-101-0/+20
| | | | | | | | other modules, and state info like (deleted) and such. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1029 69ca8d6d-28ef-0310-b511-8ec308f3f277
* lsmod now uses the query_module syscall, rather then /procandersen2000-08-211-10/+72
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@959 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Centralize handling of --help.kraai2000-07-191-3/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@883 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add usage messages for applets without them.kraai2000-07-191-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@881 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Moved functions used by "lsmod" from cat.c to utility.cproski2000-07-171-3/+3
| | | | | | | | Adjusted to make lsmod and sh compilable as standalone apps. Comment fixes git-svn-id: svn://busybox.net/trunk/busybox@870 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates to a number of apps to remove warnings/compile errors under libc5.andersen2000-06-191-1/+1
| | | | | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik git-svn-id: svn://busybox.net/trunk/busybox@660 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Upates to include copyright 2000 to everythingerik2000-04-131-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@447 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change BB_FEATURE_USE_DEVPS_N_DEVMTAB to the simplererik2000-03-081-1/+1
| | | | | | | | BB_FEATURE_USE_DEVPS_PATCH. -Erik git-svn-id: svn://busybox.net/trunk/busybox@401 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed up lsmod so it works with my devmodules kernel driver,erik2000-03-081-4/+7
| | | | | | | | and with /proc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@399 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix bugs related to finding PIDs.erik2000-03-071-3/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@397 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some formatting updates (ran the code through indent)erik2000-02-081-2/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@357 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added lsmoderik1999-12-151-0/+35
-Erik git-svn-id: svn://busybox.net/trunk/busybox@235 69ca8d6d-28ef-0310-b511-8ec308f3f277