aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/module.c
AgeCommit message (Expand)AuthorFilesLines
2020-06-08module: move the set_fs hack for flush_icache_range to m68kChristoph Hellwig1-8/+0
2020-06-05Merge tag 'modules-for-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-10/+40
2020-06-04Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/liv...Linus Torvalds1-18/+8
2020-06-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds1-0/+3
2020-06-02Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+1
2020-06-02mm: remove the pgprot argument to __vmallocChristoph Hellwig1-2/+1
2020-06-01Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-armLinus Torvalds1-2/+7
2020-05-19kprobes: Prevent probes in .noinstr.text sectionThomas Gleixner1-0/+3
2020-05-19ARM: 8976/1: module: allow arch overrides for .init section namesVincent Whitchurch1-2/+7
2020-05-12kprobes: Support NOKPROBE_SYMBOL() in modulesMasami Hiramatsu1-0/+3
2020-05-12kprobes: Support __kprobes blacklist in modulesMasami Hiramatsu1-0/+4
2020-05-08module: Make module_enable_ro() static againJosh Poimboeuf1-1/+2
2020-05-08module: Remove module_disable_ro()Josh Poimboeuf1-13/+0
2020-05-08livepatch: Apply vmlinux-specific KLP relocations earlyJosh Poimboeuf1-4/+6
2020-04-21kernel/module: Hide vermagic header file from general useLeon Romanovsky1-0/+3
2020-04-21module: Harden STRICT_MODULE_RWXPeter Zijlstra1-0/+24
2020-04-17module: break nested ARCH_HAS_STRICT_MODULE_RWX and STRICT_MODULE_RWX #ifdefsJessica Yu1-11/+18
2020-04-09Merge tag 'modules-for-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+2
2020-04-07proc: faster open/read/close with "permanent" filesAlexey Dobriyan1-0/+1
2020-02-17kernel: module: Replace zero-length array with flexible-array memberGustavo A. R. Silva1-2/+2
2020-02-04proc: convert everything to "struct proc_ops"Alexey Dobriyan1-6/+6
2020-01-31Merge tag 'modules-for-v5.6' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-9/+13
2020-01-20module: avoid setting info->name early in case we can fall back to info->mod-...Jessica Yu1-5/+4
2020-01-15modsign: print module name along with error messageJessica Yu1-1/+1
2020-01-08kernel/module: Fix memleak in module_add_modinfo_attrs()YueHaibing1-0/+2
2019-12-25Merge branch 'core/kprobes' into perf/core, to pick up a completed branchIngo Molnar1-43/+0
2019-12-11Merge tag 'trace-v5.5-3' of git://git.kernel.org/pub/scm/linux/kernel/git/ros...Linus Torvalds1-5/+1
2019-12-10module: Remove accidental change of module_enable_x()Steven Rostedt (VMware)1-5/+1
2019-12-10Merge tag 'v5.5-rc1' into core/kprobes, to resolve conflictsIngo Molnar1-2/+8
2019-12-09modules: lockdep: Suppress suspicious RCU usage warningMasami Hiramatsu1-3/+6
2019-12-05Merge tag 'modules-for-v5.5' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+3
2019-11-27Merge tag 'trace-v5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-1/+5
2019-11-27module: Remove set_all_modules_text_*()Peter Zijlstra1-43/+0
2019-11-15kernel/module.c: wakeup processes in module_wq on module unloadKonstantin Khorenko1-0/+2
2019-11-13tracing: Verify if trace array exists before destroying it.Divya Indi1-1/+5
2019-11-06module/ftrace: handle patchable-function-entryMark Rutland1-1/+1
2019-10-28export: avoid code duplication in include/linux/export.hMasahiro Yamada1-1/+1
2019-09-28Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-7/+30
2019-09-27Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+1
2019-09-11module: remove unneeded casts in cmp_name()Masahiro Yamada1-5/+2
2019-09-11module: Fix link failure due to invalid relocation on namespace offsetWill Deacon1-0/+2
2019-09-10module: add config option MODULE_ALLOW_MISSING_NAMESPACE_IMPORTSMatthias Maennich1-2/+9
2019-09-10module: add support for symbol namespaces.Matthias Maennich1-0/+43
2019-09-10module: support reading multiple values per modinfo tagMatthias Maennich1-2/+15
2019-08-21modules: page-align module section allocations only for arches supporting str...He Zhe1-1/+6
2019-08-19lockdown: Enforce module signatures if the kernel is locked downDavid Howells1-7/+30
2019-08-05MODSIGN: Export module signature definitionsThiago Jung Bauermann1-0/+1
2019-07-30modules: always page-align module section allocationsJessica Yu1-6/+1
2019-07-18Merge tag 'modules-for-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-19/+41
2019-06-28Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/pau...Ingo Molnar1-0/+5
2019-06-26modules: fix compile error if don't have strict module rwxYang Yingliang1-4/+9
2019-06-24module: allow arch overrides for .exit section namesMatthias Schiffer1-1/+6
2019-06-24modules: fix BUG when load module with rodata=nYang Yingliang1-4/+7
2019-06-14kernel/module: Fix mem leak in module_add_modinfo_attrsYueHaibing1-5/+17
2019-06-07kernel: module: Use struct_size() helperGustavo A. R. Silva1-2/+1
2019-06-05kernel/module.c: Only return -EEXIST for modules that have finished loadingPrarit Bhargava1-4/+2
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156Thomas Gleixner1-13/+1
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-7/+14
2019-05-09Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+5
2019-04-30modules: Use vmalloc special flagRick Edgecombe1-38/+39
2019-04-30x86/modules: Avoid breaking W^X while loading modulesNadav Amit1-0/+5
2019-03-28kallsyms: store type information in its own arrayEugene Loh1-7/+14
2019-03-27x86/ima: require signed kernel modulesMimi Zohar1-0/+5
2019-03-07dynamic_debug: add static inline stub for ddebug_add_moduleRasmus Villemoes1-2/+0
2019-03-07dynamic_debug: move pr_err from module.c to ddebug_add_moduleRasmus Villemoes1-3/+1
2019-01-06jump_label: move 'asm goto' support test to KconfigMasahiro Yamada1-1/+1
2018-12-28Merge tag 'driver-core-4.21-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-2/+4
2018-12-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-0/+5
2018-12-27Merge tag 'modules-for-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-51/+72
2018-12-18bpf: support raw tracepoints in modulesMatt Mullins1-0/+5
2018-12-14ARM: module: Fix function kallsyms on Thumb-2Vincent Whitchurch1-16/+27
2018-12-14module: Overwrite st_size instead of st_infoVincent Whitchurch1-2/+2
2018-12-06kobject: return error code if writing /sys/.../uevent failsPeter Rajnoha1-2/+4
2018-11-29module: make it clearer when we're handling kallsyms symbols vs exported symbolsJessica Yu1-34/+44
2018-11-27modules: Replace synchronize_sched() and call_rcu_sched()Paul E. McKenney1-7/+7
2018-09-27jump_table: Move entries into ro_after_init regionArd Biesheuvel1-0/+9
2018-08-22module: use relative references for __ksymtab entriesArd Biesheuvel1-6/+26
2018-08-17Merge tag 'modules-for-v4.19' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-77/+66
2018-08-02kernel/module: Use kmemdup to replace kmalloc+memcpyzhong jiang1-4/+2
2018-07-16module: replace the existing LSM hook in init_moduleMimi Zohar1-1/+1
2018-07-02modsign: log module name in the event of an errorJessica Yu1-21/+1
2018-06-25module: replace VMLINUX_SYMBOL_STR() with __stringify() or string literalMasahiro Yamada1-4/+2
2018-06-25module: print sensible error codeJason A. Donenfeld1-2/+2
2018-06-22module: setup load info before module_sig_check()Jessica Yu1-34/+43
2018-06-22module: make it clear when we're handling the module copy in info->hdrJessica Yu1-21/+21
2018-06-18module: exclude SHN_UNDEF symbols from kallsyms apiJessica Yu1-1/+5
2018-06-16Merge tag 'modules-for-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+1
2018-06-06Merge tag 'overflow-v4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+1
2018-06-06treewide: Use struct_size() for kmalloc()-familyKees Cook1-2/+1
2018-05-11init: fix false positives in W+X checkingJeffrey Hugo1-0/+5
2018-04-18module: Fix display of wrong module .text addressThomas Richter1-1/+2
2018-04-16module: Allow to always show the status of modsignJia Zhang1-2/+0
2018-04-16module: Do not access sig_enforce directlyJia Zhang1-1/+1
2018-04-02Merge tag 'arch-removal' of git://git.kernel.org/pub/scm/linux/kernel/git/arn...Linus Torvalds1-4/+0
2018-03-16mm: remove blackfin MPU supportArnd Bergmann1-4/+0
2018-03-08module: propagate error in modules_open()Leon Yu1-1/+1
2018-02-07Merge tag 'modules-for-v4.16' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-6/+1
2018-02-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pml...Linus Torvalds1-0/+6
2018-01-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-1/+5
2018-01-29Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+11
2018-01-26module/retpoline: Warn about missing retpoline in moduleAndi Kleen1-0/+11
2018-01-15ftrace/module: Move ftrace_release_mod() to ddebug_cleanup labelNamit Gupta1-6/+1
2018-01-12error-injection: Separate error-injection from kprobeMasami Hiramatsu1-4/+4
2018-01-09sections: split dereference_function_descriptor()Sergey Senozhatsky1-0/+6
2017-12-12add infrastructure for tagging functions as error injectableJosef Bacik1-1/+5
2017-11-29kallsyms: take advantage of the new '%px' formatLinus Torvalds1-3/+3
2017-11-17Merge tag 'trace-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-0/+2
2017-11-15Merge tag 'modules-for-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+1
2017-11-13Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+10
2017-11-12/proc/module: use the same logic as /proc/kallsyms for address exposureLinus Torvalds1-2/+18
2017-11-12modules: make sysfs attribute files readable by owner onlyLinus Torvalds1-1/+1
2017-11-08module: export module signature enforcement statusBruno E. O. Meneguele1-0/+10
2017-10-19kernel/module: Delete an error message for a failed memory allocation in add_...Markus Elfring1-3/+1
2017-10-05ftrace: Save module init functions kallsyms symbols for tracingSteven Rostedt (VMware)1-1/+1
2017-10-05ftrace: Allow module init functions to be tracedSteven Rostedt (VMware)1-0/+2
2017-07-25module: fix ddebug_remove_module()Zhou Chengming1-6/+6
2017-07-12Merge tag 'modules-for-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-31/+54
2017-07-10lib/extable.c: use bsearch() library function in search_extable()Thomas Meyer1-1/+1
2017-07-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-3/+1
2017-07-06Merge tag 'trace-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-3/+3
2017-07-06kernel/module.c: use linux/set_memory.hMichael Ellerman1-3/+1
2017-06-29module: make the modinfo name constLuis R. Rodriguez1-2/+2
2017-06-27module: use list_for_each_entry_rcu() on find_module_all()Luis R. Rodriguez1-1/+1
2017-06-26kernel/module.c: suppress warning about unused nowarn variableCorentin Labbe1-10/+20
2017-06-13trace: rename struct module entry for trace enumsJeremy Linton1-3/+3
2017-06-13trace: rename kernel enum section to evalJeremy Linton1-1/+1
2017-05-25kobject: support passing in variables for synthetic ueventsPeter Rajnoha1-4/+1
2017-05-23module: Add module name to modinfoKees Cook1-7/+22
2017-05-23module: Pass struct load_info into symbol checksKees Cook1-12/+10
2017-05-08kernel/module.c: use set_memory.h headerLaura Abbott1-0/+3
2017-05-08mm, vmalloc: use __GFP_HIGHMEM implicitlyMichal Hocko1-1/+1
2017-05-03Merge tag 'modules-for-v4.12' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2017-05-03Merge branch 'stable-4.12' of git://git.infradead.org/users/pcmoore/auditLinus Torvalds1-0/+2
2017-05-02audit: log module name on delete_moduleRichard Guy Briggs1-0/+2
2017-04-24kallsyms: Use bounded strnchr() when parsing stringNaveen N. Rao1-1/+1
2017-03-26lockdep: Fix per-cpu static objectsPeter Zijlstra1-1/+5
2017-03-16locking/lockdep: Handle statically initialized PER_CPU locks properlyThomas Gleixner1-12/+24
2017-02-22Merge tag 'modules-for-v4.11' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-13/+17
2017-02-21Merge tag 'rodata-v4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-3/+3
2017-02-21Merge tag 'extable-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+1
2017-02-21Merge branch 'stable-4.11' of git://git.infradead.org/users/pcmoore/auditLinus Torvalds1-1/+4
2017-02-21module: fix memory leak on early load_module() failuresLuis R. Rodriguez1-0/+1
2017-02-13audit: log module name on init_moduleRichard Guy Briggs1-1/+4
2017-02-10module: Optimize search_module_extables()Peter Zijlstra1-13/+14
2017-02-09core: migrate exception table users off module.h and onto extable.hPaul Gortmaker1-0/+1
2017-02-07arch: Rename CONFIG_DEBUG_RODATA and CONFIG_DEBUG_MODULE_RONXLaura Abbott1-3/+3
2017-02-03modversions: treat symbol CRCs as 32 bit quantitiesArd Biesheuvel1-28/+25
2017-01-30livepatch/module: print notice of TAINT_LIVEPATCHJoe Lawrence1-0/+2
2017-01-17taint/module: Fix problems when out-of-kernel driver defines true or falseLarry Finger1-1/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-14Merge tag 'modules-for-v4.10' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-26/+43
2016-11-29Re-enable CONFIG_MODVERSIONS in a slightly weaker formLinus Torvalds1-2/+3
2016-11-27module: extend 'rodata=off' boot cmdline parameter to module mappingsAKASHI Takahiro1-3/+17
2016-11-26module: Fix a comment above strong_try_module_get()Miroslav Benes1-2/+5
2016-11-26module: When modifying a module's text ignore modules which are going away tooAaron Tomlin1-1/+7
2016-11-26module: Ensure a module's state is set accordingly during module coming clean...Aaron Tomlin1-0/+1
2016-11-26taint/module: Clean up global and module taint flags handlingPetr Mladek1-20/+13
2016-08-26livepatch/module: make TAINT_LIVEPATCH module-specificJosh Poimboeuf1-4/+9
2016-08-04Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-21/+100
2016-08-04modules: add ro_after_init supportJessica Yu1-12/+54
2016-08-04modules: Add kernel parameter to blacklist modulesPrarit Bhargava1-0/+24
2016-08-04module: Do a WARN_ON_ONCE() for assert module mutex not heldSteven Rostedt1-1/+1
2016-08-02dynamic_debug: only add header when usedLuis de Bethencourt1-0/+1
2016-07-27module: Invalidate signatures on force-loaded modulesBen Hutchings1-4/+9
2016-07-27module: Issue warnings when tainting kernelLibor Pechacek1-1/+10
2016-07-27module: fix redundant test.Rusty Russell1-2/+1
2016-07-27module: fix noreturn attribute for __module_put_and_exit()Jiri Kosina1-1/+1
2016-04-01module: preserve Elf information for livepatch modulesJessica Yu1-3/+122
2016-03-17Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-8/+28
2016-03-17Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-60/+8
2016-03-17livepatch/module: remove livepatch module notifierJessica Yu1-0/+10
2016-03-17modules: split part of complete_formation() into prepare_coming_module()Jessica Yu1-8/+18
2016-02-21module: replace copy_module_from_fd with kernel versionMimi Zohar1-60/+8
2016-02-18Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-0/+4
2016-02-17ftrace/module: remove ftrace module notifierJessica Yu1-0/+4
2016-02-03modules: fix longstanding /proc/kallsyms vs module insertion race.Rusty Russell1-43/+69
2016-02-03module: wrapper for symbol name.Rusty Russell1-11/+15
2016-02-03modules: fix modparam async_probe requestLuis R. Rodriguez1-1/+1
2016-01-14Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-184/+165
2016-01-07ftrace/module: Call clean up function when module init fails earlySteven Rostedt (Red Hat)1-0/+6
2015-12-04module: keep percpu symbols in module's symtabMiroslav Benes1-4/+11
2015-12-04module: clean up RO/NX handling.Rusty Russell1-91/+77
2015-12-04module: use a structure to encapsulate layout.Rusty Russell1-107/+92
2015-12-04module: Use the same logic for setting and unsetting RO/NXJosh Poimboeuf1-27/+30
2015-08-24module: Fix locking in symbol_put_addr()Peter Zijlstra1-2/+6
2015-07-29module: weaken locking assertion for oops path.Rusty Russell1-2/+6
2015-07-09module: Fix load_module() error pathPeter Zijlstra1-0/+1
2015-07-01Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-76/+233
2015-06-28param: fix module param locks when !CONFIG_SYSFS.Rusty Russell1-1/+8
2015-06-26Merge tag 'driver-core-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-4/+14
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/+2
2015-06-08Merge 4.1-rc7 into driver-core-nextGreg Kroah-Hartman1-0/+3
2015-05-28kernel/module.c: avoid ifdefs for sig_enforce declarationLuis R. Rodriguez1-7/+2
2015-05-28kernel/params.c: generalize bool_enable_onlyLuis R. Rodriguez1-31/+0
2015-05-28kernel/module.c: use generic module param operaters for sig_enforceLuis R. Rodriguez1-7/+9
2015-05-28module: Rework module_addr_{min,max}Peter Zijlstra1-28/+52
2015-05-28module: Use __module_address() for module_address_lookup()Peter Zijlstra1-10/+7
2015-05-28module: Make the mod_tree stuff conditional on PERF_EVENTS || TRACINGPeter Zijlstra1-2/+28