aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/module
AgeCommit message (Expand)AuthorFilesLines
2025-09-24kcfi: Rename CONFIG_CFI_CLANG to CONFIG_CFIKees Cook2-2/+2
2025-08-05Merge tag 'mm-stable-2025-08-03-12-35' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-11/+2
2025-08-02execmem: introduce execmem_alloc_rw()Mike Rapoport (Microsoft)1-11/+2
2025-07-31module: Remove unnecessary +1 from last_unloaded_module::name sizePetr Pavlu1-1/+1
2025-07-31module: Prevent silent truncation of module name in delete_module(2)Petr Pavlu1-4/+6
2025-07-31module: move 'struct module_use' to internal.hThomas Weißschuh1-0/+7
2025-07-30Merge tag 'ftrace-v6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tra...Linus Torvalds1-1/+1
2025-07-29Merge tag 'sysctl-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds2-1/+32
2025-07-29Merge tag 'driver-core-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-7/+7
2025-07-28Merge tag 'audit-pr-20250725' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+4
2025-07-23module: Move modprobe_path and modules_disabled ctl_tables into the module su...Joel Granados2-1/+32
2025-07-22tracing: Remove redundant config HAVE_FTRACE_MCOUNT_RECORDSteven Rostedt1-1/+1
2025-07-08module: Make sure relocations are applied to the per-CPU sectionSebastian Andrzej Siewior1-2/+8
2025-07-08module: Avoid unnecessary return value initialization in move_module()Petr Pavlu1-2/+1
2025-07-08module: Fix memory deallocation on error path in move_module()Petr Pavlu1-2/+2
2025-06-17sysfs: treewide: switch back to attribute_group::bin_attrsThomas Weißschuh1-5/+5
2025-06-17sysfs: treewide: switch back to bin_attribute::read()/write()Thomas Weißschuh1-2/+2
2025-06-16audit,module: restore audit logging in load failure caseRichard Guy Briggs1-2/+4
2025-06-07Merge tag 'kbuild-v6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-2/+87
2025-06-05alloc_tag: handle module codetag load errors as module load failuresSuren Baghdasaryan1-2/+3
2025-06-02Merge tag 'modules-6.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds3-24/+57
2025-05-25Merge tag 'mm-hotfixes-stable-2025-05-25-00-58' of git://git.kernel.org/pub/s...Linus Torvalds1-0/+1
2025-05-25module: Account for the build time module name manglingPeter Zijlstra1-1/+25
2025-05-25module: Extend the module namespace parsingPeter Zijlstra1-2/+34
2025-05-25module: Add module specific symbol namespace supportPeter Zijlstra1-2/+31
2025-05-25module: release codetag section when module load failsDavid Wang1-0/+1
2025-05-18module: Remove outdated comment about text_sizeValentin Schneider1-5/+4
2025-05-18module: Make .static_call_sites read-only after initPetr Pavlu1-0/+9
2025-05-18module: Add a separate function to mark sections as read-only after initPetr Pavlu3-15/+38
2025-05-18module: Constify parameters of module_enforce_rwx_sections()Petr Pavlu2-4/+6
2025-05-12kbuild: Require pahole <v1.28 or >v1.29 with GENDWARFKSYMS on X86Sami Tolvanen1-0/+5
2025-03-31Merge tag 'trace-ringbuffer-v6.15-2' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-0/+13
2025-03-30Merge tag 'modules-6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds6-140/+77
2025-03-28module: Add module_for_each_mod() functionSteven Rostedt1-0/+13
2025-03-10module: Remove unnecessary size argument when calling strscpy()Thorsten Blum1-2/+2
2025-03-10module: Replace deprecated strncpy() with strscpy()Thorsten Blum1-1/+1
2025-03-10module: Use RCU in all users of __module_text_address().Sebastian Andrzej Siewior1-11/+5
2025-03-10module: Use RCU in all users of __module_address().Sebastian Andrzej Siewior2-11/+3
2025-03-10module: Use RCU in search_module_extables().Sebastian Andrzej Siewior1-14/+9
2025-03-10module: Allow __module_address() to be called from RCU section.Sebastian Andrzej Siewior2-14/+1
2025-03-10module: Use RCU in __is_module_percpu_address().Sebastian Andrzej Siewior1-5/+1
2025-03-10module: Use RCU in find_symbol().Sebastian Andrzej Siewior2-25/+19
2025-03-10module: Remove module_assert_mutex_or_preempt() from try_add_tainted_module().Sebastian Andrzej Siewior1-2/+0
2025-03-10module: Use RCU in module_kallsyms_on_each_symbol().Sebastian Andrzej Siewior1-4/+2
2025-03-10module: Use RCU in __find_kallsyms_symbol_value().Sebastian Andrzej Siewior1-13/+4
2025-03-10module: Use RCU in find_module_all().Sebastian Andrzej Siewior2-4/+3
2025-03-10module: Use RCU in module_get_kallsym().Sebastian Andrzej Siewior1-4/+2
2025-03-10module: Use RCU in find_kallsyms_symbol().Sebastian Andrzej Siewior1-4/+3
2025-03-10module: Use proper RCU assignment in add_kallsyms().Sebastian Andrzej Siewior1-17/+14
2025-03-10module: Begin to move from RCU-sched to RCU.Sebastian Andrzej Siewior2-9/+8
2025-02-14module: don't annotate ROX memory as kmemleak_not_leak()Mike Rapoport (Microsoft)1-1/+2
2025-02-03module: switch to execmem API for remapping as RW and restoring ROXMike Rapoport (Microsoft)2-61/+26
2025-01-31Merge tag 'kbuild-v6.14' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds4-15/+202
2025-01-28Merge tag 'driver-core-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2025-01-26module: sign with sha512 instead of sha1 by defaultThorsten Leemhuis1-0/+1
2025-01-26module: Don't fail module loading when setting ro_after_init section RO failedChristophe Leroy1-3/+4
2025-01-26module: Split module_enable_rodata_ro()Christophe Leroy3-7/+13
2025-01-26module: sysfs: Use const 'struct bin_attribute'Thomas Weißschuh1-10/+10
2025-01-26module: sysfs: Add notes attributes through attribute_groupThomas Weißschuh1-26/+28
2025-01-26module: sysfs: Simplify section attribute allocationThomas Weißschuh1-8/+10
2025-01-26module: sysfs: Drop 'struct module_sect_attr'Thomas Weißschuh1-15/+11
2025-01-26module: sysfs: Drop member 'module_sect_attr::address'Thomas Weißschuh1-5/+2
2025-01-26module: sysfs: Drop member 'module_sect_attrs::nsections'Thomas Weißschuh1-6/+3
2025-01-26module: Constify 'struct module_attribute'Thomas Weißschuh3-24/+24
2025-01-26module: Put known GPL offenders in an arrayUwe Kleine-König1-9/+14
2025-01-11modpost: Allow extended modversions without basic MODVERSIONSMatthew Maurer1-0/+15
2025-01-11modpost: Produce extended MODVERSIONS informationMatthew Maurer1-0/+10
2025-01-11modules: Support extended MODVERSIONS infoMatthew Maurer3-8/+140
2025-01-11kbuild: Add gendwarfksyms as an alternative to genksymsSami Tolvanen1-0/+22
2025-01-11tools: Add gendwarfksymsSami Tolvanen1-0/+8
2025-01-10module: get symbol CRC back to unsignedMasahiro Yamada3-7/+7
2025-01-09sysfs: constify bin_attribute argument of sysfs_bin_attr_simple_read()Thomas Weißschuh1-1/+1
2024-12-02module: Convert symbol namespace to string literalPeter Zijlstra1-1/+1
2024-11-27Merge tag 'modules-6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds2-148/+428
2024-11-23Merge tag 'mm-stable-2024-11-18-19-27' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds3-29/+125
2024-11-18Merge tag 'pull-fd' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-9/+6
2024-11-07alloc_tag: load module tags into separate contiguous memorySuren Baghdasaryan1-26/+58
2024-11-07module: prepare to handle ROX allocations for textMike Rapoport (Microsoft)3-8/+72
2024-11-03fdget(), more trivial conversionsAl Viro1-8/+3
2024-11-03regularize emptiness checks in fini_module(2) and vfs_dedupe_file_range()Al Viro1-1/+3
2024-10-19module: Reformat struct for code styleMatthew Maurer1-1/+6
2024-10-19module: Additional validation in elf_validity_cache_strtabMatthew Maurer1-1/+37
2024-10-19module: Factor out elf_validity_cache_strtabMatthew Maurer1-3/+20
2024-10-19module: Group section index calculations togetherMatthew Maurer1-17/+51
2024-10-19module: Factor out elf_validity_cache_index_strMatthew Maurer1-9/+28
2024-10-19module: Factor out elf_validity_cache_index_symMatthew Maurer1-29/+44
2024-10-19module: Factor out elf_validity_cache_index_modMatthew Maurer1-62/+67
2024-10-19module: Factor out elf_validity_cache_index_infoMatthew Maurer1-14/+68
2024-10-19module: Factor out elf_validity_cache_secstringsMatthew Maurer1-37/+69
2024-10-19module: Factor out elf_validity_cache_sechdrsMatthew Maurer1-43/+82
2024-10-19module: Factor out elf_validity_ehdrMatthew Maurer1-23/+47
2024-10-19module: Take const arg in validate_section_offsetMatthew Maurer1-1/+1
2024-10-07remove pointless includes of <linux/fdtable.h>Al Viro2-2/+0
2024-09-28Merge tag 'modules-6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds3-73/+85
2024-09-25Kbuild: make MODVERSIONS support depend on not being a compile test buildLinus Torvalds1-0/+1
2024-09-23Merge tag 'pull-stable-struct_fd' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2024-09-17Merge tag 'x86-build-2024-09-17' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2024-09-13module: Refine kmemleak scanned areasVincent Donnefort1-14/+4
2024-09-13module: abort module loading when sysfs setup suffer errorsChunhui Li1-21/+42
2024-08-19module: Clean up the description of MODULE_SIG_<type>Petr Pavlu1-8/+8
2024-08-19module: Split modules_install compression and in-kernel decompressionPetr Pavlu1-30/+31
2024-08-12introduce fd_file(), convert all accessors to it.Al Viro1-1/+1
2024-08-09module: make waiting for a concurrent module loader interruptibleLinus Torvalds1-15/+25
2024-08-08module: warn about excessively long module waitsLinus Torvalds1-7/+20
2024-08-08module: Fix KCOV-ignored file nameDmitry Vyukov1-1/+1
2024-07-09Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Paolo Abeni1-1/+4
2024-06-27kallsyms: rework symbol lookup return codesArnd Bergmann1-13/+12
2024-06-21module, bpf: Store BTF base pointer in struct moduleAlan Maguire1-1/+4
2024-05-22Merge tag 'driver-core-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-12/+1
2024-05-19Merge tag 'mm-stable-2024-05-17-19-19' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-7/+21
2024-05-14mm/execmem, arch: convert remaining overrides of module_alloc to execmemMike Rapoport (IBM)1-20/+6
2024-05-14mm: introduce execmem_alloc() and execmem_free()Mike Rapoport (IBM)2-17/+9
2024-05-14module: make module_memory_{alloc,free} more self-containedMike Rapoport (IBM)1-25/+39
2024-05-14kallsyms: replace deprecated strncpy with strscpyJustin Stitt1-1/+1
2024-05-14module: allow UNUSED_KSYMS_WHITELIST to be relative against objtree.Yifan Hong1-1/+1
2024-04-25lib: prevent module unloading if memory is not freedSuren Baghdasaryan1-8/+19
2024-04-25lib: code tagging module supportSuren Baghdasaryan1-0/+4
2024-04-23Merge 6.9-rc5 into driver-core-nextGreg Kroah-Hartman1-0/+5
2024-04-11treewide: Use sysfs_bin_attr_simple_read() helperLukas Wunner1-12/+1
2024-03-25Merge tag 'v6.9-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds1-0/+5
2024-03-22Revert "crypto: pkcs7 - remove sha1 support"Eric Biggers1-0/+5
2024-03-21Merge tag 'kbuild-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds1-2/+1
2024-03-14Merge tag 'mm-stable-2024-03-13-20-04' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+7
2024-03-04modules: wait do_free_init correctlyChangbin Du1-2/+7
2024-02-20kbuild: remove EXPERT and !COMPILE_TEST guarding from TRIM_UNUSED_KSYMSMasahiro Yamada1-2/+1
2024-02-16module: Don't ignore errors from set_memory_XX()Christophe Leroy3-22/+55
2024-02-02modules: Remove #ifdef CONFIG_STRICT_MODULE_RWX around rodata_enabledChristophe Leroy1-5/+1
2024-01-29module: Change module_enable_{nx/x/ro}() to more explicit namesChristophe Leroy3-10/+10
2024-01-29module: Use set_memory_rox()Christophe Leroy3-7/+9
2024-01-10Merge tag 'modules-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2023-12-19module: Remove redundant TASK_UNINTERRUPTIBLEKevin Hao1-1/+1
2023-12-18kunit: add KUNIT_INIT_TABLE to init linker sectionRae Moar1-0/+3
2023-11-02Merge tag 'v6.7-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds1-10/+15
2023-11-02module/decompress: use kvmalloc() consistentlyAndrea Righi1-4/+4
2023-11-01module: Annotate struct module_notes_attrs with __counted_byKees Cook1-1/+1
2023-11-01module: Fix comment typoZhu Mao1-1/+1
2023-11-01module/decompress: use vmalloc() for gzip decompression workspaceAndrea Righi1-2/+2
2023-10-27module: enable automatic module signing with FIPS 202 SHA-3Dimitri John Ledkov1-0/+15
2023-10-20module: Do not offer sha224 for built-in module signingDimitri John Ledkov1-5/+0
2023-10-20crypto: pkcs7 - remove sha1 supportDimitri John Ledkov1-5/+0
2023-08-29module/decompress: use vmalloc() for zstd decompression workspaceAndrea Righi1-2/+2
2023-08-03module: Expose module_init_layout_section()James Morse1-1/+1
2023-08-02modules: only allow symbol_get of EXPORT_SYMBOL_GPL modulesChristoph Hellwig1-3/+11
2023-07-24modpost, kallsyms: Treat add '$'-prefixed symbols as mapping symbolsPalmer Dabbelt1-1/+1
2023-07-10module: Ignore RISC-V mapping symbols tooPalmer Dabbelt1-1/+1
2023-07-04module: fix init_module_from_file() error handlingLinus Torvalds1-16/+23
2023-07-01Merge tag 'kbuild-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds1-0/+12
2023-06-28Merge tag 'v6.5-rc1-modules-next' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds2-35/+0
2023-06-28modules: catch concurrent module loads, treat them as idempotentLinus Torvalds1-2/+71
2023-06-28module: split up 'finit_module()' into init_module_from_file() helperLinus Torvalds1-15/+27
2023-06-22kbuild: generate KSYMTAB entries by modpostMasahiro Yamada1-0/+12
2023-06-01module/decompress: Fix error checking on zstd decompressionLucas De Marchi1-1/+1
2023-05-30module: fix module load for ia64Song Liu1-2/+2
2023-05-26kallsyms: remove unsed API lookup_symbol_attrsManinder Singh1-28/+0
2023-05-23module: Remove preempt_disable() from module reference counting.Sebastian Andrzej Siewior1-7/+0
2023-05-22module: Fix use-after-free bug in read_file_mod_stats()Harshit Mogalapalli1-1/+3
2023-05-02module: include internal.h in module/dups.cArnd Bergmann1-0/+2
2023-04-27Merge tag 'modules-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds14-669/+1786
2023-04-26Merge tag 'net-next-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds2-4/+13
2023-04-19module: add debugging auto-load duplicate module supportLuis Chamberlain5-4/+340
2023-04-18module: stats: fix invalid_mod_bytes typoArnd Bergmann1-1/+1
2023-04-18module: remove use of uninitialized variable lenTom Rix1-1/+1
2023-04-18module: fix building stats for 32-bit targetsArnd Bergmann1-23/+23
2023-04-18module: stats: include uapi/linux/module.hArnd Bergmann1-0/+1
2023-04-18module: avoid allocation if module is already present and readyLuis Chamberlain2-7/+10
2023-04-18module: add debug stats to help identify memory pressureLuis Chamberlain7-11/+615
2023-04-18module: extract patient module check into helperLuis Chamberlain1-52/+60
2023-04-18modules/kmod: replace implementation with a semaphoreLuis Chamberlain1-19/+7
2023-04-14module: fix kmemleak annotations for non init ELF sectionsLuis Chamberlain1-5/+10
2023-04-13module: Ignore L0 and rename is_arm_mapping_symbol()Tiezhu Yang1-1/+1
2023-04-13module: Move is_arm_mapping_symbol() to module_symbol.hTiezhu Yang1-13/+1
2023-04-13module: Sync code of is_arm_mapping_symbol()Tiezhu Yang1-2/+3
2023-04-04kallsyms: Disable preemption for find_kallsyms_symbol_valueJiri Olsa1-3/+13
2023-03-24module: already_uses() - reduce pr_debug output volumeJim Cromie1-3/+1
2023-03-24module: add section-size to move_module pr_debugJim Cromie1-2/+2
2023-03-24module: add symbol-name to pr_debug Absolute symbolJim Cromie1-2/+2
2023-03-24module: in layout_sections, move_module: add the modnameJim Cromie1-3/+3
2023-03-24module: fold usermode helper kmod into modules directoryLuis Chamberlain2-1/+180
2023-03-24module: merge remnants of setup_load_info() to elf validationLuis Chamberlain1-33/+27
2023-03-24module: move more elf validity checks to elf_validity_check()Luis Chamberlain1-35/+44
2023-03-24module: add stop-grap sanity check on module memcpy()Luis Chamberlain1-4/+22
2023-03-24module: add sanity check for ELF module sectionLuis Chamberlain1-9/+53
2023-03-24module: rename check_module_license_and_versions() to check_export_symbol_ver...Luis Chamberlain1-2/+2
2023-03-24module: converge taint work togetherLuis Chamberlain1-28/+24
2023-03-24module: move signature taint to module_augment_kernel_taints()Luis Chamberlain1-9/+9
2023-03-24module: move tainting until after a module hits our linked listLuis Chamberlain1-12/+10
2023-03-24module: split taint adding with info checkingLuis Chamberlain1-22/+40
2023-03-24module: split taint work out of check_modinfo_livepatch()Luis Chamberlain1-5/+6
2023-03-24module: rename set_license() to module_license_taint_check()Luis Chamberlain1-3/+2
2023-03-24module: move check_modinfo() early to early_mod_check()Luis Chamberlain1-4/+4
2023-03-24module: move early sanity checks into a helperLuis Chamberlain1-17/+26
2023-03-24module: add a for_each_modinfo_entry()Luis Chamberlain2-4/+4
2023-03-24module: rename next_string() to module_next_tag_pair()Luis Chamberlain2-3/+5
2023-03-24module: move get_modinfo() helpers all aboveLuis Chamberlain1-52/+48
2023-03-22module/decompress: Never use kunmap() for local un-mappingsFabio M. De Francesco1-1/+1
2023-03-19kallsyms: Delete an unused parameter related to {module_}kallsyms_on_each_sym...Zhen Lei1-3/+2
2023-03-17kallsyms, bpf: Move find_kallsyms_symbol_value out of internal headerViktor Malik1-6/+0
2023-03-15bpf: Fix attaching fentry/fexit/fmod_ret/lsm to modulesViktor Malik1-0/+5
2023-03-09dyndbg: use the module notifier callbacksJason Baron2-24/+8
2023-03-09module: Remove the unused function withinJiapeng Chong1-5/+0