aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/module.h
AgeCommit message (Expand)AuthorFilesLines
2024-02-14Merge branch 'x86/bugs' into x86/core, to pick up pending changes before depe...Ingo Molnar1-1/+1
2024-01-10Merge tag 'modules-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2024-01-10x86/bugs: Rename CONFIG_RETPOLINE => CONFIG_MITIGATION_RETPOLINEBreno Leitao1-1/+1
2023-12-21kernel/module: improve documentation for try_module_get()Marco Pagani1-1/+1
2023-12-18kunit: add KUNIT_INIT_TABLE to init linker sectionRae Moar1-0/+2
2023-05-26kallsyms: remove unsed API lookup_symbol_attrsManinder Singh1-9/+0
2023-04-27Merge tag 'modules-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-33/+108
2023-04-26Merge tag 'net-next-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-53/+74
2023-04-05kallsyms: move module-related functions under correct configsViktor Malik1-61/+74
2023-03-19kallsyms: Delete an unused parameter related to {module_}kallsyms_on_each_sym...Zhen Lei1-4/+2
2023-03-17kallsyms, bpf: Move find_kallsyms_symbol_value out of internal headerViktor Malik1-0/+8
2023-03-10kernel/module: add documentation for try_module_get()Luis Chamberlain1-2/+38
2023-03-09dyndbg: use the module notifier callbacksJason Baron1-0/+4
2023-03-09module: make module_ktype structure constantThomas Weißschuh1-1/+1
2023-03-09module: replace module_layout with module_memorySong Liu1-26/+63
2023-03-09livepatch: fix ELF typosAlexey Dobriyan1-3/+3
2023-02-23Merge tag 'modules-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+8
2023-02-06module.h: Document klp_modinfo struct using kdocMarcos Paulo de Souza1-0/+8
2023-01-19livepatch: Improve the search performance of module_kallsyms_on_each_symbol()Zhen Lei1-2/+4
2022-12-13Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-0/+9
2022-11-11module: remove redundant module_sysfs_initialized variableRasmus Villemoes1-1/+0
2022-10-25kallsyms: Make module_kallsyms_on_each_symbol generally availableJiri Olsa1-0/+9
2022-09-26cfi: Switch to -fsanitize=kcfiSami Tolvanen1-3/+3
2022-09-26cfi: Drop __CFI_ADDRESSABLESami Tolvanen1-2/+2
2022-07-11kunit: flatten kunit_suite*** to kunit_suite** in .kunit_test_suitesDaniel Latypov1-1/+1
2022-07-11kunit: unify module and builtin suite definitionsJeremy Kerr1-0/+5
2022-05-12module.h: simplify MODULE_IMPORT_NSGreg Kroah-Hartman1-2/+1
2022-04-05module: Add CONFIG_ARCH_WANTS_MODULES_DATA_IN_VMALLOCChristophe Leroy1-0/+8
2022-04-05module: Move extra signature support out of core codeAaron Tomlin1-5/+7
2022-04-05module: Move livepatch support to a separate fileAaron Tomlin1-6/+3
2022-01-17Merge branch 'modules-next' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+2
2022-01-11module.h: allow #define strings to work with MODULE_IMPORT_NSGreg Kroah-Hartman1-1/+2
2021-12-13exit: Rename module_put_and_exit to module_put_and_kthread_exitEric W. Biederman1-3/+3
2021-07-19printk: Userspace format indexing supportChris Down1-0/+5
2021-07-08module: add printk formats to add module build ID to stacktracesStephen Boyd1-1/+8
2021-04-08add support for Clang CFISami Tolvanen1-2/+11
2021-03-17module: remove never implemented MODULE_SUPPORTED_DEVICELeon Romanovsky1-3/+0
2021-02-08module: remove EXPORT_UNUSED_SYMBOL*Christoph Hellwig1-12/+0
2021-02-08module: remove EXPORT_SYMBOL_GPL_FUTUREChristoph Hellwig1-5/+0
2021-02-08module: move struct symsearch to module.cChristoph Hellwig1-11/+0
2021-02-08module: mark module_mutex staticChristoph Hellwig1-2/+0
2021-02-08kallsyms: only build {,module_}kallsyms_on_each_symbol when requiredChristoph Hellwig1-12/+4
2021-02-08module: use RCU to synchronize find_moduleChristoph Hellwig1-1/+1
2020-12-17Merge tag 'modules-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-14/+14
2020-12-07module: drop semicolon from version macroJohan Hovold1-1/+1
2020-11-25module: simplify version-attribute handlingJohan Hovold1-13/+13
2020-11-25module: drop version-attribute alignmentJohan Hovold1-1/+1
2020-11-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-0/+4
2020-11-10bpf: Load and verify kernel module BTFsAndrii Nakryiko1-0/+4
2020-10-28module: use hidden visibility for weak symbol referencesArd Biesheuvel1-1/+1
2020-10-25treewide: Convert macro and uses of __section(foo) to __section("foo")Joe Perches1-1/+1
2020-09-01static_call: Add inline static call infrastructureJosh Poimboeuf1-0/+5
2020-08-05modules: inherit TAINT_PROPRIETARY_MODULEChristoph Hellwig1-0/+1
2020-08-01modules: return licensing information from find_symbolChristoph Hellwig1-1/+1
2020-08-01modules: rename the licence field in struct symsearch to licenseChristoph Hellwig1-1/+1
2020-08-01modules: mark each_symbol_section staticChristoph Hellwig1-9/+0
2020-08-01modules: mark find_symbol staticChristoph Hellwig1-11/+0
2020-08-01modules: mark ref_module staticChristoph Hellwig1-1/+0
2020-06-04Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/liv...Linus Torvalds1-8/+0
2020-05-19kprobes: Prevent probes in .noinstr.text sectionThomas Gleixner1-0/+2
2020-05-12kprobes: Support NOKPROBE_SYMBOL() in modulesMasami Hiramatsu1-0/+2
2020-05-12kprobes: Support __kprobes blacklist in modulesMasami Hiramatsu1-0/+4
2020-05-08module: Make module_enable_ro() static againJosh Poimboeuf1-6/+0
2020-05-08module: Remove module_disable_ro()Josh Poimboeuf1-2/+0
2020-02-01Merge tag 'kbuild-v5.6' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds1-1/+11
2020-01-31Merge tag 'modules-for-v5.6' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2020-01-23module.h: Annotate mod_kallsyms with __rcuMadhuparna Bhowmik1-1/+1
2020-01-07kbuild: create modules.builtin without Makefile.modbuiltin or tristate.confMasahiro Yamada1-1/+11
2019-12-10Merge tag 'v5.5-rc1' into core/kprobes, to resolve conflictsIngo Molnar1-2/+5
2019-11-27module: Remove set_all_modules_text_*()Peter Zijlstra1-4/+0
2019-11-14export,module: add SPDX GPL-2.0 license identifier to headers with no licenseMasahiro Yamada1-2/+5
2019-09-27Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+0
2019-09-22modules: make MODULE_IMPORT_NS() work even when modular builds are disabledLinus Torvalds1-2/+2
2019-09-10module: add support for symbol namespaces.Matthias Maennich1-0/+2
2019-08-05MODSIGN: Export module signature definitionsThiago Jung Bauermann1-3/+0
2019-05-28srcu: Allocate per-CPU data for DEFINE_SRCU() in modulesPaul E. McKenney1-0/+5
2019-05-14Merge tag 'modules-for-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+12
2019-05-09Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+5
2019-05-08Merge tag 'kbuild-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds1-0/+1
2019-05-07moduleparam: Save information about built-in modules in separate fileAlexey Gladkov1-0/+1
2019-05-02module: add stubs for within_module functionsTri Vo1-0/+17
2019-03-28kallsyms: store type information in its own arrayEugene Loh1-0/+1
2019-03-27x86/ima: require signed kernel modulesMimi Zohar1-0/+5
2019-03-20vfs: Implement logging through fs_contextDavid Howells1-0/+6
2019-03-09Merge tag 'docs-5.1' of git://git.lwn.net/linuxLinus Torvalds1-1/+17
2019-02-15include/linux/module.h: copy __init/__exit attrs to init/cleanup_moduleMiguel Ojeda1-2/+2
2019-02-11module: Cure the MODULE_LICENSE "GPL" vs. "GPL v2" bogosityThomas Gleixner1-1/+17
2019-01-09x86, modpost: Replace last remnants of RETPOLINE with CONFIG_RETPOLINEWANG Chao1-1/+1
2019-01-06jump_label: move 'asm goto' support test to KconfigMasahiro Yamada1-1/+1
2018-12-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-0/+4
2018-12-18bpf: support raw tracepoints in modulesMatt Mullins1-0/+4
2018-12-14ARM: module: Fix function kallsyms on Thumb-2Vincent Whitchurch1-0/+7
2018-10-24Merge branch 'next-general' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+0
2018-10-17tracepoint: Fix tracepoint array element size mismatchMathieu Desnoyers1-1/+2
2018-10-10LSM: Convert from initcall to struct lsm_infoKees Cook1-1/+0
2018-06-25module: replace VMLINUX_SYMBOL_STR() with __stringify() or string literalMasahiro Yamada1-2/+2
2018-02-06kernel/module: module_is_live can be booleanYaowei Bai1-1/+1
2018-02-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pml...Linus Torvalds1-0/+10
2018-01-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-0/+6
2018-01-29Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+9
2018-01-26module/retpoline: Warn about missing retpoline in moduleAndi Kleen1-0/+9
2018-01-12error-injection: Add injectable error typesMasami Hiramatsu1-1/+2
2018-01-12error-injection: Separate error-injection from kprobeMasami Hiramatsu1-3/+3
2018-01-09sections: split dereference_function_descriptor()Sergey Senozhatsky1-0/+10
2017-12-12add infrastructure for tagging functions as error injectableJosef Bacik1-0/+5
2017-11-08module: export module signature enforcement statusBruno E. O. Meneguele1-0/+7
2017-07-29module: Remove const attribute from alias for MODULE_DEVICE_TABLEMatthias Kaehlcke1-1/+1
2017-07-19Merge tag 'gcc-plugins-v4.13-rc2' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2017-06-30randstruct: Mark various structs for randomizationKees Cook1-2/+2
2017-06-13trace: rename struct module entry for trace enumsJeremy Linton1-2/+2
2017-06-13trace: rename trace_enum_map to trace_eval_mapJeremy Linton1-1/+1
2017-05-03Merge tag 'modules-for-v4.12' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+3
2017-04-23module: Unify the return value type of try_module_getGao Feng1-3/+3
2017-03-16locking/lockdep: Handle statically initialized PER_CPU locks properlyThomas Gleixner1-0/+6
2017-02-22Merge tag 'modules-for-v4.11' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-4/+2
2017-02-21Merge tag 'rodata-v4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2017-02-21Merge tag 'extable-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+0
2017-02-09module.h: remove extable.h include now users have migratedPaul Gortmaker1-1/+0
2017-02-07arch: Rename CONFIG_DEBUG_RODATA and CONFIG_DEBUG_MODULE_RONXLaura Abbott1-1/+1
2017-02-06modules: mark __inittest/__exittest as __maybe_unusedArnd Bergmann1-2/+2
2017-02-03modversions: treat symbol CRCs as 32 bit quantitiesArd Biesheuvel1-7/+7
2017-01-03module: Drop redundant declaration of struct moduleJean Delvare1-2/+0
2016-11-26module: remove trailing whitespaceAnson Jacob1-1/+1
2016-11-26taint/module: Clean up global and module taint flags handlingPetr Mladek1-1/+1
2016-08-04modules: add ro_after_init supportJessica Yu1-2/+4
2016-08-04exceptions: fork exception table content from module.h into extable.hPaul Gortmaker1-25/+2
2016-07-27module: fix noreturn attribute for __module_put_and_exit()Jiri Kosina1-2/+2
2016-04-01module: preserve Elf information for livepatch modulesJessica Yu1-0/+25
2016-02-03modules: fix longstanding /proc/kallsyms vs module insertion race.Rusty Russell1-9/+10
2015-12-04module: clean up RO/NX handling.Rusty Russell1-0/+4
2015-12-04module: use a structure to encapsulate layout.Rusty Russell1-35/+29
2015-07-05module: relocate module_init from init.h to module.hPaul Gortmaker1-0/+84
2015-07-01Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-5/+41
2015-06-28param: fix module param locks when !CONFIG_SYSFS.Rusty Russell1-0/+2
2015-06-26Merge tag 'driver-core-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+13
2015-06-26Merge tag 'trace-v4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-1/+1
2015-06-23module: add per-module param_lockDan Streetman1-0/+1
2015-05-28module: Make the mod_tree stuff conditional on PERF_EVENTS || TRACINGPeter Zijlstra1-1/+3
2015-05-28module: Optimize __module_address() using a latched RB-treePeter Zijlstra1-3/+26
2015-05-28module: Sanitize RCU usage and lockingPeter Zijlstra1-2/+10
2015-05-24driver-core: fix build for !CONFIG_MODULESDmitry Torokhov1-0/+11
2015-05-20driver-core: add driver module asynchronous probe supportLuis R. Rodriguez1-0/+2
2015-05-13tracing: Rename ftrace_event_{call,class} to trace_event_{call,class}Steven Rostedt (Red Hat)1-1/+1
2015-04-23crypto: api - Move module sig ifdef into accessor functionHerbert Xu1-0/+12
2015-04-14Merge tag 'trace-v4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-0/+2
2015-04-08tracing: Allow for modules to convert their enums to valuesSteven Rostedt (Red Hat)1-0/+2
2015-03-18Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-0/+4
2015-03-17livepatch: Fix subtle race with coming and going modulesPetr Mladek1-0/+4
2015-02-13module: fix types of device tables aliasesAndrey Ryabinin1-1/+1
2015-01-22module: make module_refcount() a signed integer.Rusty Russell1-1/+1
2014-11-11module: Replace module_ref with atomic_t refcntMasami Hiramatsu1-15/+1
2014-07-27module: return bool from within_module*()Petr Mladek1-3/+5
2014-07-27module: add within_module() functionPetr Mladek1-0/+5
2014-04-06Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-11/+8
2014-03-13module: remove MODULE_GENERIC_TABLERusty Russell1-11/+8
2014-03-13module: allow multiple calls to MODULE_DEVICE_TABLE() per moduleTom Gundersen1-1/+1
2014-03-07tracing/module: Replace include of tracepoint.h with jump_label.h in module.hSteven Rostedt (Red Hat)1-1/+1
2014-01-16module: fix coding styleSeunghun Lee1-31/+31
2013-12-04module.h: Remove unnecessary semicolonJoe Perches1-1/+1
2013-09-23module: remove rmmod --wait option.Rusty Russell1-3/+0
2013-09-03module: Fix mod->mkobj.kobj potentially freed too earlyLi Zhong1-0/+1
2013-08-20modules: add support for soft module dependenciesAndreas Robinson1-0/+5
2013-03-15CONFIG_SYMBOL_PREFIX: cleanup.Rusty Russell1-2/+2
2013-01-21module: constify within_module_*Sasha Levin1-2/+2
2013-01-12module: add new state MODULE_STATE_UNFORMED.Rusty Russell1-5/+5
2012-10-10module: signature checking hookRusty Russell1-0/+8
2012-03-26module: move __module_get and try_module_get() out of line.Steven Rostedt1-28/+4
2012-01-13module: struct module_ref should contains long fieldsEric Dumazet1-5/+16
2011-10-31module.h: relocate MODULE_PARM_DESC into moduleparam.hPaul Gortmaker1-5/+0
2011-10-31module.h: split out the EXPORT_SYMBOL into export.hPaul Gortmaker1-67/+1
2011-08-10Tracepoint: Dissociate from module mutexMathieu Desnoyers1-12/+0
2011-07-24module: add /sys/module/<name>/uevent filesKay Sievers1-0/+1
2011-07-24module: change attr callbacks to take struct module_kobjectKay Sievers1-11/+12
2011-05-19module: Sort exported symbolsAlessio Igor Bogani1-2/+2
2011-05-19module: each_symbol_section instead of each_symbolRusty Russell1-2/+3
2011-05-19module: remove 64 bit alignment padding from struct module with CONFIG_TRACE*Richard Kennedy1-6/+7
2011-05-19module: do not hide __modver_version_show declaration behind ifdefDmitry Torokhov1-2/+3
2011-05-19module: deal with alignment issues in built-in module versionsDmitry Torokhov1-5/+5
2011-02-21module: explicitly align module_version_attribute structureDmitry Torokhov1-1/+1
2011-02-03tracepoints: Fix section alignment using pointer arrayMathieu Desnoyers1-1/+1
2011-02-02tracing: Replace trace_event struct array with pointer arraySteven Rostedt1-1/+1
2011-01-24module: fix linker error for MODULE_VERSION when !MODULE and CONFIG_SYSFS=nRusty Russell1-1/+1
2011-01-24module: show version information for built-in modules in sysfsDmitry Torokhov1-0/+27
2010-12-23Merge commit 'v2.6.37-rc7' into x86/securityIngo Molnar1-1/+1
2010-11-24module: Update prototype for ref_module (formerly use_module)Anders Kaseorg1-1/+1
2010-11-18x86: Add RO/NX protection for loadable kernel modulesmatthieu castet1-1/+10
2010-10-08Merge commit 'v2.6.36-rc7' into perf/coreIngo Molnar1-3/+2
2010-10-05modules: Fix module_bug_list list corruption raceLinus Torvalds1-3/+2
2010-09-22jump label: Base patch for jump labelJason Baron1-1/+4
2010-06-05module: Make module sysfs functions private.Rusty Russell1-33/+0
2010-06-05module: fix kdb's illicit use of struct module_use.Rusty Russell1-0/+7
2010-06-05module: Make the 'usage' lists be two-wayLinus Torvalds1-1/+3
2010-04-08Merge branch 'linus' into tracing/coreIngo Molnar1-6/+15
2010-04-05Fix up possibly racy module refcountingNick Piggin1-7/+7
2010-03-31tracing: Remove side effect from module tracepoints that caused a GPFLi Zefan1-4/+2
2010-03-31module: add stub for is_module_percpu_addressRandy Dunlap1-0/+5
2010-03-29percpu, module: implement and use is_kernel/module_percpu_address()Tejun Heo1-0/+1
2010-03-29module: encapsulate percpu handling better and record percpu_sizeTejun Heo1-1/+4
2010-03-12sysctl extern cleanup: moduleDave Young1-0/+1
2010-02-17percpu: add __percpu sparse annotations to core kernel subsystemsTejun Heo1-1/+1