aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/module.c
AgeCommit message (Expand)AuthorFilesLines
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
2015-05-28module: Optimize __module_address() using a latched RB-treePeter Zijlstra1-5/+110
2015-05-28module: Sanitize RCU usage and lockingPeter Zijlstra1-8/+32
2015-05-27module: Annotate module version magicPeter Zijlstra1-3/+9
2015-05-20driver-core: add driver module asynchronous probe supportLuis R. Rodriguez1-2/+10
2015-05-20module: add extra argument for parse_params() callbackLuis R. Rodriguez1-2/+4
2015-05-13tracing: Rename ftrace_event.h to trace_events.hSteven Rostedt (Red Hat)1-1/+1
2015-05-09module: Call module notifier on failure after complete_formation()Steven Rostedt1-0/+3
2015-04-22Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-4/+5
2015-04-14Merge tag 'trace-v4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-0/+3
2015-04-08Copy the kernel module data from user space in chunksLinus Torvalds1-1/+18
2015-04-08tracing: Allow for modules to convert their enums to valuesSteven Rostedt (Red Hat)1-0/+3
2015-03-24module: do not print allocation-fail warning on bogus user buffer sizeKirill A. Shutemov1-1/+2
2015-03-24kernel/module.c: fix typos in message about unused symbolsYannick Guerrini1-3/+3
2015-03-23lockdep: Fix the module unload key range freeing logicPeter Zijlstra1-4/+4
2015-03-12kasan, module, vmalloc: rework shadow allocation for modulesAndrey Ryabinin1-2/+0
2015-03-06kernel/module.c: Update debug alignment after symtable generationLaura Abbott1-0/+2
2015-02-17kernel/module.c: do not inline do_init_module()Jan Kiszka1-2/+7
2015-02-13kasan: enable instrumentation of global variablesAndrey Ryabinin1-0/+2
2015-02-11module: Replace over-engineered nested sleepPeter Zijlstra1-28/+8
2015-02-11module: Annotate nested sleep in resolve_symbol()Peter Zijlstra1-0/+6
2015-02-06module: Remove double spaces in module verification taint messageMarcel Holtmann1-1/+1
2015-02-06kernel/module.c: Free lock-classes if parse_args failedAndrey Tsyvarev1-0/+3
2015-01-22module: make module_refcount() a signed integer.Rusty Russell1-4/+13
2015-01-20module: fix race in kallsyms resolution during module load success.Rusty Russell1-13/+42
2015-01-20module: remove mod arg from module_free, rename module_memfree().Rusty Russell1-7/+7
2015-01-20module_arch_freeing_init(): new hook for archs before module->module_init freed.Rusty Russell1-0/+7
2014-12-18Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-95/+75
2014-11-11kernel:module Fix coding style errors and warnings.Ionut Alexa1-25/+28
2014-11-11module: Remove stop_machine from module unloadingMasami Hiramatsu1-28/+39
2014-11-11module: Replace module_ref with atomic_t refcntMasami Hiramatsu1-34/+5
2014-11-11lib/bug: Use RCU list ops for module_bug_listMasami Hiramatsu1-2/+3
2014-11-11module: Unlink module with RCU synchronizing instead of stop_machineMasami Hiramatsu1-13/+5
2014-11-11module: Wait for RCU synchronizing before releasing a moduleMasami Hiramatsu1-0/+2
2014-10-28sched, modules: Fix nested sleep in add_unformed_module()Peter Zijlstra1-2/+28
2014-10-18Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+2
2014-10-15modules, lock around setting of MODULE_STATE_UNFORMEDPrarit Bhargava1-0/+2
2014-10-08Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-1/+1