aboutsummaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Expand)AuthorFilesLines
2014-04-01config: also parse softdeps from modulesHEADmasterTom Gundersen1-2/+0
2014-03-19depmod: do not allow partial matches with "search" directiveAnssi Hannula1-2/+2
2014-03-19depmod: fix debug print parameter orderAnssi Hannula1-1/+1
2014-03-06build-sys: add small redirecting MakefilesLucas De Marchi1-0/+13
2014-03-05libkmod-config,depmod: Accept special files as configuration files, tooMichal Marek1-4/+1
2014-01-26Remove "rmmod -w" documentation and getopt entryStephen Kitt1-1/+0
2013-09-20rmmod: remove --wait optionLucas De Marchi1-11/+5
2013-09-10depmod: warn on invalid devname specificationTom Gundersen1-3/+10
2013-08-29Fix usage of readdir_r()Lucas De Marchi1-12/+4
2013-08-09depmod: add missing "else" clauseJan Engelhardt1-1/+1
2013-07-15static-nodes: create parent directories of output fileTom Gundersen1-3/+9
2013-07-15static-nodes: don't fail if modules.devname not foundTom Gundersen1-12/+19
2013-07-02tools: Use test/kmod instead of kmod-nolibLucas De Marchi1-1/+1
2013-07-01static-nodes: Better -f option descriptionLucas De Marchi1-1/+1
2013-05-02modprobe: don't check refcount with remove commandJohannes Berg1-1/+1
2013-04-21Add format attribute and fix issuesLucas De Marchi4-9/+12
2013-04-19static-nodes: Fix indentationLucas De Marchi1-162/+170
2013-04-19static-nodes: tmpfiles - also create parents directories of device nodesTom Gundersen1-3/+11
2013-04-17kmod: It's an error not to have modules.devnameLucas De Marchi1-2/+3
2013-04-16tools: add static-nodes toolTom Gundersen3-0/+248
2013-03-21modprobe: Fix assertion on --show-depends with bogus config fileLucas De Marchi1-2/+6
2013-03-18rmmod: Teach rmmod about builtin modulesJosh Boyer1-1/+7
2013-01-16Update copyright noticesLucas De Marchi10-10/+10
2012-12-31depmod: fix builtin symbols resolution when the prefix symbol is setAndrey Mazo1-7/+12
2012-12-13depmod: --symbol-prefix actually requires an argumentAndrey Mazo1-1/+1
2012-11-28depmod: fix checking file extensionLucas De Marchi1-2/+3
2012-11-28fix is_module_filename()Aleksey Makarov2-46/+4
2012-11-16depmod: fix asserting mod->kmod == NULLLucas De Marchi1-1/+1
2012-11-16depmod: fix hash lookup by relpath instead of uncrelpathLucas De Marchi1-3/+3
2012-11-06tools: use program_invocation_short_name provided by libcLucas De Marchi8-19/+17
2012-11-06tools: staticize functions that are now only used in log.cLucas De Marchi2-51/+43
2012-11-06tools: share function for loggingLucas De Marchi7-122/+36
2012-11-06tools: share setting up libkmod logLucas De Marchi5-5/+17
2012-11-06tools: use a single function for logging libkmod outputLucas De Marchi4-74/+85
2012-11-06tools: make usage() messages go to stdout rather than stderrLucas De Marchi5-10/+5
2012-11-06tools: share function to convert prio to stringLucas De Marchi5-65/+60
2012-11-06tools: share getting program name from argv for all toolsLucas De Marchi8-28/+34
2012-11-05rmmod: route all messages to syslog if told toLucas De Marchi1-20/+73
2012-11-05rmmod: prefer ERR over plain fprintfLucas De Marchi1-16/+13
2012-11-05modinfo: prefer ERR over plain fprintfLucas De Marchi1-16/+14
2012-11-05insmod: prefer ERR over plain fprintfLucas De Marchi1-11/+11
2012-11-05depmod: add depmod prefix to log messagesLucas De Marchi1-1/+1
2012-11-05depmod: remove inline from _logLucas De Marchi1-1/+1
2012-11-05depmod: prefer ERR and WRN over plain fprintfLucas De Marchi1-11/+7
2012-11-01modprobe: use ERR() instead of fprintf(stderr, ...)Lucas De Marchi1-30/+32
2012-11-01modprobe: prefix log messages to stderr with modprobeLucas De Marchi1-3/+3
2012-11-01modprobe: move log functionLucas De Marchi1-29/+29
2012-11-01modprobe: prefix libkmod messages to stderr with modprobe:Lucas De Marchi1-7/+18
2012-10-31modprobe: use prio_to_str() helperLucas De Marchi1-39/+25
2012-10-31modprobe: exit in one placeLucas De Marchi1-8/+5
2012-10-30depmod: unref kmod_module once we don't need it anymoretipLucas De Marchi1-3/+6
2012-10-30depmod: use our copy of modname instead of calling libkmodLucas De Marchi1-10/+6
2012-10-30depmod: cache dependency_symbol list in struct modLucas De Marchi1-11/+15
2012-10-30depmod: cache info_list in struct modLucas De Marchi1-32/+22
2012-10-30depmod: do not create a hole in struct depmodLucas De Marchi1-1/+1
2012-10-17rmmod: Deprecate --wait optionLucas De Marchi1-2/+2
2012-10-03depmod: fix parsing of modules.order with compressed modulesLucas De Marchi1-17/+29
2012-10-02build-sys: Remove --with-rootprefix optionDave Reisner3-6/+6
2012-08-17modprobe: Unconditionally use KMOD_PROBE_APPLY_BLACKLIST_ALIAS_ONLYLucas De Marchi1-0/+1
2012-07-18Use #pragma once instead of #ifndefLucas De Marchi1-3/+1
2012-06-15depmod: use ferror and fclose to check for errorLucas De Marchi1-7/+6
2012-06-15depmod: return error when index is truncated due to ENOSPCLucas De Marchi1-0/+9
2012-06-15depmod: fix coding-style issue in array declarationLucas De Marchi1-29/+29
2012-06-15depmod: fail if any index could not be createdLucas De Marchi1-8/+14
2012-06-15depmod: don't return error if modules.builtin don't existLucas De Marchi1-3/+2
2012-06-15Remove ifdef for building tools not bundledLucas De Marchi6-54/+0
2012-06-14tools: rename source filesLucas De Marchi6-0/+0
2012-05-08depmod: report failures in loading symbolsDave Reisner1-2/+5
2012-04-26Return error instead of always 0Lucas De Marchi1-1/+1
2012-04-26Remove dead assignmentLucas De Marchi1-1/+1
2012-04-16modprobe: handle -ENOENT return from init_moduleDave Reisner1-0/+5
2012-03-22modprobe: fix typo in config dump: option->optionsElan Ruusamäe1-1/+1
2012-03-15modprobe: set log prio to 0 if user passed -q argLucas De Marchi1-1/+1
2012-03-15Merge branch 'master' of git://code.falconindy.com/kmodLucas De Marchi1-11/+8
2012-03-15modprobe: always try to remove all modules in command lineLucas De Marchi1-1/+1
2012-03-15modprobe: don't check if module builtin to decide if it's builtinLucas De Marchi1-5/+14
2012-03-14modprobe: fix error path in removing modulesDave Reisner1-11/+8
2012-02-27modprobe: show builtin label on --show-dependsDave Reisner1-1/+3
2012-02-24modinfo: use new apply_filter method to avoid builtinsDave Reisner1-3/+15
2012-02-06modinfo: handle arguments more carefullyDan McGee1-3/+20
2012-02-06libkmod-module: probe: rename flag to be more meaningfulLucas De Marchi1-1/+1
2012-02-05Update .gitignore filesDan McGee1-9/+15
2012-02-03depmod: Dont use errno unconditionallyKhem Raj1-14/+16
2012-02-03modprobe: avoid breaking on insertion failureDave Reisner1-2/+0
2012-01-31modprobe: properly handle errors from init_moduleDave Reisner1-4/+15
2012-01-31modprobe: post-remove module deps with 0 refcntDave Reisner1-0/+12
2012-01-31kmod-modprobe: migrate to kmod_module_probe_insert_module()Lucas De Marchi1-224/+41
2012-01-27modprobe: print end of configuration filesLucas De Marchi1-0/+1
2012-01-26modprobe: fix build 'cause of excessive number of argumentsLucas De Marchi1-2/+1
2012-01-26modprobe: remove code referring to -t, --typeDave Reisner1-14/+1
2012-01-21build-sys: do not create symlinks by defaultLucas De Marchi2-101/+0
2012-01-21modprobe: kill operations depending on pathLucas De Marchi1-56/+2
2012-01-18Add program to calculate the shortest relative path for symlinksLucas De Marchi2-0/+101
2012-01-17WEXITSTATUS is defined in sys/wait.hThierry Vignaud1-0/+1
2012-01-17modprobe: flush stdout before dumping indexesLucas De Marchi1-0/+2
2012-01-16Fix common misspelling with codespellLucas De Marchi1-1/+1
2012-01-16modprobe: dump indexes as wellLucas De Marchi1-0/+3
2012-01-14depmod: deal with relative root dirLucas De Marchi1-3/+4
2012-01-14depmod: fix idx calculation after postponed array creationLucas De Marchi1-3/+4
2012-01-14Reduce scope of counter variableLucas De Marchi1-1/+3
2012-01-14depmod: adhere to coding styleLucas De Marchi1-3/+6
2012-01-13modprobe: dump configurationLucas De Marchi1-10/+37
2012-01-12modprobe: abort on dependency loop that cannot be brokenLucas De Marchi1-12/+75
2012-01-12modprobe: fix leak on error pathLucas De Marchi1-5/+10
2012-01-12modprobe: rework module removal without tree traversingLucas De Marchi1-170/+48
2012-01-12modprobe: rework module insertion without tree traversingLucas De Marchi1-188/+95
2012-01-11modprobe: show if module is in kernelLucas De Marchi1-4/+30
2012-01-11depmod: Postpone creation of module arrayJan Alexander Steffens (heftig)1-11/+23
2012-01-11modprobe: break dependency loop by checking if module is loadedLucas De Marchi1-8/+8
2012-01-11modprobe: adhere do coding styleLucas De Marchi1-47/+61
2012-01-10rmmod: behavior more like m-i-t's rmmodDave Reisner1-4/+46
2012-01-10modprobe: check for EPERM on insertionDave Reisner1-1/+10
2012-01-10build-sys: workaround libtool issue with argv[0]Lucas De Marchi1-0/+1
2012-01-10build-sys: create symlinks instead of building separate toolsLucas De Marchi1-6/+6
2012-01-09Update copyrightLucas De Marchi8-8/+8
2012-01-08modprobe: fix error path when loading dependenciesLucas De Marchi1-1/+3
2012-01-08modprobe: show is independent from verbose level.Gustavo Sverzut Barbieri1-2/+3
2012-01-08Replace NAME_MAX with PATH_MAX for module aliasesLucas De Marchi1-2/+2
2012-01-06tools/kmod-depmod: fix aliasing warningRolf Eike Beer1-4/+6
2012-01-06Revert "tools/kmod-depmod: fix aliasing warning"Lucas De Marchi1-6/+4
2012-01-06tools/kmod-depmod: fix aliasing warningroot1-4/+6
2012-01-06tools/modprobe: exit non-zero on module not found with --allDave Reisner1-1/+1
2012-01-06tools/modinfo: exit non-zero on module not foundDave Reisner1-0/+6
2012-01-05tools: use basename in help messageLucas De Marchi4-4/+4
2012-01-04kmod-depmod: demote messages to WRN when non-critical files are missingLucas De Marchi1-2/+2
2012-01-04tools: unify error verbiage and casingDave Reisner3-20/+20
2012-01-03kmod-depmod: fix replacement of existing modules.Gustavo Sverzut Barbieri1-49/+37
2012-01-03kmod-depmod: fix comparison of module priority.Gustavo Sverzut Barbieri1-11/+14
2012-01-03kmod-depmod: fix incorrect math finding out end of dirname.Gustavo Sverzut Barbieri1-1/+1
2012-01-03kmod-depmod: document --config/-C in help output.Gustavo Sverzut Barbieri1-0/+1
2012-01-03kmod-depmod: add missing trailing \n to log messages.Gustavo Sverzut Barbieri1-2/+2
2012-01-01kmod-modprobe: mimic modprobe when removing deps with usecount=0Lucas De Marchi1-3/+14
2012-01-01Fix leak of kmod_module and fix code styleLucas De Marchi1-3/+5
2011-12-31kmodprobe: post-remove module deps with 0 refcntDave Reisner1-1/+12
2011-12-31modprobe: use lighter access call instead of statDave Reisner1-3/+1
2011-12-31modprobe: remove --list optionDave Reisner1-25/+4
2011-12-28Move libkmod-util.c to convenience util libLucas De Marchi1-90/+7
2011-12-28Move array implementation from depmode to libkmod-utilLucas De Marchi1-71/+1
2011-12-27tools: kmod: bundle depmod together with the othersLucas De Marchi3-2/+21
2011-12-27Fix header guardLucas De Marchi1-1/+2
2011-12-27kmod tool: don't keep iterating when command has been executedLeandro Pereira1-6/+3
2011-12-27kmod-depmod: use hash implementation from util libLucas De Marchi1-293/+27
2011-12-27kmod-depmod: Fix leak of dependency vectorLucas De Marchi1-0/+1
2011-12-27kmod-depmod: refactor extension matching array, support XZ.Gustavo Sverzut Barbieri1-18/+18
2011-12-27kmod-depmod: implement -A (--quick)Gustavo Sverzut Barbieri1-3/+132
2011-12-27kmod-depmod: implement -F and -E options.Gustavo Sverzut Barbieri1-0/+125
2011-12-27kmod-depmod: dump modules.dep.binGustavo Sverzut Barbieri1-1/+84
2011-12-27kmod-depmod: dump modules.alias.binGustavo Sverzut Barbieri1-1/+49
2011-12-27kmod-depmod: dump modules.symbols.binGustavo Sverzut Barbieri1-1/+42
2011-12-27kmod-depmod: dump modules.builtin.binGustavo Sverzut Barbieri1-1/+43
2011-12-27kmod-depmod: add utility functions to be used by binary dumps.Gustavo Sverzut Barbieri1-0/+69
2011-12-27kmod-depmod: copy code from module-init-tools/index.cGustavo Sverzut Barbieri1-3/+406
2011-12-27kmod-depmod: dump deps.Gustavo Sverzut Barbieri1-1/+114
2011-12-27kmod-depmod: dump aliasesGustavo Sverzut Barbieri1-1/+29
2011-12-27kmod-depmod: dump softdeps.Gustavo Sverzut Barbieri1-1/+31
2011-12-27kmod-depmod: dump modules.symbolsGustavo Sverzut Barbieri1-1/+23
2011-12-27kmod-depmod: dump devnameGustavo Sverzut Barbieri1-2/+136
2011-12-27kmod-depmod: initial code (no files generated, untested)Gustavo Sverzut Barbieri2-0/+1894
2011-12-23tools: kmod: show wrong command in err messageLucas De Marchi1-6/+9
2011-12-23tools: kmod: print help message when no commands givenLucas De Marchi1-3/+3
2011-12-23tools: kmod: add list commandLucas De Marchi3-0/+8
2011-12-23tools: kmod: Add handling of compat modprobeLucas De Marchi3-1/+20
2011-12-23tools: kmod: Add handling of compat modinfoLucas De Marchi3-1/+20
2011-12-23tools: kmod: Add handling of compat insmodLucas De Marchi3-1/+20
2011-12-23tools: kmod: Add handling of compat rmmodLucas De Marchi3-1/+20
2011-12-23tools: kmod: Add handling of compat lsmodLucas De Marchi3-4/+52
2011-12-23tools: kmod: check progname for handling compat commandsLucas De Marchi1-1/+17
2011-12-23tools: kmod: Add global optionsLucas De Marchi1-5/+39
2011-12-23tools: add skeleton of kmod toolLucas De Marchi3-0/+115
2011-12-23kmod_modprobe: use basename(argv[0]) in help messageLucas De Marchi1-1/+1
2011-12-23kmod-modprobe: fix leak in command line option processing.Gustavo Sverzut Barbieri1-0/+2
2011-12-20kmod_modprobe: fix description of -C flagLucas De Marchi1-1/+1
2011-12-20introduce --with-rootprefix=DIRKay Sievers2-5/+5
2011-12-20kmod_modprobe: Fix regression when inserting moduleLucas De Marchi1-4/+11
2011-12-19kmod-modinfo: -p (-F parm) shows also parmtype in Debian expected formatting.Gustavo Sverzut Barbieri1-30/+93
2011-12-19kmod-modinfo: fix typo and output format.Gustavo Sverzut Barbieri1-3/+3
2011-12-19kmod-modinfo: add missing short options.Gustavo Sverzut Barbieri1-1/+1
2011-12-19Introduce kmod-modinfo.Gustavo Sverzut Barbieri2-0/+372
2011-12-19kmod-modprobe: improve --help output.Gustavo Sverzut Barbieri1-23/+27
2011-12-19kmod-modprobe: implement --dump-modversionsGustavo Sverzut Barbieri1-9/+24
2011-12-19kmod_modprobe: properly handle install/remove commandsLucas De Marchi1-27/+18
2011-12-19kmod_modprobe: fix handling of remove commandsLucas De Marchi1-44/+45
2011-12-17kmod-modprobe: implement softdeps.Gustavo Sverzut Barbieri1-43/+166
2011-12-16tools: fix kmod-modprobe -R trying to insert moduleLucas De Marchi1-3/+6
2011-12-12Change licensesLucas De Marchi4-32/+36
2011-12-12Remove warnings: ‘err’ may be used uninitialized in this functionLucas De Marchi1-1/+1
2011-12-12Do not use config if it's not needed/wantedLucas De Marchi3-3/+6
2011-12-12Rename kmod_loaded_get_list() to kmod_module_new_from_loaded()Lucas De Marchi1-1/+1
2011-12-11API-BREAK: kmod_new() takes a second parameter for configuration directory.Gustavo Sverzut Barbieri4-9/+21
2011-12-11tools: add modprobeGustavo Sverzut Barbieri2-0/+1151
2011-12-11add lsmod, insmod and rmmod tools.Gustavo Sverzut Barbieri4-0/+433