aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/module.c
AgeCommit message (Expand)AuthorFilesLines
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
2011-11-07module,bug: Add TAINT_OOT_MODULE flag for modules not built in-treeBen Hutchings1-0/+5
2011-11-07module: Enable dynamic debugging regardless of taintBen Hutchings1-4/+2
2011-10-31kernel: Map most files to use export.h instead of module.hPaul Gortmaker1-1/+1
2011-08-10Tracepoint: Dissociate from module mutexMathieu Desnoyers1-47/+0
2011-07-24module: add /sys/module/<name>/uevent filesKay Sievers1-0/+17
2011-07-24module: change attr callbacks to take struct module_kobjectKay Sievers1-7/+7
2011-07-24modules: add default loader hook implementationsJonas Bonn1-0/+49
2011-05-23Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+2
2011-05-19module: Use binary search in lookup_symbol()Alessio Igor Bogani1-5/+2
2011-05-19module: Use the binary search for symbols resolutionAlessio Igor Bogani1-5/+16
2011-05-19module: each_symbol_section instead of each_symbolRusty Russell1-15/+27
2011-05-19module: split unset_section_ro_nx function.Jan Glauber1-22/+23
2011-05-19module: undo module RONX protection correctly.Jan Glauber1-12/+13
2011-05-19module: zero mod->init_ro_size after init is freed.Jan Glauber1-0/+1
2011-05-19minor ANSI prototype sparse fixDaniel J Blueman1-2/+2
2011-04-25modules: Enabled dynamic debugging for staging modulesRoland Vossen1-2/+2
2011-03-31Fix common misspellingsLucas De Marchi1-3/+3
2011-03-22printk: use %pK for /proc/kallsyms and /proc/modulesKees Cook1-2/+2
2011-02-03tracepoints: Fix section alignment using pointer arrayMathieu Desnoyers1-8/+8
2010-12-23module: Move RO/NX module protection to after ftrace module updateSteven Rostedt1-12/+12
2010-12-23Merge commit 'v2.6.37-rc7' into x86/securityIngo Molnar1-0/+12
2010-11-18x86: Add RO/NX protection for loadable kernel modulesmatthieu castet1-2/+169
2010-11-10tracing: Fix module use of trace_bprintk()Steven Rostedt1-0/+12
2010-10-27(trivial) Fix compiler warning in kernel/modules.cMichał Mirosław1-1/+1
2010-10-08Merge commit 'v2.6.36-rc7' into perf/coreIngo Molnar1-0/+4
2010-10-05modules: Fix module_bug_list list corruption raceLinus Torvalds1-0/+4
2010-09-22jump label: Base patch for jump labelJason Baron1-0/+6
2010-08-05module: cleanup comments, remove noinlineRusty Russell1-4/+8
2010-08-05module: group post-relocation functions into post_relocation()Rusty Russell1-24/+32
2010-08-05module: move module args strndup_user to just before useRusty Russell1-15/+13
2010-08-05module: pass load_info into other functionsRusty Russell1-215/+157
2010-08-05module: fix sysfs cleanup for !CONFIG_SYSFSRusty Russell1-7/+6
2010-08-05module: sysfs cleanupRusty Russell1-43/+34
2010-08-05module: layout_and_allocateRusty Russell1-99/+125
2010-08-05module: fix crash in get_ksymbol() when oopsing in module initRusty Russell1-1/+2
2010-08-05module: kallsyms functions take struct load_infoRusty Russell1-39/+29
2010-08-05module: refactor out section header rewriting: FIX modversionsRusty Russell1-6/+6
2010-08-05module: refactor out section header rewritingRusty Russell1-25/+45
2010-08-05module: add load_infoLinus Torvalds1-103/+125
2010-08-05module: reduce stack usage for each_symbol()Linus Torvalds1-1/+1
2010-08-05module: refactor load_module part 5Rusty Russell1-76/+106
2010-08-05module: refactor load_module part 4Rusty Russell1-17/+15
2010-08-05module: refactor load_module part 3Rusty Russell1-47/+75
2010-08-05module: refactor load_module part 2Linus Torvalds1-57/+72
2010-08-05module: refactor load_moduleLinus Torvalds1-61/+69
2010-08-05module: module_unload_init() cleanupEric Dumazet1-6/+0
2010-07-27dynamic debug: move ddebug_remove_module() down into free_module()Jason Baron1-1/+3
2010-07-04module: initialize module dynamic debug laterYehuda Sadeh1-8/+15
2010-06-05module: fix bne2 "gave up waiting for init of module libcrc32c"Rusty Russell1-32/+59
2010-06-05module: verify_export_symbols under the lockRusty Russell1-16/+10
2010-06-05module: move find_module check to endLinus Torvalds1-5/+7
2010-06-05module: make locking more fine-grained.Rusty Russell1-23/+42
2010-06-05module: Make module sysfs functions private.Rusty Russell1-4/+25
2010-06-05module: move sysfs exposure to end of load_moduleRusty Russell1-11/+36
2010-06-05module: fix kdb's illicit use of struct module_use.Rusty Russell1-10/+1
2010-06-05module: Make the 'usage' lists be two-wayLinus Torvalds1-31/+48
2010-06-01Merge branch 'for-35' of git://repo.or.cz/linux-kbuildLinus Torvalds1-1/+1
2010-05-31module: fix reference to mod->percpu after freeing module.Rusty Russell1-1/+4
2010-05-25Revert "module: drop the lock while waiting for module to complete initializa...Linus Torvalds1-37/+22
2010-05-25module: remove duplicate declaration of __ksymtab_gpl_futureWenji Huang1-2/+0
2010-05-21Merge branch 'modules' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty...Linus Torvalds1-22/+37
2010-05-21Merge branch 'kdb-merge' of git://git.kernel.org/pub/scm/linux/kernel/git/jwe...Linus Torvalds1-0/+4
2010-05-21sysfs: add struct file* to bin_attr callbacksChris Wright1-1/+1
2010-05-20kdb: core for kgdb back end (2 of 2)Jason Wessel1-0/+4
2010-05-19module: drop the lock while waiting for module to complete initialization.Rusty Russell1-22/+37
2010-05-18Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-12/+2
2010-05-06stop_machine: reimplement using cpu_stopTejun Heo1-12/+2
2010-04-08Merge branch 'linus' into tracing/coreIngo Molnar1-38/+99
2010-04-05Fix up possibly racy module refcountingNick Piggin1-8/+27
2010-03-31tracing: Fix compile error in module tracepoints when MODULE_UNLOAD not setSteven Rostedt1-2/+3
2010-03-31tracing: Remove side effect from module tracepoints that caused a GPFLi Zefan1-2/+1
2010-03-29percpu, module: implement and use is_kernel/module_percpu_address()Tejun Heo1-0/+38
2010-03-29module: encapsulate percpu handling better and record percpu_sizeTejun Heo1-31/+35
2010-03-07sysfs: Use sysfs_attr_init and sysfs_bin_attr_init on module dynamic attributesEric W. Biederman1-0/+3
2010-03-03Rename .data[.percpu][.XXX] to .data[..percpu][..XXX].Denys Vlasenko1-1/+1
2010-02-02Merge branch 'master' into percpuTejun Heo1-7/+10
2010-01-06modules: Skip empty sections when exporting section notesBen Hutchings1-7/+10
2010-01-05module: Use this_cpu_xx to dynamically allocate countersChristoph Lameter1-14/+15
2009-12-17Merge branch 'kmemleak' of git://linux-arm.org/linux-2.6Linus Torvalds1-5/+8
2009-12-15module: handle ppc64 relocating kcrctabs when CONFIG_RELOCATABLE=yRusty Russell1-7/+21
2009-12-14Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/...Linus Torvalds1-150/+0
2009-12-02modules: don't export section names of empty sections via sysfsHelge Deller1-1/+4
2009-10-28kmemleak: Scan the _ftrace_events section in modulesCatalin Marinas1-0/+6
2009-10-28kmemleak: Simplify the kmemleak_scan_area() function prototypeCatalin Marinas1-5/+2
2009-10-02percpu: kill legacy percpu allocatorTejun Heo1-150/+0
2009-10-01module: fix up CONFIG_KALLSYMS=n build.Paul Mundt1-3/+4
2009-09-26Merge branch 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+0
2009-09-25module: don't call percpu_modfree on NULL pointer.Rusty Russell1-1/+1
2009-09-25module: fix memory leak when load fails after srcversion/version allocatedRusty Russell1-0/+12
2009-09-25module: reduce string table for loaded modules (v2)Jan Beulich1-12/+56
2009-09-25module: reduce symbol table for loaded modules (v2)Jan Beulich1-4/+87
2009-09-23modules, tracing: Remove stale struct marker signature from module_layout()Ingo Molnar1-1/+0
2009-09-22nommu: add support for Memory Protection Units (MPU)Bernd Schmidt1-0/+5
2009-09-18tracing: Remove markersChristoph Hellwig1-18/+0
2009-09-15Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/...Linus Torvalds1-3/+3
2009-09-06Merge commit 'v2.6.31-rc9' into tracing/coreIngo Molnar1-2/+8