aboutsummaryrefslogtreecommitdiff
path: root/modutils/lsmod.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* insmod: code shrink, stop exporting insmod_ng_main.Denis Vlasenko2007-11-021-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta add_ksymoops_symbols - 421 +421 static.section_names 20 40 +20 lsmod_main 425 424 -1 set_tainted 153 150 -3 main_opts 4 - -4 obj_symbol_patch 47 42 -5 obj_string_patch 144 139 -5 already_loaded 144 138 -6 check_dep 348 341 -7 append_option 75 68 -7 obj_allocate_commons 515 501 -14 new_process_module_arguments 1039 1018 -21 arch_new_symbol 31 9 -22 check_module_name_match 85 61 -24 obj_create_alloced_section 164 136 -28 include_conf 930 902 -28 modprobe_main 1643 1535 -108 obj_load 924 777 -147 insmod_ng_main 245 - -245 insmod_main 4122 3794 -328 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 1/16 up/down: 441/-1003) Total: -562 bytes text data bss dec hex filename 776020 974 9420 786414 bffee busybox_old 775384 974 9420 785778 bfd72 busybox_unstripped
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-2/+2
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko2007-09-271-3/+3
|
* s/#ifdef CONFIG_/#if ENABLE_/gDenis Vlasenko2007-08-131-3/+3
|
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+2
| | | | no preceding prototype
* preparatory patch for -Wwrite-strings #2Denis Vlasenko2007-01-291-4/+6
|
* style fixesDenis Vlasenko2006-12-261-1/+1
| | | | last xcalloc replaced by xzalloc
* style cleanup: return(a) -> return a, part 1Denis Vlasenko2006-11-271-1/+1
|
* silly size savings and capitalization fixesDenis Vlasenko2006-10-261-2/+2
|
* add open_read_close() and similar stuffDenis Vlasenko2006-10-141-4/+4
|
* lsmod: repair indentationDenis Vlasenko2006-09-301-31/+31
| | | | httpd: ifdef CONFIG -> if ENABLE (shorted, catched typos)
* whitespace cleanupDenis Vlasenko2006-09-171-1/+1
|
* No real need for my_query_module() and this eliminates some type-punnedRob Landley2006-08-281-8/+11
| | | | pointer warning on certain gcc versions (and saves 38 bytes).
* Bernhard Fischer pointed out some leftover debris needing cleanup.Rob Landley2006-08-151-12/+0
|
* Try to make a "type-punned pointer" warning go away for somebody on theRob Landley2006-08-031-3/+2
| | | | buildroot list.
* These should have been part of 15767 too.Rob Landley2006-08-031-20/+16
|
* fix from uClinux-dist for proper exit status if reading /proc/modules failedMike Frysinger2006-06-061-5/+5
|
* - move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer2006-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.
* Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley2006-03-101-11/+13
| | | | the busybox binary) into enums (which don't).
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-2/+2
| | | | definitions. (That should only be on prototypes.)
* just whitespaceTim Riker2006-01-251-1/+1
|
* just use bb_xfopen()Mike Frysinger2006-01-031-4/+1
|
* Tweak the "pretty lsmod for 2.6" patch to be seperately selectable.Rob Landley2005-05-041-1/+2
| | | | Patch from Takeharu Kato.
* Takeharu Kato said:Rob 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.
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-1/+1
|
* Steven Scholz writes:Eric 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
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-2/+1
|
* Major coreutils update.Manuel Novoa III2003-03-191-5/+6
|
* Patch from Robert Schwebel fixing a missing \nEric Andersen2003-01-111-0/+1
|
* rmmod -a removed modules recursivelyTim Riker2002-12-141-17/+0
|
* cleanupTim Riker2002-12-131-0/+3
|
* Fix needless formatting differences vs modutilsEric Andersen2002-10-181-8/+8
|
* Doh! I screwed up applying vodz' patch.Eric Andersen2002-10-121-1/+0
| | | | -Erik
* last_patch61 from vodz:Eric 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.
* Fix missing \n noticed by Robert SchwebelEric Andersen2002-10-081-3/+2
|
* Support module taintingEric Andersen2002-09-161-2/+32
| | | | -Erik
* Apply lash_patch35 from vodz, which brings several nice size_optimizations.Eric Andersen2002-04-061-1/+1
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-5/+5
| | | | -Erik
* Fix infinite loop and reallocate if too many modules.Matt Kraai2001-04-131-8/+22
|
* A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen2001-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
* Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanupEric Andersen2001-03-091-0/+1
| | | | | warnings with glibc 2.2 and use always use xfopen -Erik
* Make output match the real lsmod -- print (autoclean) typeEric Andersen2001-02-241-6/+6
| | | | | stuff first not last. -Erik
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-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
* Apply a patch from Larry Doolittle to add "-all" and "-none" switchesEric Andersen2001-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
* Fix up copyright msgs. Bump version to 0.49 in preparation for0_49Eric Andersen2001-01-271-1/+1
| | | | | a release. Update the website with release details. -Erik
* more bugs fixed -- found doing regression testingEric Andersen2001-01-241-7/+3
| | | | -Erik
* #define -> static const int. Also got rid of some big static buffers.Mark Whitley2001-01-231-11/+11
|
* Add missing newlines to error messages.Matt Kraai2000-12-181-4/+4
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-4/+4
| | | | compliant with the style guide. Everybody rebuild your tags file!