summaryrefslogtreecommitdiff
path: root/modutils/insmod.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* apply post-1.12.0 fixes, bump version to 1.12.11_12_1Denis Vlasenko2008-09-281-55/+65
|
* libbb: [x]fopen_for_{read,write} introduced and used.Denis Vlasenko2008-07-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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
|
* - fix typo (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2008-07-091-1/+1
|
* libbb: introduce and use xrealloc_vectorDenis Vlasenko2008-07-081-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-051-5/+5
|
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko2008-06-271-3/+3
| | | | | | | 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
|
* changes in comments onlyDenis Vlasenko2008-06-241-5/+8
|
* Reinstate CONFIG_CROSS_COMPILE_PREFIXDenis Vlasenko2008-06-021-4/+4
|
* - 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.
* - Add config option for DEFAULT_DEPMOD_FILE and DEFAULT_DEPMOD_FILE.Bernhard Reutner-Fischer2008-05-271-5/+3
| | | | No obj-code changes.
* - use (uC)libc functions. Saves a dozen bytes.Bernhard Reutner-Fischer2008-05-271-2/+7
|
* vda, xmalloc'ing can use *alot* of RAM. Don't forget that there areBernhard Reutner-Fischer2008-05-271-7/+7
| | | | | modules out there that are half a megabyte! mmap()ing is way nicer for small mem boxes.
* insmod: build fix for microblaze (by Greg Steuck <greg AT nest.cx>)Denis Vlasenko2008-05-171-0/+1
|
* - fix compilation on x86_64Bernhard Reutner-Fischer2008-05-161-1/+1
|
* more of -Wall fixes from Cristian Ionescu-Idbohrn.Denis Vlasenko2008-05-151-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* insmod: fix build warnings. By Cristian Ionescu-IdbohrnDenis Vlasenko2008-05-091-1/+10
|
* *: fix fallout from -Wunused-parameterDenis Vlasenko2008-03-171-0/+3
| | | | | | | | | | | | | | | | | | 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
* *: add -Wunused-parameter; fix resulting breakageDenis Vlasenko2008-03-171-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* telnet: use poll, it's shorterDenis Vlasenko2007-11-061-1/+2
| | | | | *: style fixes
* insmod: make error reporting less verboseDenis Vlasenko2007-11-061-2/+2
|
* Announce 1.8.01_8_0Denis Vlasenko2007-11-041-1/+1
|
* insmod: code shrink, stop exporting insmod_ng_main.Denis Vlasenko2007-11-021-239/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-4/+4
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* insmod: fix help text to not show options if only 2.6 was selectedDenis Vlasenko2007-09-241-1/+1
|
* insmod: shorten message text; style fixesDenis Vlasenko2007-09-241-7/+7
|
* *: kill bb_get_last_path_component, replace with two functionsDenis Vlasenko2007-09-241-1/+1
| | | | | | | | | (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
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-181-1/+1
| | | | | | | | (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
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-121-4/+6
| | | | | | | | | trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
* Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms ↵Denis Vlasenko2007-06-251-2/+2
| | | | <wharms@bfs.de>)
* random shrinkage of statics, -60 bytes savedDenis Vlasenko2007-06-211-3/+5
|
* hush: fix read builtin to not read ahead past eol and to not useDenis Vlasenko2007-06-131-3/+4
| | | | | insane amounts of stack. Testsuite updated.
* A few more string duplicates found & eliminatedDenis Vlasenko2007-06-121-11/+6
| | | | | | | | # size busybox_old busybox_unstripped text data bss dec hex filename 679693 2700 15632 698025 aa6a9 busybox_old 679523 2700 15632 697855 aa5ff busybox_unstripped
* delete tons of extra #includesDenis Vlasenko2007-05-311-1/+0
|
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* style fixes. No code changesDenis Vlasenko2007-04-121-4/+4
|
* style fixes, no code changes.Denis Vlasenko2007-04-111-27/+31
|
* style fixes. No code changes.Denis Vlasenko2007-04-101-9/+9
|
* find: fix handling of -pruneDenis Vlasenko2007-04-081-2/+2
| | | | recursive_actions: uppercase flag constants
* - fold recurse, depthFirst and dereference params into one param flags.Bernhard Reutner-Fischer2007-03-291-2/+2
| | | | Minor size improvement (-16b for size, -24b according to bloat-o-meter).
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+2
| | | | no preceding prototype
* preparatory patch for -Wwrite-strings #4Denis Vlasenko2007-01-291-1/+1
|
* preparatory patch for -Wwrite-strings #2Denis Vlasenko2007-01-291-1/+1
|
* cleanups: unnecessary casts, unified const_1, eliminate cross-.c fileDenis Vlasenko2007-01-221-2/+0
| | | | | prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs.
* stop using __u32 etc. uint32_t is there for a reasonDenis Vlasenko2006-12-311-9/+6
|
* next bunch of fixes for bugs found by randconfigDenis Vlasenko2006-12-301-3/+4
|
* done a dozen of randconfig test. guess what? ALL failed...Denis Vlasenko2006-12-301-0/+1
| | | | these are resulting fixes