aboutsummaryrefslogtreecommitdiff
path: root/modutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* insmod: shrinkDenis Vlasenko2008-08-271-18/+13
| | | | | | | function old new delta obj_allocate_commons 488 462 -26 insmod_main 3830 3714 -116
* modprobe-small: support "blacklist" keyword in /etc/modules/<modulename>Denis Vlasenko2008-08-261-1/+1
|
* modprobe-small: fix infinite looping, by Timo TerasDenis Vlasenko2008-08-061-1/+3
|
* modprobe: semi-trivial code shrinkDenis Vlasenko2008-08-061-52/+47
| | | | | | | | | | function old new delta build_dep 870 859 -11 already_loaded 134 112 -22 modprobe_main 449 368 -81 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-114) Total: -114 bytes
* *: refactor handling of archived files. "tar f file.tar.lzma" now works too.Denis Vlasenko2008-08-052-16/+3
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta unpack_Z_stream - 1229 +1229 open_zipped - 176 +176 unpack_bz2_stream_prime - 60 +60 tar_main 642 677 +35 find_main 406 418 +12 sv_main 1222 1233 +11 decode_format_string 829 837 +8 cmp_main 641 649 +8 popstring 134 140 +6 filter_accept_list_reassign 120 125 +5 parse_and_put_prompt 800 804 +4 passwd_main 1053 1049 -4 make_new_name_gunzip 119 114 -5 rpm_main 1688 1670 -18 prepare 302 283 -19 xmalloc_open_zipped_read_close 135 61 -74 uncompress 1229 - -1229 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 8/5 up/down: 1554/-1349) Total: 205 bytes
* whitespace fixes, no code changedDenis Vlasenko2008-08-051-11/+12
|
* modprobe: use buffering line reads (fgets) instead of reads().Denis Vlasenko2008-08-041-19/+20
| | | | | | | | | | | | | | | libbb: remove reads() function old new delta include_conf_file_act 961 980 +19 localcmd 282 284 +2 already_loaded 155 151 -4 in_cksum 58 53 -5 modprobe_main 1630 1624 -6 reads 129 - -129 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 2/3 up/down: 21/-144) Total: -123 bytes
* libbb: make xrealloc_vector zero out the realloc'ed tailDenis Vlasenko2008-08-041-5/+3
| | | | | | | | | | | | | | function old new delta xrealloc_vector_helper 51 76 +25 man_main 712 705 -7 act 250 234 -16 create_list 91 70 -21 getopt_main 695 664 -31 load_dep_bb 281 248 -33 fileAction 744 709 -35 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/6 up/down: 25/-143) Total: -118 bytes
* hush: add #defines to switch off break/continue if loops are not supportedDenis Vlasenko2008-07-292-2/+2
| | | | | | *: remove a few inline keywords no code changes
* modprobe: support for /etc/modprobe.d, by Timo Teras.Denis Vlasenko2008-07-291-63/+106
| | | | | | | | | | | | | | function old new delta include_conf_file_act - 929 +929 include_conf_recursive - 30 +30 include_conf_file2 - 30 +30 include_conf_file - 14 +14 include_conf_dir_act - 14 +14 build_dep 1011 875 -136 include_conf 922 - -922 ------------------------------------------------------------------------------ (add/remove: 5/1 grow/shrink: 0/1 up/down: 1017/-1058) Total: -41 bytes
* fix several problems with config parser:Denis Vlasenko2008-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a bug where it underflows the string a bug where it never frees parser_t struct make read_config() return 0 if parser is NULL, make config_close() accept and ignore NULL parser - eliminates many if() blocks reverse the sense of parser bit flags - negative flags are harder to grok. hexdump: revert the change to use config parser, it is BIGGER and also requires additional quirks in parser *: explicitly use PARSER_NORMAL instead of 0 function old new delta login_main 1575 1596 +21 config_close 18 29 +11 bbunpack 383 391 +8 qgravechar 106 109 +3 rtnl_tab_initialize 121 117 -4 expand 1697 1693 -4 man_main 717 712 -5 nameif_main 674 668 -6 hexdump_main 597 591 -6 read_config 217 209 -8 dnsd_main 1478 1470 -8 sysctl_main 203 189 -14 config_open2 44 25 -19 make_device 1177 1141 -36 config_read 597 549 -48 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/11 up/down: 43/-158) Total: -115 bytes
* *: conversion to config parserDenis Vlasenko2008-07-241-10/+6
| | | | | | | | | | | | | | | | | function old new delta config_read 540 597 +57 config_open2 41 44 +3 rtnl_rtprot_initialize 70 66 -4 rtnl_rttable_initialize 78 73 -5 rtnl_rtscope_initialize 88 83 -5 rtnl_rtrealm_initialize 48 43 -5 rtnl_rtdsfield_initialize 48 43 -5 process_module 566 560 -6 bbunpack 391 383 -8 rtnl_tab_initialize 279 121 -158 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/8 up/down: 60/-196) Total: -136 bytes
* - wrap overlong lines (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2008-07-221-5/+5
| | | | - s/\. /. /g;# (me)
* libbb: [x]fopen_for_{read,write} introduced and used.Denis Vlasenko2008-07-214-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (by Valdimir) function old new delta config_open2 - 41 +41 config_read 507 542 +35 find_pair 169 187 +18 fopen_for_write - 14 +14 fopen_for_read - 14 +14 find_main 406 418 +12 xfopen_for_write - 10 +10 xfopen_for_read - 10 +10 popstring 134 140 +6 parse_inittab 396 401 +5 next_token 923 928 +5 pack_gzip 1659 1661 +2 bb__parsespent 117 119 +2 fallbackSort 1719 1717 -2 evalvar 1376 1374 -2 qrealloc 36 33 -3 ... ... ... ... singlemount 4579 4569 -10 process_stdin 443 433 -10 patch_main 1111 1101 -10 ifupdown_main 2175 2165 -10 file_action_grep 90 80 -10 uuidcache_init 649 637 -12 hush_main 797 785 -12 read_config 230 217 -13 dpkg_main 3835 3820 -15 read_line_input 3134 3110 -24 sysctl_main 232 203 -29 config_open 40 10 -30 WARN_BAD_LINE 44 - -44 login_main 1714 1575 -139 ------------------------------------------------------------------------------ (add/remove: 5/1 grow/shrink: 8/74 up/down: 174/-737) Total: -563 bytes
* - commentary typo fixBernhard Reutner-Fischer2008-07-211-1/+1
|
* - fix compilation for mips (Brian Daniels)Bernhard Reutner-Fischer2008-07-181-1/+1
|
* insmod: users report that "|| defined(__powerpc__)" is missingDenis Vlasenko2008-07-141-1/+2
|
* cpio: internalize archive_xread_all_eof. add a few paranoia checksDenis Vlasenko2008-07-121-1/+0
| | | | | | | | | | | | | for corrupted cpio files. modprobe-small: remove stray include route: small code shrink function old new delta get_header_cpio 958 980 +22 archive_xread_all_eof 33 - -33 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/0 up/down: 22/-33) Total: -11 bytes
* fix typo in config help textDenis Vlasenko2008-07-101-1/+1
|
* open_transformer: do not return fd, it does not changeDenis Vlasenko2008-07-101-28/+0
| | | | | | | | | | | | | | | | | | | | | | | | | libbb: adopt zipped read from modprobe-small function old new delta getoptscmd 708 713 +5 qgravechar 106 109 +3 huft_build 1165 1168 +3 tr_main 474 472 -2 open_transformer 91 89 -2 evalvar 1376 1374 -2 rpm_main 1691 1688 -3 qrealloc 36 33 -3 get_header_tar_lzma 55 52 -3 get_header_tar_gz 100 97 -3 get_header_tar_bz2 55 52 -3 get_header_tar_Z 89 86 -3 find_main 418 406 -12 prepare 302 283 -19 xmalloc_open_zipped_read_close 161 135 -26 xmalloc_read 248 199 -49 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/13 up/down: 11/-130) Total: -119 bytes
* modprobe-small: make depmod compatible with kernel build.Denis Vlasenko2008-07-102-39/+106
| | | | | | | | | | | | | | | | | | three last commits' sizes combined: function old new delta find_alias 218 612 +394 load_dep_bb - 310 +310 modprobe_main 289 380 +91 copy_stringbuf - 40 +40 process_module 637 655 +18 reset_stringbuf - 15 +15 parse_module 333 334 +1 append 84 85 +1 fileAction 832 819 -13 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 5/1 up/down: 870/-13) Total: 857 bytes
* modprobe-small: add depfile creationDenis Vlasenko2008-07-101-7/+108
|
* modprobe-small: add depfile loadingDenis Vlasenko2008-07-101-18/+57
|
* - fix typo (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2008-07-091-1/+1
|
* modprobe-small: preparatory patch for modprobe.dep.bb creation patches,Denis Vlasenko2008-07-091-43/+54
| | | | | Code size impact ~0.
* libbb: use improved xmalloc_read() from modprobe-smallDenis Vlasenko2008-07-092-49/+1
| | | | | | who: fix compile breakage on some systems modprobe-small: improve Config help text wording
* libbb: introduce and use xrealloc_vectorDenis Vlasenko2008-07-083-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta xrealloc_vector_helper - 51 +51 create_list 84 99 +15 getopt_main 690 695 +5 passwd_main 1049 1053 +4 get_cached 85 89 +4 msh_main 1377 1380 +3 add_match 42 41 -1 read_lines 720 718 -2 grave 1068 1066 -2 fill_match_lines 143 141 -2 add_to_dirlist 67 65 -2 add_input_file 49 47 -2 act 252 250 -2 fsck_main 2252 2246 -6 man_main 765 757 -8 bb_internal_initgroups 228 220 -8 cut_main 1052 1041 -11 add_edge_to_node 55 43 -12 dpkg_main 3851 3835 -16 ifupdown_main 2202 2178 -24 sort_main 838 812 -26 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 5/15 up/down: 82/-124) Total: -42 bytes
* modprobe-small: match aliases with fnmatch(), makingDenis Vlasenko2008-07-061-1/+5
| | | | | shell pattern-specified alias names in module bodies work.
* modprobe-small: fix debug leftoverDenis Vlasenko2008-07-061-4/+4
|
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-054-12/+12
|
* modutils: optional modutils-small by Vladimir Dronnikov.Denis Vlasenko2008-07-043-9/+711
| | | | | | 15kb smaller than standard one. libbb/recursive_action.c: commented-out code for aborting the scan.
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko2008-06-272-4/+4
| | | | | | | text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
* style fixes, no code changesDenis Vlasenko2008-06-261-1/+1
|
* whitespace fixes. no code changesDenis Vlasenko2008-06-251-2/+2
|
* changes in comments onlyDenis Vlasenko2008-06-241-5/+8
|
* mdoprobe: fix SEGV bug (by Vlad Dronnikov)Denis Vlasenko2008-06-221-3/+1
|
* whitespace and comment fixes, no code changesDenis Vlasenko2008-06-163-8/+8
|
* replace single-char printf's with bb_putcharDenis Vlasenko2008-06-051-2/+4
|
* config help text: fix capitalizationDenis Vlasenko2008-06-041-4/+2
|
* - add FIXME. Perhaps somebody is interrested in looking into this one.Bernhard Reutner-Fischer2008-06-021-1/+1
| | | | | | | | | | | | | | | | | | | 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; } } }
* - add alias supportBernhard Reutner-Fischer2008-06-022-85/+115
|
* - revert revision 22183 since it breaks -b /abs /abs/path/to/mod.koBernhard Reutner-Fischer2008-06-021-4/+11
|
* - just chdir to the basedir (-30b).Bernhard Reutner-Fischer2008-06-021-11/+4
|
* - optional fancy pruning-mode for depmodBernhard Reutner-Fischer2008-06-022-21/+121
|
* Reinstate CONFIG_CROSS_COMPILE_PREFIXDenis Vlasenko2008-06-021-4/+4
|
* - shrink modprobe a little bit (~-40 bytes). ACKed by Yann.Bernhard Reutner-Fischer2008-05-311-8/+5
|
* - fix overflow; improve documentation while at itBernhard Reutner-Fischer2008-05-281-9/+9
|
* - misc. improvements and shrinkageBernhard Reutner-Fischer2008-05-281-33/+33
|
* - the moddir_base is supposed to be omitted frmo the .dep fileBernhard Reutner-Fischer2008-05-281-28/+28
| | | | - other tweaks while at it
* - Spaghetti alert. Fix clash with ancient fwd-decl. This is an unfortunateBernhard Reutner-Fischer2008-05-271-1/+2
| | | | | combination of linux not providing a useable linux/module.h to userspace and mixing legacy-cruft with the current stuff in one insmod.c.