aboutsummaryrefslogtreecommitdiff
path: root/modutils/depmod.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Apply post-1.23.0 patches, bump version to 1.23.11_23_1Denys Vlasenko2015-01-271-7/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace fixes. no code changesDenys Vlasenko2013-01-141-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* depmod: supply help textLauri Kasanen2012-02-191-9/+18
| | | | | Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mass removal of underscores from _BB_DIR_foo and _BB_SUID_fooDenys Vlasenko2011-01-181-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* depmod: accept and ignore -u, -q, -C FILEPascal Bellard2010-10-181-2/+7
| | | | | Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* modutils/*: move help bits into corresponding .c filesDenys Vlasenko2010-10-161-0/+5
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* modutils/*: move applet bits into corresponding *.c filesDenys Vlasenko2010-10-151-0/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-1/+1
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* depmod: generate "new-style" modules.dep with relative paths.Denys Vlasenko2010-07-181-29/+47
| | | | | | | | | | function old new delta parse_module 384 379 -5 depmod_main 590 559 -31 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-36) Total: -36 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: stop defining _GNU_SOURCE in source files, it's in CFLAGS anywayDenys Vlasenko2010-06-181-2/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: style fixes. no code changes (verified with objdump)Denys Vlasenko2010-01-281-2/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* more C standard compat fixes from Dan FandrichDenys Vlasenko2009-09-061-2/+2
| | | | | | | function old new delta docolon 207 204 -3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* depmod: fix handling of .gz modulesDenys Vlasenko2009-05-181-13/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make modutils compile againNed Ludd2009-02-201-1/+1
|
* depmod: accept and ignore -r (Linux kernle build needs this)Denis Vlasenko2009-02-191-1/+2
|
* depmod: fix -b option (by timo.teras AT iki.fi)Denis Vlasenko2009-01-121-20/+37
| | | | | | | | | | function old new delta xfreopen_write - 35 +35 parse_module 346 353 +7 depmod_main 553 546 -7 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 42/-7) Total: 35 bytes
* *: remove superfluous casts. no code changesDenis Vlasenko2008-11-061-1/+1
|
* - update my name. No obj-code changes ;)Bernhard Reutner-Fischer2008-09-251-1/+1
|
* modutils/*: rewrite by Timo Teras <timo.teras AT iki.fi>Denis Vlasenko2008-09-131-226/+152
| | | | | | | | | | | | | | | - a lot faster (linear algorithmic complexity, smaller memory foot print) - a lot smaller (the old code was overly complicated) - loading of aliases is now module-init-tools compliant - blacklisting is done correctly (-b option added) - module argument quoting done right - depmod now correctly generates modules.symbols and modules.alias add/remove: 16/21 grow/shrink: 4/6 up/down: 6930/-9316 Total: -2386 bytes text data bss dec hex filename 806039 592 6680 813311 c68ff busybox_old 803498 592 6676 810766 c5f0e busybox_unstripped
* libbb: [x]fopen_for_{read,write} introduced and used.Denis Vlasenko2008-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-051-2/+2
|
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko2008-06-271-1/+1
| | | | | | | text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
* whitespace fixes. no code changesDenis Vlasenko2008-06-251-2/+2
|
* whitespace and comment fixes, no code changesDenis Vlasenko2008-06-161-1/+1
|
* - 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-021-85/+105
|
* - 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-021-21/+107
|
* - 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
* - Add config option for DEFAULT_DEPMOD_FILE and DEFAULT_DEPMOD_FILE.Bernhard Reutner-Fischer2008-05-271-8/+2
| | | | No obj-code changes.
* - improve option-handling a bitBernhard Reutner-Fischer2008-05-261-22/+41
|
* - add basic option-handling (+220b). UntestedBernhard Reutner-Fischer2008-05-261-8/+42
|
* - use mmap instead of allocating hundreds of megabytes of RAM. +39bBernhard Reutner-Fischer2008-05-261-20/+43
|
* - remove some bloat -28b: now approx. 501bBernhard Reutner-Fischer2008-05-261-4/+5
|
* - switch to FILE base writer and remove now unneeded stuff. -50bBernhard Reutner-Fischer2008-05-261-10/+5
|
* - add simple first-draft unoptimized depmod just to proove Vladimir ↵Bernhard Reutner-Fischer2008-05-261-0/+116
Dronnikov wrong text data bss dec hex filename 569 0 0 569 239 modutils/depmod.o