aboutsummaryrefslogtreecommitdiffstats
path: root/libkmod
AgeCommit message (Expand)AuthorFilesLines
6 dayslibkmod: add weak dependeciesHEADmasterJose Ignacio Tornos Martinez6-4/+276
2024-04-30libkmod: keep KMOD_FILE_COMPRESSION_NONE/load_reg in comp_typesEmil Velikov1-11/+8
2024-04-30libkmod: move load_reg() further upEmil Velikov1-12/+12
2024-04-30libkmod: tidy-up kmod_file_open()Emil Velikov1-36/+27
2024-04-30libkmod: swap alloca usage for a few assert_ccEmil Velikov1-14/+8
2024-04-30libkmod: always detect the module compressionEmil Velikov1-9/+18
2024-04-30libkmod: move kmod_file_load_contents as applicableEmil Velikov1-4/+4
2024-04-30libkmod: propagate {zstd,xz,zlib}_load errorsEmil Velikov3-6/+15
2024-04-30libkmod: nuke struct file_opsEmil Velikov1-44/+18
2024-04-30libkmod: clear file->memory if map failsEmil Velikov1-1/+3
2024-04-30libkmod: remove kmod_file::{zstd,xz}_used flagsEmil Velikov1-12/+0
2024-04-30libkmod: keep gzFile gzf local to load_zlib()Emil Velikov1-11/+7
2024-04-30libkmod: use a dup()'d fd for zlibEmil Velikov1-7/+12
2024-02-02Drop python bindingsLucas De Marchi14-648/+0
2023-12-06libkmod, depmod, modprobe: Make directory for kernel modules configurableMichal Suchanek1-2/+2
2023-11-07libkmod: remove pkcs7 obj_to_hash_algo()Dimitri John Ledkov1-39/+20
2023-10-17libkmod, depmod: Load modprobe.d, depmod.d from ${prefix}/lib.Michal Suchanek1-3/+4
2023-06-20libkmod: Use kernel decompression when availableLucas De Marchi4-6/+21
2023-06-09libkmod: Keep track of in-kernel compression supportLucas De Marchi1-0/+37
2023-06-09libkmod: Keep track of compression typeLucas De Marchi2-12/+22
2023-06-09libkmod: Extract finit_module vs init_module pathsLucas De Marchi1-47/+73
2023-06-09libkmod: Do not inititialize file->memory on openLucas De Marchi4-4/+27
2023-05-30libkmod: fix possible out-of-bounds memory accessDmitry Antipov1-0/+4
2023-05-30libkmod, depmod: prefer -ENODATA over -ENOENT if no section foundDmitry Antipov1-3/+3
2023-02-21libkmod: annotate kmod_builtin_iter API as staticEmil Velikov2-9/+4
2023-02-21libkmod: remove unused kmod_module_get_builtinEmil Velikov2-44/+0
2023-02-09libkmod: error out on unknown hash algorithmEmil Velikov1-1/+5
2023-02-09treewide: add some static const notationsEmil Velikov2-4/+4
2022-10-03libkmod: do not crash on unknown signature algorithmMikhail Novosyolov1-0/+3
2022-06-30libkmod: Support SM3 hash algorithmHuaxinLu1-0/+6
2022-06-26libkmod: Allow to ignore log message on module removalLucas De Marchi2-4/+11
2022-03-03docs: Add missing functions to documentationLucas De Marchi1-0/+2
2022-02-23libkmod: Fix use of sizeof instead of ARRAY_SIZELucas De Marchi1-2/+2
2022-02-20libkmod: Add lookup from module nameLucas De Marchi3-0/+61
2022-02-20libkmod: Update docs about indexes orderLucas De Marchi1-1/+1
2022-02-20libkmod: Add helper function to iterate lookup optionsLucas De Marchi1-45/+37
2022-02-20libkmod-module: Fix return code for kmod_module_new_from_lookup()Lucas De Marchi1-2/+2
2022-02-11libkmod: Prefer builtin index over builtin.aliasLucas De Marchi1-5/+7
2022-01-20libkmod: Set builtin to no when module is created from path.Michal Suchanek1-8/+9
2021-09-23libkmod: add a library notice log level printLuis Chamberlain1-0/+2
2021-06-09libkmod-module: check "new_from_name" return value in get_builtinYauheni Kaliuta1-1/+4
2021-05-11Fix return value doc for kmod_module_get_info()Lucas De Marchi1-1/+1
2021-04-17libkmod: fix possible double free with wrong modules.builtin.modinfoSeung-Woo Kim1-1/+1
2021-04-17libkmod: fix an overflow with wrong modules.builtin.modinfoSeung-Woo Kim1-1/+1
2021-04-09libkmod-config: fix a memory leak when kmod_list_append() failsSeung-Woo Kim1-1/+3
2021-03-10libkmod-config: more chars allowed as spaceLucas De Marchi1-2/+5
2021-02-15libkmod-config: re-quote option from kernel cmdlineLucas De Marchi1-1/+35
2021-02-15libkmod-config: revamp kcmdline parsing into a state machineLucas De Marchi1-34/+52
2021-01-18Support /usr/local for configuration filesLucas De Marchi1-4/+6
2021-01-18libkmod: Fix documentation on config precedence orderLucas De Marchi1-1/+1
2020-12-01libkmod: kmod_log_null: qualify ctx argument as constYauheni Kaliuta1-1/+1
2020-12-01libkmod: kmod_builtin_get_modinfo: free modinfo on errorYauheni Kaliuta1-0/+1
2020-09-10add Zstandard compression supportTorge Matthies2-1/+145
2020-03-23libkmod: allow modules.alias.builtin to be optionalLucas De Marchi1-3/+12
2020-03-23libkmod: fix return error when opening indexLucas De Marchi3-22/+29
2020-03-23libkmod: simplify lookup when builtin.modinfo.bin file is missingLucas De Marchi2-18/+15
2020-03-13libkmod: ignore kcmdline option if we fail to parse modnameLucas De Marchi1-1/+2
2020-01-20libkmod: reset was_space on second passLucas De Marchi1-0/+1
2019-12-29libkmod-module: convert return value from system() to errnoTopi Miettinen1-6/+11
2019-12-18modinfo: Show information about built-in modulesAlexey Gladkov2-8/+17
2019-12-18Lookup aliases in the modules.builtin.modinfoAlexey Gladkov4-2/+35
2019-12-18libkmod: Add function to get list of built-in modulesAlexey Gladkov2-0/+41
2019-12-18libkmod: Add parser for modules.builtin.modinfoAlexey Gladkov2-0/+337
2019-05-28libkmod-signature: use PKCS#7 instead of CMSStefan Strogin1-18/+19
2019-02-04libkmod-signature: implement pkcs7 parsing with opensslYauheni Kaliuta3-4/+199
2018-11-16signature: do not report wrong data for pkc#7 signatureYauheni Kaliuta2-19/+39
2018-06-18kmod: build: cure compiler warnings showing up externallyJan Engelhardt1-2/+2
2018-04-05libkmod-module: check for NULL before accessing pointersLuca Bruno1-13/+10
2017-08-04libkmod-elf: resolve CRC if module is built with MODULE_REL_CRCSYauheni Kaliuta1-1/+29
2017-04-11libkmod: modinfo: implement signature outputYauheni Kaliuta3-1/+16
2017-04-11libkmod: modinfo: implement line splitting in hex_to_strYauheni Kaliuta1-5/+15
2017-04-11libkmod: modinfo: use own function for sig_key hex outputYauheni Kaliuta1-25/+54
2017-04-11libkmod: modinfo: fix sig_id outputYauheni Kaliuta1-1/+1
2017-02-16libkmod-config: fix parsing quoted kernel cmdline on paramsLucas De Marchi1-0/+14
2017-02-16libkmod-config: replace 0/1 with boolLucas De Marchi1-4/+4
2017-02-16module: fix a memory leakBartosz Golaszewski1-4/+6
2017-01-23libkmod: Fix handling of quotes in kernel command lineJames Minor1-0/+7
2016-08-08libkmod: fix use of strcpyLucas De Marchi1-6/+11
2016-06-28libkmod: fix integration with gtk-docLucas De Marchi1-1/+3
2016-06-27libkmod-module: modinfo: print signature idLucas De Marchi1-1/+7
2016-06-27libkmod-signature: handle PKCS#7Lucas De Marchi1-0/+2
2016-06-27libkmod-module: do not crash modinfo on 0 key id lenLucas De Marchi1-15/+23
2016-06-21libkmod: Handle long lines in /proc/modulesMichal Marek1-2/+10
2016-05-21kmod_module_get_refcnt: fix documentationPeter Wu1-1/+1
2015-09-30libkmod: export new kmod_get_dirname() functionLucas De Marchi2-1/+14
2015-09-30modprobe: Update error message when path is missingLaura Abbott2-2/+1
2015-06-13libkmod-module: fix return code in error pathLucas De Marchi1-1/+1
2015-02-28Check return of fseek while reading indexLucas De Marchi1-1/+2
2015-02-28Avoid sign-extension error on multiplicationLucas De Marchi1-1/+1
2015-02-28Fix race while loading modulesHarish Jenny K N3-19/+57
2015-02-18libkmod: better explain a signed module layoutLucas De Marchi1-7/+11
2015-02-18libkmod: consider empty signature key as invalidLucas De Marchi1-1/+2
2015-02-18Fix out of bounds signature access with 32 bit off_tTobias Stoeckmann1-1/+1
2015-02-17libkmod: properly validate file sizeTobias Stoeckmann1-5/+5
2015-02-10libkmod: use helper function to check for overflowLucas De Marchi1-2/+2
2015-02-10Prevent offset + size overflow.Tobias Stoeckmann1-1/+1
2015-01-25Fix uninitialized warningLucas De Marchi1-1/+1
2015-01-02Fix include in python bindingsLucas De Marchi1-1/+1
2015-01-02libkmod-elf: Remove unused variablesLucas De Marchi1-6/+0
2014-12-25Remove FSF mailing addressLucas De Marchi10-20/+10
2014-11-15libkmod-index: move comment to include the includesLucas De Marchi1-5/+5
2014-11-15libkmod-index: remove invalid commentLucas De Marchi1-1/+0
2014-10-29libkmod-index: keep index and comments in .cLucas De Marchi2-104/+99
2014-10-11shared: rename prefixes of strbuf functionsLucas De Marchi1-60/+60
2014-10-11Move strbuf implementation to shared/Lucas De Marchi1-111/+1
2014-10-09libkmod: remove unused inline functionsLucas De Marchi1-16/+0
2014-10-09Log error on failed underscores(), moving it to shared/Lucas De Marchi1-56/+17
2014-10-09Move remaining functions from libkmod-util to sharedLucas De Marchi4-112/+0
2014-10-09Move alias_normalize() to sharedLucas De Marchi2-40/+0
2014-10-09Do not export array of kmod extensionsLucas De Marchi2-8/+6
2014-10-03Rename getline_wrapped() to freadline_wrapped()Lucas De Marchi1-1/+1
2014-10-03Prefer inttypes.h over stdint.hLucas De Marchi2-2/+2
2014-10-03Reorder and reorganize header filesLucas De Marchi8-47/+45
2014-10-03Move hash implementation to shared directoryLucas De Marchi5-367/+1
2014-10-03Move array implementation to shared directoryLucas De Marchi3-136/+0
2014-10-03Move generic util functions to shared directoryLucas De Marchi10-366/+32
2014-10-03Move missing.h to shared directoryLucas De Marchi3-57/+3
2014-10-02Move macro.h to shared directoryLucas De Marchi5-75/+6
2014-09-29Add back-up implementation of be32toh()Randy MacLeod2-0/+11
2014-09-04libkmod-index.c: Fix error messageHolger Obermaier1-1/+1
2014-06-19Add missing O_CLOEXEC in kmod_module_get_size()Cristian Rodríguez1-1/+1
2014-05-18Fix use-after-free in hash implementation.Lukas Anzinger1-0/+1
2014-05-14Close /sys/module/$NAME directory if opening /proc/module fails.Leandro Pereira1-0/+1
2014-05-14Free abspath if kmod_module_new_from_path() fails.Leandro Pereira1-1/+3
2014-05-14Free realnames if kmod_lookup_alias_from_alias_bin() failsLeandro Pereira1-0/+1
2014-05-14Ensure read_long() reads the correct number of bytes from the indexLeandro Pereira1-1/+1
2014-05-14Bail out of index_mm_open() if fstat() failsLeandro Pereira1-1/+2
2014-04-07Make sure there's NUL byte at the end of strndupaLucas De Marchi1-4/+7
2014-04-07Add strndupa to missing.hLucas De Marchi1-0/+8
2014-04-01config: also parse softdeps from modulesTom Gundersen1-0/+2
2014-04-01libkmod: Ignore errors from softdepsMichal Marek3-4/+48
2014-03-26build-sys: add hooks to build python bindingsLucas De Marchi2-1/+2
2014-03-26python: Remove unused files from importLucas De Marchi10-964/+0
2014-03-25python: Issue #15: resovled by using setuptools_cythonGuy Rozendorn1-9/+7
2014-03-25python: Issue #15: Cython needs to be in setup_requiresGuy Rozendorn1-1/+1
2014-03-25python: Issue #15 Cython is now a dependencyGuy Rozendorn1-3/+9
2014-03-25python: update version to 0.9.1Andy Grover1-1/+1
2014-03-25python: Issue #13 skipping building extensions on non-Linux platformsGuy Rozendorn2-10/+16
2014-03-25python: Make kmod.modprobe() raise an error if no modules foundAndy Grover1-2/+12
2014-03-25python: Add self as maintainer to setup.pyAndy Grover1-0/+2
2014-03-25python: Correct building for python 2.6Andy Grover1-1/+1
2014-03-25python: add docstring to insert and remove methodsOz1-0/+14
2014-03-25python: add docstring to rmmodOz1-0/+4
2014-03-25python: update version to 0.9Andy Grover1-1/+1
2014-03-25python: Update READMEAndy Grover1-4/+4
2014-03-25python: MANIFEST.in: add AUTHORS to distibuted source files.W. Trevor King1-0/+1
2014-03-25python: Ran update-copyright.py.W. Trevor King14-93/+161
2014-03-25python: .update-copyright.conf: update to pipe separators.W. Trevor King1-2/+2
2014-03-25python: .update-copyright.conf: add MANIFEST.in to ignored files.W. Trevor King1-2/+5
2014-03-25python: .update-copyright.conf: add Red Hat alias for Andy Grover.W. Trevor King1-0/+3
2014-03-25python: .update-copyright.conf: add README.rst to ignored files.W. Trevor King1-1/+2
2014-03-25python: .mailmap: consolidate Andy Grover email addresses.W. Trevor King1-0/+1
2014-03-25python: .update-copyright.conf: add copyright configuration.W. Trevor King1-0/+18
2014-03-25python: module: fix versions -> info typo in Module._info_get() error message.W. Trevor King1-1/+1
2014-03-25python: Initialize Kmod.mod_dir to None in __cinit__().W. Trevor King1-0/+1
2014-03-25python: Use an OrderedDict for Module.info (preserving modinfo ordering).W. Trevor King1-1/+3
2014-03-25python: Add Module.info attribute.W. Trevor King2-0/+26
2014-03-25python: Use Cython's libc.errno for EEXIST.W. Trevor King2-5/+3
2014-03-25python: Add Module.versions attribute.W. Trevor King2-0/+29
2014-03-25python: README.rst: add .rst symlink for GitHub.W. Trevor King1-0/+1
2014-03-25python: README: mention Cython dependency.W. Trevor King1-1/+1
2014-03-25python: README: cleanup reStructuredText syntax.W. Trevor King1-20/+13
2014-03-25python: Add missing copyright blurbs.W. Trevor King11-0/+122
2014-03-25python: Add docstrings to kmod.kmod and kmod.kmod.Kmod.W. Trevor King1-0/+3
2014-03-25python: MANIFEST.in: add missing source to the sdist tarball.W. Trevor King2-0/+4
2014-03-25python: Add additional out Module attributes (path, refcnt, ...).W. Trevor King4-8/+52
2014-03-25python: Convert to Cython.W. Trevor King13-277/+356
2014-03-25python: update FSF address in COPYING and COPYING.LESSERAndy Grover2-2/+2
2014-03-25python: whitespaceAndy Grover1-31/+30
2014-03-25python: add proper error handling to loaded_modules()Andy Grover1-2/+19
2014-03-25python: Improve README's description of kmodAndy Grover1-3/+6
2014-03-25python: Make setup.py version match version in .cAndy Grover1-1/+1
2014-03-25python: Add READMEAndy Grover1-0/+44
2014-03-25python: More cleanup and renaming of stuff. Add docstrings.Andy Grover1-27/+40
2014-03-25python: Add support for listing loaded modules, modprobe, rmmodAndy Grover2-25/+140
2014-03-25python: use c99 init for struct initAndy Grover1-52/+25
2014-03-25python: a skeleton that compilesAndy Grover1-183/+3
2014-03-25python: initial checkinAndy Grover4-0/+1190
2014-03-24libkmod: Fix unaligned accessLucas De Marchi1-1/+1
2014-03-07libkmod-elf: Fix check by class in get_modversions()Lucas De Marchi1-1/+1
2014-03-06build-sys: add small redirecting MakefilesLucas De Marchi2-0/+15
2014-03-05libkmod-config: Only match dot before '=' in /proc/cmdlineMichal Marek1-3/+8
2014-03-05libkmod-config,depmod: Accept special files as configuration files, tooMichal Marek1-5/+1
2014-03-05libkmod-module: Simplify kmod_module_insert_module()Michal Marek1-17/+10
2014-01-21Remove duplicate includesLucas De Marchi1-1/+0
2013-12-17Use C11's noreturnLucas De Marchi1-0/+10
2013-11-18module: use _cleanup_free and remove useless call to free()Lucas De Marchi1-9/+5
2013-11-18file: use _cleanup_free_Lucas De Marchi1-4/+4
2013-11-18array: avoid duplicate code to reallocateLucas De Marchi1-19/+19
2013-11-18util: Be OOM-safe and use _cleanup_free_Lucas De Marchi1-14/+25
2013-11-18util: use _cleanup_free_ on path_make_absolute_cwd()Lucas De Marchi1-7/+6
2013-11-18config: Use _cleanup_free_Lucas De Marchi1-40/+22
2013-11-18util: Add cleanup attributeLucas De Marchi2-0/+8
2013-09-20libkmod: always pass O_NONBLOCK to kernelLucas De Marchi2-10/+7
2013-09-20libkmod-hash: always align n_buckets to power of 2Lucas De Marchi1-6/+9
2013-09-20util: Add ALIGN_POWER2Lucas De Marchi1-0/+5
2013-09-06build: remove check for typeofLucas De Marchi1-6/+0
2013-09-06Add configure check for _Static_assert()Thomas Petazzoni1-0/+5
2013-08-29Fix usage of readdir_r()Lucas De Marchi2-52/+22
2013-08-13libkmod: Fix getting param with no value from kcmdlineLucas De Marchi1-1/+1