aboutsummaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Expand)AuthorFilesLines
7 dayslibkmod: add weak dependeciesHEADmasterJose Ignacio Tornos Martinez2-0/+26
2024-02-20Remove unmaintained experimental toolsEmil Velikov3-286/+0
2023-12-06libkmod, depmod, modprobe: Make directory for kernel modules configurableMichal Suchanek5-10/+11
2023-11-05tools: depmod: fix -Walloc-sizeSam James1-4/+4
2023-10-17kmod: Add pkgconfig file with kmod compile time configurationMichal Suchanek1-0/+9
2023-10-17libkmod, depmod: Load modprobe.d, depmod.d from ${prefix}/lib.Michal Suchanek1-0/+1
2023-05-30libkmod, depmod: prefer -ENODATA over -ENOENT if no section foundDmitry Antipov1-1/+1
2023-04-18modprobe: rmmod_do_module: Free kmod list of holdersNicolas Schier1-0/+1
2023-02-09treewide: add some static const notationsEmil Velikov1-1/+1
2023-02-09depmod: Introduce outdir optionEmil Velikov1-3/+22
2023-01-13modprobe: Allow passing path to moduleGustavo Sousa1-10/+24
2023-01-13modprobe: Move insertion block into separate functionGustavo Sousa1-35/+42
2022-06-30modprobe: Write error messages to syslog if stderr is unavailableQuentin Armitage1-0/+7
2022-06-26modprobe: Add --waitLucas De Marchi1-9/+61
2022-06-26modprobe: Move -R to "Query options"Lucas De Marchi1-4/+4
2022-06-26modprobe: re-use modname variableLucas De Marchi1-1/+1
2022-06-26depmod: Fix writing over array lengthLucas De Marchi1-0/+1
2022-04-06modprobe: Make rmmod_do_module() contain all the removal sequenceLucas De Marchi1-15/+22
2022-04-06modprobe: move check for remove_holders to callerLucas De Marchi1-2/+4
2022-04-06modprobe: Fix holders removalLucas De Marchi1-8/+10
2022-04-04modprobe: remove unneeded variable str_startMasahiro Yamada1-3/+3
2022-04-04modprobe: fix the NULL-termination of new_argvMasahiro Yamada1-1/+1
2022-04-01depmod: Add support for excluding a directorySaul Wold1-4/+62
2022-04-01modprobe: Rename rmmod_do_deps_listLucas De Marchi1-4/+5
2022-02-20modinfo: Allow to force arg as module nameLucas De Marchi1-2/+28
2022-02-20modinfo: Update help message with "modulename"Lucas De Marchi1-1/+1
2022-02-11depmod: Stop opening modules.modinfo once per moduleLucas De Marchi1-62/+96
2022-02-11depmod: Do not duplicate builtin indexLucas De Marchi1-4/+1
2021-05-11depmod: fix modules.builtin.alias.bin outputLucas De Marchi1-1/+1
2021-01-18Support /usr/local for configuration filesLucas De Marchi1-0/+1
2021-01-18depmod: fix precedence orderLucas De Marchi1-1/+1
2021-01-07Fix "modinfo -F always shows name for built-ins"Marco d'Itri1-1/+5
2020-12-27depmod: unconditionally write builtin.alias.binLucas De Marchi1-4/+6
2020-12-01depmod: output_builtin_alias_bin: free idx on error pathYauheni Kaliuta1-7/+4
2020-03-13depmod: do not output .bin to stdoutLucas De Marchi1-1/+5
2019-12-18modinfo: Show information about built-in modulesAlexey Gladkov1-18/+21
2019-12-18Lookup aliases in the modules.builtin.modinfoAlexey Gladkov1-0/+63
2019-11-07modprobe: use flags rather than bool argsLucas De Marchi1-8/+8
2019-11-06modprobe: ignore builtin module on recursive removingYauheni Kaliuta1-6/+12
2019-03-08tools: Print a message if refcnt attribute is missingEzequiel Garcia2-6/+12
2018-12-17depmod: shut up gcc insufficinet buffer warningMichal Suchanek1-16/+38
2018-12-17depmod: prevent module dependency files corruption due to parallel invocation.Michal Suchanek1-2/+7
2018-12-17depmod: prevent module dependency files missing during depmod invocationMichal Suchanek1-1/+0
2018-11-13modprobe: add --show-exportsYauheni Kaliuta1-0/+36
2017-12-07depmod: module_is_higher_priority: fix modname length calculationYauheni Kaliuta1-2/+2
2017-12-07depmod: Don't add .TOC. when it's in the kernel.Michal Suchanek1-1/+2
2017-06-01depmod: implement external directories supportYauheni Kaliuta1-22/+150
2017-06-01depmod: rewrite depmod modules search with scratchbufYauheni Kaliuta1-12/+21
2017-06-01depmod: create depmod dir independent search functionYauheni Kaliuta1-9/+22
2017-05-09depmod: search key: move builtin detection under the add functionYauheni Kaliuta1-4/+4
2017-05-08depmod: fix errorpath memleaks in report cycles logicYauheni Kaliuta1-17/+37
2017-02-23depmod: fix leak on error pathLucas De Marchi1-1/+2
2017-02-22depmod: handle nested loopsYauheni Kaliuta1-84/+211
2016-11-08depmod: ignore related modules in depmod_report_cyclesMian Yousaf Kaukab1-1/+12
2016-08-15depmod: fix string overflowLucas De Marchi1-2/+19
2016-06-11depmod: Ignore PowerPC64 ABIv2 .TOC. symbolAnton Blanchard1-0/+2
2016-01-11depmod: Don't insert comment in modules.devname if otherwise emptyJosh Triplett1-4/+8
2015-11-20insmod: fix wron fallthrough of -fMarc-Antoine Perennou1-0/+2
2015-10-25insmod: do support -fPhilippe De Swert1-2/+4
2015-09-30depmod: Don't fall back to uname on bad versionLaura Abbott1-1/+5
2015-09-30depmod: Remove unprinted debug messagesLaura Abbott1-4/+1
2015-09-30Change default log levelLaura Abbott1-1/+1
2015-09-30modprobe: Update error message when path is missingLaura Abbott1-4/+3
2015-06-08tools: display features in --versionLucas De Marchi6-0/+6
2015-06-08tools: add PACKAGE definition in messageLucas De Marchi1-1/+1
2015-06-06tools: Hide new commands behind experimental flagLucas De Marchi1-2/+5
2015-04-16Fix spurious spaces in lsmod outputSantiago Vila1-3/+5
2015-03-07tools: add basic versions of insert and removeCaio Marcelo de Oliveira Filho4-0/+282
2015-02-28depmod: add asserts to ensure positive return from ftell()Lucas De Marchi1-2/+4
2015-02-28modprobe: stop checking initstate for builtin modulesLucas De Marchi1-30/+4
2015-02-26depmod: fix leak in case of malloc(0)Lucas De Marchi1-1/+2
2015-02-25depmod: use cleanup attribute to simplify free on exitLucas De Marchi1-12/+5
2015-02-25depmod: Fix crash in previous commit if root is not setColin Walters1-1/+1
2015-02-25depmod: fix leaking root on exitLucas De Marchi1-1/+5
2015-01-14tools: prefer the use of streq()Lucas De Marchi2-8/+9
2015-01-14tools: kmod: use streqLucas De Marchi1-3/+5
2015-01-14tools: kmod: break iteration once a command is executedCaio Marcelo de Oliveira Filho1-4/+4
2015-01-02Fix includes after change to build-sysLucas De Marchi8-8/+8
2014-11-15depmod: point to documentation in libkmodLucas De Marchi1-101/+2
2014-10-28static-nodes: indicate that creation of static nodes should only happen at bootTom Gundersen1-1/+1
2014-10-09Move remaining functions from libkmod-util to sharedLucas De Marchi2-2/+2
2014-10-09depmod: use alias_normalize() from sharedLucas De Marchi1-38/+5
2014-10-09Do not rely on prio_to_str() being always inlineLucas De Marchi1-5/+10
2014-10-09Do not export array of kmod extensionsLucas De Marchi1-1/+1
2014-10-09Clarify what licences apply whereLucas De Marchi1-0/+339
2014-10-03Rename getline_wrapped() to freadline_wrapped()Lucas De Marchi1-1/+1
2014-10-03Reorder and reorganize header filesLucas De Marchi9-51/+60
2014-10-03Move hash implementation to shared directoryLucas De Marchi1-1/+1
2014-10-03Move array implementation to shared directoryLucas De Marchi2-2/+3
2014-10-03Move generic util functions to shared directoryLucas De Marchi2-1/+3
2014-10-02Move macro.h to shared directoryLucas De Marchi4-4/+5
2014-05-30depmod: Add better error messages when facing loopsLucas De Marchi1-9/+93
2014-05-30depmod: Rename variable to clarify its meaningLucas De Marchi1-8/+12
2014-05-14depmod: Make dependency loops be fatalLucas De Marchi1-46/+9
2014-04-01config: also parse softdeps from modulesTom 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 anymoreLucas 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