aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/module/main.c
AgeCommit message (Expand)AuthorFilesLines
9 daysMerge 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)1-17/+8
2024-05-14module: make module_memory_{alloc,free} more self-containedMike Rapoport (IBM)1-25/+39
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-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-16module: Don't ignore errors from set_memory_XX()Christophe Leroy1-4/+16
2024-01-29module: Change module_enable_{nx/x/ro}() to more explicit namesChristophe Leroy1-4/+4
2024-01-29module: Use set_memory_rox()Christophe Leroy1-1/+1
2023-12-18kunit: add KUNIT_INIT_TABLE to init linker sectionRae Moar1-0/+3
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-04module: fix init_module_from_file() error handlingLinus Torvalds1-16/+23
2023-06-28Merge tag 'v6.5-rc1-modules-next' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-7/+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-05-30module: fix module load for ia64Song Liu1-2/+2
2023-05-23module: Remove preempt_disable() from module reference counting.Sebastian Andrzej Siewior1-7/+0
2023-04-18module: avoid allocation if module is already present and readyLuis Chamberlain1-1/+5
2023-04-18module: add debug stats to help identify memory pressureLuis Chamberlain1-5/+60
2023-04-18module: extract patient module check into helperLuis Chamberlain1-52/+60
2023-04-14module: fix kmemleak annotations for non init ELF sectionsLuis Chamberlain1-5/+10
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: 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 Chamberlain1-4/+1
2023-03-24module: rename next_string() to module_next_tag_pair()Luis Chamberlain1-3/+3
2023-03-24module: move get_modinfo() helpers all aboveLuis Chamberlain1-52/+48
2023-03-09dyndbg: use the module notifier callbacksJason Baron1-22/+8
2023-03-09module: Remove the unused function withinJiapeng Chong1-5/+0
2023-03-09module: replace module_layout with module_memorySong Liu1-186/+189
2023-01-25module: Use kstrtobool() instead of strtobool()Christophe JAILLET1-1/+2
2023-01-24module: Don't wait for GOING modulesPetr Pavlu1-5/+21
2022-12-19Merge tag 'powerpc-6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-0/+10
2022-12-02module: add module_elf_check_arch for module-specific checksNicholas Piggin1-0/+10
2022-11-11module: Remove unused macros module_addr_min/maxChen Zhongjin1-3/+0
2022-10-07Merge tag 'driver-core-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-9/+11
2022-09-26cfi: Switch to -fsanitize=kcfiSami Tolvanen1-32/+3
2022-09-26cfi: Remove CONFIG_CFI_CLANG_SHADOWSami Tolvanen1-15/+0
2022-09-12Merge 6.0-rc5 into driver-core-nextGreg Kroah-Hartman1-1/+1
2022-09-07kernel/module: add __dyndbg_classes sectionJim Cromie1-0/+2
2022-09-07dyndbg: gather __dyndbg[] state into struct _ddebug_infoJim Cromie1-9/+9
2022-08-15module: kunit: Load .kunit_test_suites section when CONFIG_KUNIT=mDavid Gow1-1/+1
2022-08-08Merge tag 'modules-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-13/+30
2022-08-02Merge tag 'linux-kselftest-kunit-5.20-rc1' of git://git.kernel.org/pub/scm/li...Linus Torvalds1-0/+13
2022-07-14module: Show the last unloaded module's taint flag(s)Aaron Tomlin1-5/+11
2022-07-14module: Use strscpy() for last_unloaded_moduleAaron Tomlin1-1/+1
2022-07-14module: Modify module_flags() to accept show_state argumentAaron Tomlin1-4/+7
2022-07-11kunit: unify module and builtin suite definitionsJeremy Kerr1-0/+6
2022-07-11module: panic: Taint the kernel when selftest modules loadDavid Gow1-0/+7
2022-07-11module: Use vzalloc() instead of vmalloc()/memset(0)Yang Yingliang1-2/+1
2022-07-11module: Fix ERRORs reported by checkpatch.plChristophe Leroy1-1/+1
2022-07-11module: Add support for default value for module async_probeSaravana Kannan1-1/+10
2022-07-01module: Fix "warning: variable 'exit' set but not used"Christophe Leroy1-4/+5
2022-05-12module: merge check_exported_symbol() into find_exported_symbol_in_section()Masahiro Yamada1-15/+7
2022-05-12module: do not binary-search in __ksymtab_gpl if fsa->gplok is falseMasahiro Yamada1-2/+3
2022-05-12module: do not pass opaque pointer for symbol searchMasahiro Yamada1-7/+4
2022-05-12module: show disallowed symbol name for inherit_taint()Lecopzer Chen1-6/+6
2022-05-12module: fix [e_shstrndx].sh_size=0 OOB accessAlexey Dobriyan1-0/+4
2022-05-12module: Introduce module unload taint trackingAaron Tomlin1-0/+5
2022-05-12module: Move module_assert_mutex_or_preempt() to internal.hAaron Tomlin1-11/+0
2022-05-12module: Make module_flags_taint() accept a module's taints bitmap and usable ...Aaron Tomlin1-4/+4
2022-04-05module: Remove module_addr_min and module_addr_maxChristophe Leroy1-3/+3
2022-04-05module: Add CONFIG_ARCH_WANTS_MODULES_DATA_IN_VMALLOCChristophe Leroy1-2/+56
2022-04-05module: Introduce data_layoutChristophe Leroy1-8/+12
2022-04-05module: Prepare for handling several RB treesChristophe Leroy1-8/+8
2022-04-05module: Always have struct mod_tree_rootChristophe Leroy1-5/+0
2022-04-05module: Rename debug_align() as strict_align()Christophe Leroy1-7/+7
2022-04-05module: Rework layout alignment to avoid BUG_ON()sChristophe Leroy1-0/+5
2022-04-05module: Move module_enable_x() and frob_text() in strict_rwx.cChristophe Leroy1-37/+0
2022-04-05module: Make module_enable_x() independent of CONFIG_ARCH_HAS_STRICT_MODULE_RWXChristophe Leroy1-7/+5
2022-04-05module: Move version support into a separate fileAaron Tomlin1-148/+8
2022-04-05module: Move kdb module related code out of main kdb codeAaron Tomlin1-4/+0
2022-04-05module: Move sysfs support into a separate fileAaron Tomlin1-466/+3
2022-04-05module: Move procfs support into a separate fileAaron Tomlin1-130/+1
2022-04-05module: Move kallsyms support into a separate fileAaron Tomlin1-525/+6
2022-04-05module: Move kmemleak support to a separate fileAaron Tomlin1-27/+0
2022-04-05module: Move extra signature support out of core codeAaron Tomlin1-87/+0
2022-04-05module: Move strict rwx support to a separate fileAaron Tomlin1-97/+2
2022-04-05module: Move latched RB-tree support to a separate fileAaron Tomlin1-126/+4
2022-04-05module: Move livepatch support to a separate fileAaron Tomlin1-92/+10
2022-04-05module: Simple refactor in preparation for splitAaron Tomlin1-20/+2
2022-04-04module: Move all into module/Aaron Tomlin1-0/+4810