summaryrefslogtreecommitdiff
path: root/modutils/lsmod.c
AgeCommit message (Collapse)Author
2006-06-06fix from uClinux-dist for proper exit status if reading /proc/modules failedMike Frysinger
2006-06-03- move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer
and eventual platform specific includes in early. - remove two supposedly superfluous newlines from ...error_msg() in modprobe and use shorter boilerplate while at it.
2006-03-10Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley
the busybox binary) into enums (which don't).
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2006-01-25just whitespaceTim Riker
2006-01-03just use bb_xfopen()Mike Frysinger
2005-05-04Tweak the "pretty lsmod for 2.6" patch to be seperately selectable.Rob Landley
Patch from Takeharu Kato.
2005-05-03Takeharu Kato said:Rob Landley
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.
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2003-08-06Steven Scholz writes:Eric Andersen
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
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-03-19Major coreutils update.Manuel Novoa III
2003-01-11Patch from Robert Schwebel fixing a missing \nEric Andersen
2002-12-14rmmod -a removed modules recursivelyTim Riker
2002-12-13cleanupTim Riker
2002-10-18Fix needless formatting differences vs modutilsEric Andersen
2002-10-12Doh! I screwed up applying vodz' patch.Eric Andersen
-Erik
2002-10-10last_patch61 from vodz:Eric Andersen
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.
2002-10-08Fix missing \n noticed by Robert SchwebelEric Andersen
2002-09-16Support module taintingEric Andersen
-Erik
2002-04-06Apply lash_patch35 from vodz, which brings several nice size_optimizations.Eric Andersen
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-04-13Fix infinite loop and reallocate if too many modules.Matt Kraai
2001-04-05A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
2001-03-09Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanupEric Andersen
warnings with glibc 2.2 and use always use xfopen -Erik
2001-02-24Make output match the real lsmod -- print (autoclean) typeEric Andersen
stuff first not last. -Erik
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
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
2001-02-01Apply a patch from Larry Doolittle to add "-all" and "-none" switchesEric Andersen
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
2001-01-27Fix up copyright msgs. Bump version to 0.49 in preparation for0_49Eric Andersen
a release. Update the website with release details. -Erik
2001-01-24more bugs fixed -- found doing regression testingEric Andersen
-Erik
2001-01-23#define -> static const int. Also got rid of some big static buffers.Mark Whitley
2000-12-18Add missing newlines to error messages.Matt Kraai
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-12-06Added insmod support for ARM, and lsmod support for older kernels,Eric Andersen
thanks to Alcove, Julien Gaulmin <julien.gaulmin@alcove.fr> and Nicolas Ferre <nicolas.ferre@alcove.fr>. -Erik
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-19Clean up output.Matt Kraai
2000-09-12Formatting cleanup patch from Bryan Rittmeyer <bryan@ixiacom.com>.Eric Andersen
-Erik
2000-09-10MAke lsmod act just like modutils lsmod, by printing which modules useEric Andersen
other modules, and state info like (deleted) and such. -Erik
2000-08-21lsmod now uses the query_module syscall, rather then /procEric Andersen
-Erik
2000-07-19Centralize handling of --help.Matt Kraai
2000-07-19Add usage messages for applets without them.Matt Kraai
2000-07-17Moved functions used by "lsmod" from cat.c to utility.cPavel Roskin
Adjusted to make lsmod and sh compilable as standalone apps. Comment fixes
2000-06-19Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen
Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
2000-04-13Upates to include copyright 2000 to everythingErik Andersen
-Erik
2000-03-08Change BB_FEATURE_USE_DEVPS_N_DEVMTAB to the simpler0_43pre1Erik Andersen
BB_FEATURE_USE_DEVPS_PATCH. -Erik
2000-03-08Fixed up lsmod so it works with my devmodules kernel driver,Erik Andersen
and with /proc. -Erik
2000-03-07Fix bugs related to finding PIDs.Erik Andersen
-Erik
2000-02-08Some formatting updates (ran the code through indent)Erik Andersen
-Erik
1999-12-15Added lsmodErik Andersen
-Erik