summaryrefslogtreecommitdiff
path: root/modutils
AgeCommit message (Collapse)Author
2008-06-16whitespace and comment fixes, no code changesDenis Vlasenko
2008-06-05replace single-char printf's with bb_putcharDenis Vlasenko
2008-06-04config help text: fix capitalizationDenis Vlasenko
2008-06-02- add FIXME. Perhaps somebody is interrested in looking into this one.Bernhard Reutner-Fischer
We would try to be clever and compare the *data instead of the *elt. Somethink like this might be of more general use: /* Unlink arbitrary element from the list that contains data */ void llist_unlink_data(llist_t **head, void *data) { llist_t *elt; for (elt = *head; elt; elt = elt->link) { if (elt->data == data) { llist_unlink(elt); return; } } }
2008-06-02- add alias supportBernhard Reutner-Fischer
2008-06-02- revert revision 22183 since it breaks -b /abs /abs/path/to/mod.koBernhard Reutner-Fischer
2008-06-02- just chdir to the basedir (-30b).Bernhard Reutner-Fischer
2008-06-02- optional fancy pruning-mode for depmodBernhard Reutner-Fischer
2008-06-02Reinstate CONFIG_CROSS_COMPILE_PREFIXDenis Vlasenko
2008-05-31- shrink modprobe a little bit (~-40 bytes). ACKed by Yann.Bernhard Reutner-Fischer
2008-05-28- fix overflow; improve documentation while at itBernhard Reutner-Fischer
2008-05-28- misc. improvements and shrinkageBernhard Reutner-Fischer
2008-05-28- the moddir_base is supposed to be omitted frmo the .dep fileBernhard Reutner-Fischer
- other tweaks while at it
2008-05-27- Spaghetti alert. Fix clash with ancient fwd-decl. This is an unfortunateBernhard Reutner-Fischer
combination of linux not providing a useable linux/module.h to userspace and mixing legacy-cruft with the current stuff in one insmod.c.
2008-05-27- Add config option for DEFAULT_DEPMOD_FILE and DEFAULT_DEPMOD_FILE.Bernhard Reutner-Fischer
No obj-code changes.
2008-05-27- use (uC)libc functions. Saves a dozen bytes.Bernhard Reutner-Fischer
2008-05-27vda, xmalloc'ing can use *alot* of RAM. Don't forget that there areBernhard Reutner-Fischer
modules out there that are half a megabyte! mmap()ing is way nicer for small mem boxes.
2008-05-27- improve help-textBernhard Reutner-Fischer
2008-05-26- improve option-handling a bitBernhard Reutner-Fischer
2008-05-26- add basic option-handling (+220b). UntestedBernhard Reutner-Fischer
2008-05-26- use mmap instead of allocating hundreds of megabytes of RAM. +39bBernhard Reutner-Fischer
2008-05-26- remove some bloat -28b: now approx. 501bBernhard Reutner-Fischer
2008-05-26- switch to FILE base writer and remove now unneeded stuff. -50bBernhard Reutner-Fischer
2008-05-26- add simple first-draft unoptimized depmod just to proove Vladimir ↵Bernhard Reutner-Fischer
Dronnikov wrong text data bss dec hex filename 569 0 0 569 239 modutils/depmod.o
2008-05-22modprobe: fix for blacklistingDenis Vlasenko
The patch makes the order of the alias/blacklist in modprobe.conf irrelevant (like module-utils' modprobe). In first patch the alias had to be defined before the blacklist which caused problems because the modprobe.conf file is read before /lib/modules/*/modules.alias. The attatched patch will mark the blacklisted module itself rather than trying to find the alias that points to the blacklisted module and test this flag later in the alias resolving stage.
2008-05-18modprobe: optional "blacklist" command support (by Natanael Copa)Denis Vlasenko
is_conf_command - 56 +56 include_conf 898 917 +19 check_dep 348 356 +8 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/0 up/down: 83/0) Total: 83 bytes
2008-05-17insmod: build fix for microblaze (by Greg Steuck <greg AT nest.cx>)Denis Vlasenko
2008-05-16- fix compilation on x86_64Bernhard Reutner-Fischer
2008-05-15more of -Wall fixes from Cristian Ionescu-Idbohrn.Denis Vlasenko
Some are fixing real bugs. function old new delta syslogd_main 938 958 +20 get_signum 136 143 +7 obj_load 777 782 +5 recv_from_to 210 214 +4 get_next_block 1795 1799 +4 display_topmem_process_list 1117 1121 +4 logread_main 484 487 +3 buffer_fill_and_print 73 76 +3 kill_main 687 689 +2 ll_remember_index 240 241 +1 do_stats 452 453 +1 if_readconf 166 165 -1 display_process_list 1192 1191 -1 run_applet_and_exit 507 505 -2 print_signames 33 31 -2 parse_one_line 1092 1090 -2 find_out_spec 57 55 -2 add_ksymoops_symbols 421 419 -2 ash_main 1407 1402 -5 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 11/8 up/down: 54/-17) Total: 37 bytes
2008-05-13Kill CONFIG_NITPICK, it turned out to not be useful. no code changes.Denis Vlasenko
2008-05-09insmod: fix build warnings. By Cristian Ionescu-IdbohrnDenis Vlasenko
2008-03-17*: mode tcp/udpsvd to networking, delete ipsvd/*Denis Vlasenko
*/Config.in: fixes to text svlogd: make it NOMMU capable function old new delta processorstart 378 420 +42 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 42/0) Total: 42 bytes text data bss dec hex filename 797153 662 7420 805235 c4973 busybox_old 797196 662 7420 805278 c499e busybox_unstripped
2008-03-17*: fix fallout from -Wunused-parameterDenis Vlasenko
function old new delta bbunpack 358 366 +8 passwd_main 1070 1072 +2 handle_incoming_and_exit 2651 2653 +2 getpty 88 86 -2 script_main 975 972 -3 inetd_main 2036 2033 -3 dname_enc 377 373 -4 make_new_session 474 462 -12 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/5 up/down: 12/-24) Total: -12 bytes text data bss dec hex filename 797429 658 7428 805515 c4a8b busybox_old 797417 658 7428 805503 c4a7f busybox_unstripped
2008-03-17*: add -Wunused-parameter; fix resulting breakageDenis Vlasenko
function old new delta procps_scan 1265 1298 +33 aliascmd 278 283 +5 parse_file_cmd 116 120 +4 dname_enc 373 377 +4 setcmd 90 93 +3 execcmd 57 60 +3 count_lines 72 74 +2 process_command_subs 340 339 -1 test_main 409 407 -2 mknod_main 179 177 -2 handle_incoming_and_exit 2653 2651 -2 argstr 1312 1310 -2 shiftcmd 131 128 -3 exitcmd 46 43 -3 dotcmd 297 294 -3 breakcmd 86 83 -3 evalpipe 353 349 -4 evalcommand 1180 1176 -4 evalcmd 109 105 -4 send_tree 374 369 -5 mkfifo_main 82 77 -5 evalsubshell 152 147 -5 typecmd 75 69 -6 letcmd 61 55 -6 add_cmd 1190 1183 -7 main 891 883 -8 ash_main 1415 1407 -8 parse_stream 1377 1367 -10 alloc_procps_scan 55 - -55 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148) Total: -94 bytes text data bss dec hex filename 797195 658 7428 805281 c49a1 busybox_old 797101 658 7428 805187 c4943 busybox_unstripped
2007-12-26save a bit of code with *strchrnul = '\0' trickDenis Vlasenko
function old new delta nextline 59 55 -4 include_conf 902 898 -4 read_config 414 406 -8 fsck_main 1880 1869 -11
2007-11-10*: remove superfluous "?" in option parsingDenis Vlasenko
2007-11-06modprobe: fix a bug where we were entering endless loopDenis Vlasenko
syslogd: strip trailing '\n' too, not only NULs
2007-11-06telnet: use poll, it's shorterDenis Vlasenko
*: style fixes
2007-11-06insmod: make error reporting less verboseDenis Vlasenko
2007-11-04Announce 1.8.01_8_0Denis Vlasenko
2007-11-02insmod: code shrink, stop exporting insmod_ng_main.Denis Vlasenko
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
2007-10-11add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
2007-10-01'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.Denis Vlasenko
263 bytes saved.
2007-09-27introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko
2007-09-24insmod: fix help text to not show options if only 2.6 was selectedDenis Vlasenko
2007-09-24insmod: shorten message text; style fixesDenis Vlasenko
2007-09-24*: kill bb_get_last_path_component, replace with two functionsDenis Vlasenko
(one which strips trailing slash and one which does not) wget: straighten out as a result of above change text data bss dec hex filename 5056 1 0 5057 13c1 busybox.t4/networking/wget.o 5022 0 0 5022 139e busybox.t5/networking/wget.o
2007-08-18don't pass argc in getopt32, it's superfluousDenis Vlasenko
(add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
2007-08-16modprobe: add scanning of /lib/modules/`uname -r`/modules.symbolsDenis Vlasenko
(by Yann E. MORIN)
2007-08-13s/#ifdef CONFIG_/#if ENABLE_/gDenis Vlasenko