aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/module.c
AgeCommit message (Expand)AuthorFilesLines
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
2014-10-02aarch64: filter $x from kallsymsKyle McMartin1-1/+1
2014-08-27module: rename KERNEL_PARAM_FL_NOARG to avoid confusionJani Nikula1-1/+1
2014-08-16module: Clean up ro/nx after early module load failuresAndy Lutomirski1-0/+5
2014-08-10Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-8/+6
2014-07-27ARM: avoid ARM binutils leaking ELF local symbolsRussell King1-0/+2
2014-07-27module: add within_module() functionPetr Mladek1-8/+4
2014-07-03crypto: fips - only panic on bad/missing crypto mod signaturesJarod Wilson1-4/+0
2014-06-11Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-18/+26
2014-05-14module: set nx before marking module MODULE_STATE_COMING.Rusty Russell1-15/+17
2014-05-01Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+0
2014-04-28ftrace/module: Hardcode ftrace_module_init() call into load_module()Steven Rostedt (Red Hat)1-0/+3
2014-04-28param: hand arguments after -- straight to initRusty Russell1-3/+9
2014-04-28module: remove warning about waiting module removal.Rusty Russell1-3/+0
2014-04-07modules: use raw_cpu_write for initialization of per cpu refcount.Christoph Lameter1-1/+1
2014-04-06Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-4/+6
2014-03-31Merge branch 'x86-asmlinkage-for-linus' of git://git.kernel.org/pub/scm/linux...Linus Torvalds1-0/+4
2014-03-31Use 'E' instead of 'X' for unsigned module taint flag.Rusty Russell1-1/+1
2014-03-20Rename TAINT_UNSAFE_SMP to TAINT_CPU_OUT_OF_SPECDave Jones1-1/+1
2014-03-13Fix: module signature vs tracepoints: add new TAINT_UNSIGNED_MODULEMathieu Desnoyers1-1/+3
2014-03-13module: use pr_contJiri Slaby1-3/+3
2014-02-13lto: Handle LTO common symbols in module loaderJoe Mario1-0/+4
2014-01-21module: Add missing newline in printk call.Tetsuo Handa1-4/+2
2013-11-15Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-40/+26
2013-11-13kernel/module.c: use pr_foo()Andrew Morton1-59/+44
2013-10-17kernel: add support for init_array constructorsFrantisek Hrbata1-2/+18
2013-09-23module: remove rmmod --wait option.Rusty Russell1-38/+8
2013-09-05Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-7/+6
2013-09-03switch copy_module_from_fd() to fdgetAl Viro1-7/+6
2013-09-03module: Fix mod->mkobj.kobj potentially freed too earlyLi Zhong1-3/+11
2013-08-20kernel/module.c: use scnprintf() instead of sprintf()Chen Gang1-1/+1
2013-08-20module: Add NOARG flag for ops with param_set_bool_enable_only() set functionSteven Rostedt1-0/+1
2013-07-10Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-34/+43
2013-07-03module: cleanup call chain.Rusty Russell1-19/+16
2013-07-03module: do percpu allocation after uniqueness check. No, really!Rusty Russell1-16/+18
2013-07-02modules: don't fail to load on unknown parameters.Rusty Russell1-1/+12
2013-07-02module: don't modify argument of module_kallsyms_lookup_name()Mathias Krause1-8/+7
2013-05-17kmemleak: No need for scanning specific module sectionsSteven Rostedt1-13/+0
2013-05-17kmemleak: Scan all allocated, writeable and not executable module sectionsSteven Rostedt1-4/+4
2013-04-17module: don't unlink the module until we've removed all exposure.Rusty Russell1-4/+9
2013-03-20module: fix symbol versioning with symbol prefixesJames Hogan1-1/+2
2013-03-15CONFIG_SYMBOL_PREFIX: cleanup.Rusty Russell1-1/+1
2013-02-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2013-02-26switch vfs_getattr() to struct pathAl Viro1-1/+1
2013-01-21module: clean up load_module a little more.Rusty Russell1-39/+68
2013-01-21taint: add explicit flag to show whether lock dep is still OK.Rusty Russell1-11/+15
2013-01-21module: printk message when module signature fail taints kernel.Rusty Russell1-1/+6
2013-01-20module: fix missing module_mutex unlockLinus Torvalds1-1/+1
2013-01-20Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-46/+108
2013-01-16module, async: async_synchronize_full() on module init iff async is usedTejun Heo1-2/+25
2013-01-12module: put modules in list much earlier.Rusty Russell1-41/+49
2013-01-12module: add new state MODULE_STATE_UNFORMED.Rusty Russell1-5/+52
2013-01-03module: prevent warning when finit_module a 0 sized fileSasha Levin1-0/+7
2012-12-19Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-174/+267
2012-12-17kernel: remove reference to feature-removal-schedule.txtTao Ma1-3/+0
2012-12-14modules: don't hand 0 to vmalloc.Rusty Russell1-15/+18
2012-12-14module: Remove a extra null character at the top of module->strtab.Satoru Takeuchi1-5/+1
2012-12-14security: introduce kernel_module_from_file hookKees Cook1-0/+11
2012-12-14module: add flags arg to sys_finit_module()Rusty Russell1-14/+26
2012-12-14module: add syscall to load module from fdKees Cook1-148/+219
2012-10-31module: fix out-by-one error in kallsymsRusty Russell1-11/+16
2012-10-19MODSIGN: Move the magic string to the end of a module and eliminate the searchDavid Howells1-17/+9
2012-10-10MODSIGN: Add FIPS policyDavid Howells1-0/+4
2012-10-10module: signature checking hookRusty Russell1-1/+92
2012-09-28module: wait when loading a module which is currently initializing.Rusty Russell1-2/+26
2012-09-28module: fix symbol waiting when module fails before initRusty Russell1-4/+4
2012-09-28Make most arch asm/module.h files use asm-generic/module.hDavid Howells1-20/+0
2012-09-28module: taint kernel when lve module is loadedMatthew Garrett1-0/+4
2012-05-23Guard check in module loader against integer overflowDavid Howells1-1/+2
2012-04-30dynamic_debug: make dynamic-debug work for module initializationJim Cromie1-1/+1
2012-03-26module: Remove module size limitSasha Levin1-2/+1
2012-03-26module: move __module_get and try_module_get() out of line.Steven Rostedt1-0/+30
2012-03-26params: <level>_initcall-like kernel parametersPawel Moll1-1/+2
2012-03-26module: add kernel param to force disable module loadDave Young1-0/+1
2012-01-15error: implicit declaration of function 'module_flags_taint'Kevin Winchester1-20/+20
2012-01-13modules: sysfs - export: taint, coresize, initsizeKay Sievers1-29/+64
2012-01-13module: replace DEBUGP with pr_debugJim Cromie1-26/+20
2012-01-13module: struct module_ref should contains long fieldsEric Dumazet1-4/+4
2012-01-13module: Fix performance regression on modules with large symbol tablesKevin Cernekee1-44/+21
2012-01-13module: Add comments describing how the "strmap" logic worksKevin Cernekee1-0/+9
2011-11-06Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1