aboutsummaryrefslogtreecommitdiff
path: root/modutils/lsmod.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* usage.c: remove reference to busybox.hvda2007-05-261-1/+1
| | | | | | | | *: s/include "busybox.h"/include "libbb.h" git-svn-id: svn://busybox.net/trunk/busybox@18696 69ca8d6d-28ef-0310-b511-8ec308f3f277
* suppress warnings about easch <applet>_main() havingvda2007-02-031-0/+2
| | | | | | | no preceding prototype git-svn-id: svn://busybox.net/trunk/busybox@17740 69ca8d6d-28ef-0310-b511-8ec308f3f277
* preparatory patch for -Wwrite-strings #2vda2007-01-291-4/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17654 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style fixesvda2006-12-261-1/+1
| | | | | | | last xcalloc replaced by xzalloc git-svn-id: svn://busybox.net/trunk/busybox@17081 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style cleanup: return(a) -> return a, part 1vda2006-11-271-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16690 69ca8d6d-28ef-0310-b511-8ec308f3f277
* silly size savings and capitalization fixesvda2006-10-261-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16438 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add open_read_close() and similar stuffvda2006-10-141-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16377 69ca8d6d-28ef-0310-b511-8ec308f3f277
* lsmod: repair indentationvda2006-09-301-31/+31
| | | | | | | httpd: ifdef CONFIG -> if ENABLE (shorted, catched typos) git-svn-id: svn://busybox.net/trunk/busybox@16276 69ca8d6d-28ef-0310-b511-8ec308f3f277
* whitespace cleanupvda2006-09-171-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16142 69ca8d6d-28ef-0310-b511-8ec308f3f277
* No real need for my_query_module() and this eliminates some type-punnedlandley2006-08-281-8/+11
| | | | | | | pointer warning on certain gcc versions (and saves 38 bytes). git-svn-id: svn://busybox.net/trunk/busybox@16003 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer pointed out some leftover debris needing cleanup.landley2006-08-151-12/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15801 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Try to make a "type-punned pointer" warning go away for somebody on thelandley2006-08-031-3/+2
| | | | | | | buildroot list. git-svn-id: svn://busybox.net/trunk/busybox@15773 69ca8d6d-28ef-0310-b511-8ec308f3f277
* These should have been part of 15767 too.landley2006-08-031-20/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15770 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix from uClinux-dist for proper exit status if reading /proc/modules failedvapier2006-06-061-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15295 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - move #include busybox.h to the very top so we pull in the configaldot2006-06-031-15/+2
| | | | | | | | | and eventual platform specific includes in early. - remove two supposedly superfluous newlines from ...error_msg() in modprobe and use shorter boilerplate while at it. git-svn-id: svn://busybox.net/trunk/busybox@15272 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Denis Vlasenko turning static const int (which gets emitted intolandley2006-03-101-11/+13
| | | | | | | the busybox binary) into enums (which don't). git-svn-id: svn://busybox.net/trunk/busybox@14513 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionlandley2006-03-061-2/+2
| | | | | | | definitions. (That should only be on prototypes.) git-svn-id: svn://busybox.net/trunk/busybox@14457 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just whitespacetimr2006-01-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just use bb_xfopen()vapier2006-01-031-4/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13060 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tweak the "pretty lsmod for 2.6" patch to be seperately selectable.landley2005-05-041-1/+2
| | | | | | | Patch from Takeharu Kato. git-svn-id: svn://busybox.net/trunk/busybox@10248 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Takeharu Kato said:landley2005-05-031-1/+42
| | | | | | | | | | I found that lsmod in busybox does not support linux-2.6. I fix this issue(it is caused by changes of /proc/modules format). If you use lsmod in busybox with kernel-2.6, please use this patch. git-svn-id: svn://busybox.net/trunk/busybox@10243 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove trailing whitespace. Update copyright to include 2004.andersen2004-03-151-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8630 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
* Update a bunch of docs. Run a script to update my email addr.andersen2003-07-141-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-191-5/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 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-141-17/+0
| | | | 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
* 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-101-16/+10
| | | | | | | | | | | | 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-161-2/+32
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5492 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply lash_patch35 from vodz, which brings several nice size_optimizations.andersen2002-04-061-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4548 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-241-5/+5
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 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
* 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