aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/livepatch
AgeCommit message (Expand)AuthorFilesLines
2023-09-20livepatch: Fix missing newline character in klp_resolve_symbols()Zheng Yejian1-1/+1
2023-06-05livepatch: Make 'klp_stack_entries' staticJosh Poimboeuf1-1/+1
2023-04-28Merge tag 'sched-core-2023-04-27' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds2-18/+105
2023-04-27Merge tag 'modules-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+1
2023-03-22livepatch,sched: Add livepatch task switching to cond_resched()Josh Poimboeuf2-15/+93
2023-03-22livepatch: Skip task_call_func() for current taskJosh Poimboeuf1-1/+5
2023-03-22livepatch: Convert stack entries array to percpuJosh Poimboeuf1-2/+7
2023-03-19kallsyms: Delete an unused parameter related to {module_}kallsyms_on_each_sym...Zhen Lei1-2/+1
2023-03-09livepatch: Make kobj_type structures constantThomas Weißschuh1-3/+3
2023-02-23Merge tag 'livepatching-for-6.3' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-13/+49
2023-02-03livepatch,x86: Clear relocation targets on a module removalSong Liu1-13/+49
2023-01-19livepatch: Improve the search performance of module_kallsyms_on_each_symbol()Zhen Lei1-9/+1
2022-12-13Merge tag 'modules-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-12/+19
2022-12-12livepatch: Call klp_match_callback() in klp_find_callback() to avoid code dup...Zhen Lei1-22/+11
2022-12-12Merge tag 'livepatching-for-6.2' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-27/+27
2022-11-18ftrace: rename ftrace_instruction_pointer_set() -> ftrace_regs_set_instructio...Mark Rutland1-1/+1
2022-11-12livepatch: Use kallsyms_on_each_match_symbol() to improve performanceZhen Lei1-1/+19
2022-10-18livepatch: Move the result-invariant calculation out of the loopZhen Lei1-27/+27
2022-10-10Merge tag 'livepatching-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds2-3/+35
2022-10-05Merge branch 'for-6.1/sysfs-patched-object' into for-linusPetr Mladek1-0/+18
2022-09-28kallsyms: increase maximum kernel symbol length to 512Miguel Ojeda1-2/+2
2022-09-23livepatch: add sysfs entry "patched" for each klp_objectSong Liu1-0/+18
2022-09-01livepatch: Add a missing newline character in klp_module_coming()Zhen Lei1-1/+1
2022-09-01livepatch: fix race between fork and KLP transitionRik van Riel1-2/+16
2022-06-02Merge tag 'livepatching-for-5.19' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2022-05-24livepatch: Remove klp_arch_set_pc() and asm/livepatch.hChristophe Leroy1-1/+1
2022-03-28Merge tag 'ptrace-cleanups-for-v5.18' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+0
2022-03-28Merge tag 'livepatching-for-5.18' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+9
2022-03-27Merge tag 'x86_core_for_5.18_rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-17/+2
2022-03-17livepatch: Don't block removal of patches that are safe to unloadChengming Zhou1-2/+9
2022-03-15x86/livepatch: Validate __fentry__ locationPeter Zijlstra1-17/+2
2022-03-10tracehook: Remove tracehook.hEric W. Biederman1-1/+0
2022-02-07livepatch: Fix build failure on 32 bits processorsChristophe Leroy1-2/+2
2022-01-16Merge tag 'livepatching-for-5.17' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds2-19/+16
2022-01-04livepatch: Fix missing unlock on error in klp_enable_patch()Yang Yingliang1-1/+3
2022-01-04livepatch: Fix kobject refcount bug on klp_init_patch_early failure pathDavid Vernet1-18/+13
2021-12-23Documentation: livepatch: Add livepatch API pageDavid Vernet1-3/+3
2021-11-01Merge tag 'trace-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-6/+6
2021-10-27ftrace: disable preemption when recursion locked王贇1-6/+6
2021-10-14sched,livepatch: Use wake_up_if_idle()Peter Zijlstra1-1/+4
2021-10-07sched,livepatch: Use task_call_func()Peter Zijlstra1-46/+44
2021-08-19livepatch: Replace deprecated CPU-hotplug functions.Sebastian Andrzej Siewior1-2/+2
2021-04-27Merge tag 'livepatching-for-5.13' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-3/+2
2021-03-30livepatch: Replace the fake signal sending with TIF_NOTIFY_SIGNAL infrastructureMiroslav Benes1-3/+2
2021-02-08kallsyms: refactor {,module_}kallsyms_on_each_symbolChristoph Hellwig1-2/+0
2021-02-08module: use RCU to synchronize find_moduleChristoph Hellwig1-2/+3
2020-11-13livepatch: Use the default ftrace_ops instead of REGS when ARGS is availableSteven Rostedt (VMware)2-5/+6
2020-11-13ftrace: Have the callbacks receive a struct ftrace_regs instead of pt_regsSteven Rostedt (VMware)1-1/+2
2020-11-06ftrace: Add recording of functions that caused recursionSteven Rostedt (VMware)1-1/+1
2020-11-06livepatch: Trigger WARNING if livepatch function fails due to recursionSteven Rostedt (VMware)1-1/+1
2020-11-06livepatch/ftrace: Add recursion protection to the ftrace callbackSteven Rostedt (VMware)1-0/+5
2020-10-16kernel/: fix repeated words in commentsRandy Dunlap1-1/+1
2020-05-11livepatch: Make klp_apply_object_relocs staticSamuel Zou1-1/+2
2020-05-08x86/module: Use text_mutex in apply_relocate_add()Josh Poimboeuf1-6/+0
2020-05-08livepatch: Remove module_disable_ro() usageJosh Poimboeuf1-2/+0
2020-05-08livepatch: Prevent module-specific KLP rela sections from referencing vmlinux...Josh Poimboeuf1-11/+27
2020-05-08livepatch: Remove .klp.archPeter Zijlstra1-18/+9
2020-05-08livepatch: Apply vmlinux-specific KLP relocations earlyJosh Poimboeuf1-51/+86
2020-05-08livepatch: Disallow vmlinux.koJosh Poimboeuf1-0/+5
2019-11-27Merge tag 'trace-v5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-1/+2
2019-11-04ftrace: Introduce PERMANENT ftrace_ops flagMiroslav Benes1-1/+2
2019-11-01livepatch: Allow to distinguish different version of system state changesPetr Mladek3-0/+53
2019-11-01livepatch: Basic API to track system state changesPetr Mladek2-1/+84
2019-11-01livepatch: Keep replaced patches until post_patch callback is calledPetr Mladek3-18/+35
2019-08-19livepatch: Nullify obj->mod in klp_module_coming()'s error pathMiroslav Benes1-0/+1
2019-07-11Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/liv...Linus Torvalds1-3/+8
2019-06-20livepatch: Remove duplicate warning about missing reliable stacktrace supportPetr Mladek1-1/+0
2019-06-20Revert "livepatch: Remove reliable stacktrace check in klp_try_switch_task()"Miroslav Benes1-0/+7
2019-06-15Merge tag 'trace-v5.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/r...Linus Torvalds1-0/+6
2019-06-14module: Fix livepatch/ftrace module text permissions raceJosh Poimboeuf1-0/+6
2019-06-05livepatch: Use static buffer for debugging messages under rq lockPetr Mladek1-2/+1
2019-05-21treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13Thomas Gleixner4-52/+4
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner2-0/+2
2019-05-15Merge tag 'trace-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-8/+0
2019-05-10livepatch: Remove klp_check_compiler_support()Jiri Kosina1-8/+0
2019-05-07Merge tag 'driver-core-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+2
2019-05-07Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/liv...Linus Torvalds1-52/+39
2019-05-03livepatch: Remove duplicated code for early initializationPetr Mladek1-16/+26
2019-05-03livepatch: Remove custom kobject state handlingPetr Mladek1-39/+17
2019-04-29livepatch: Convert error about unsupported reliable stacktrace into a warningPetr Mladek1-3/+2
2019-04-29livepatch: Simplify stack trace retrievalThomas Gleixner1-13/+9
2019-04-25livepatch: Replace klp_ktype_patch's default_attrs with groupsKimberly Brown1-1/+2
2019-03-05Merge branch 'for-5.1/atomic-replace' into for-linusJiri Kosina3-26/+18
2019-02-06livepatch: Module coming and going callbacks can proceed with all listed patchesPetr Mladek1-20/+6
2019-02-06livepatch: Introduce klp_for_each_patch macroPetr Mladek3-5/+11
2019-02-06livepatch: core: Return EOPNOTSUPP instead of ENOSYSAlice Ferrazzi1-1/+1
2019-01-16livepatch: Remove signal sysfs attributeMiroslav Benes3-74/+41
2019-01-16livepatch: Send a fake signal periodicallyMiroslav Benes1-3/+13
2019-01-11livepatch: Remove ordering (stacking) of the livepatchesPetr Mladek1-4/+0
2019-01-11livepatch: Remove Nop structures when unusedPetr Mladek5-9/+76
2019-01-11livepatch: Add atomic replaceJason Baron4-8/+236
2019-01-11livepatch: Use lists to manage patches, objects and functionsJason Baron1-2/+7
2019-01-11livepatch: Simplify API by removing registration stepPetr Mladek3-193/+108
2019-01-11livepatch: Don't block the removal of patches loaded after a forced transitionPetr Mladek3-6/+9
2019-01-11livepatch: Consolidate klp_free functionsPetr Mladek1-45/+92
2019-01-11livepatch: Shuffle klp_enable_patch()/klp_disable_patch() codePetr Mladek1-164/+166
2019-01-11livepatch: Change unsigned long old_addr -> void *old_func in struct klp_funcPetr Mladek4-15/+17
2018-12-01livepatch: Replace synchronize_sched() with synchronize_rcu()Paul E. McKenney2-4/+4
2018-08-20Merge branch 'for-4.19/upstream' into for-linusJiri Kosina1-7/+0
2018-07-23livepatch: Validate module/old func name lengthKamalesh Babulal1-0/+6
2018-07-16livepatch: Remove reliable stacktrace check in klp_try_switch_task()Kamalesh Babulal1-7/+0
2018-04-17livepatch: Allow to call a custom callback when freeing shadow variablesPetr Mladek1-8/+18
2018-04-17livepatch: Initialize shadow variables safely by a custom callbackPetr Mladek1-29/+53
2018-01-31Merge branch 'for-4.16/remove-immediate' into for-linusJiri Kosina2-55/+6
2018-01-11livepatch: add locking to force and signal functionsMiroslav Benes1-24/+28
2018-01-11livepatch: Remove immediate featureMiroslav Benes2-55/+6
2017-12-07livepatch: force transition to finishMiroslav Benes3-2/+65
2017-12-04livepatch: send a fake signal to all blocking tasksMiroslav Benes3-0/+72
2017-11-15Merge branch 'for-linus' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds6-18/+399
2017-11-15Merge branch 'for-4.15/callbacks' into for-linusJiri Kosina4-17/+121
2017-11-15Merge branch 'for-4.15/shadow-variables' into for-linusJiri Kosina2-1/+278
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman3-0/+3
2017-10-26livepatch: __klp_disable_patch() should never be called for disabled patchesPetr Mladek1-1/+4
2017-10-26livepatch: Correctly call klp_post_unpatch_callback() in error pathsPetr Mladek2-6/+6
2017-10-19livepatch: add transition noticesJoe Lawrence1-1/+17
2017-10-19livepatch: move transition "complete" notice into klp_complete_transition()Joe Lawrence1-3/+3
2017-10-19livepatch: add (un)patch callbacksJoe Lawrence4-13/+98
2017-10-11livepatch: unpatch all klp_objects if klp_module_coming failsJoe Lawrence1-23/+37
2017-09-15livepatch: __klp_shadow_get_or_alloc() is local to shadow.cJiri Kosina1-1/+1
2017-09-14livepatch: introduce shadow variable APIJoe Lawrence2-1/+278
2017-06-20livepatch: Fix stacking of patches with respect to RCUPetr Mladek2-7/+37
2017-05-27livepatch: Make livepatch dependent on !TRIM_UNUSED_KSYMSMiroslav Benes1-0/+1
2017-05-01Merge branches 'for-4.12/upstream' and 'for-4.12/klp-hybrid-consistency-model...Jiri Kosina7-274/+1043
2017-04-16livepatch: add missing printk newlinesJosh Poimboeuf1-4/+4
2017-04-11livepatch: Cancel transition a safe way for immediate patchesPetr Mladek1-20/+0
2017-03-30livepatch: Reduce the time of finding module symbolsZhou Chengming1-1/+4
2017-03-08livepatch: make klp_mutex proper part of APIJiri Kosina3-2/+8
2017-03-08livepatch: allow removal of a disabled patchJosh Poimboeuf2-33/+84
2017-03-08livepatch: change to a per-task consistency modelJosh Poimboeuf6-25/+699
2017-03-08livepatch: store function sizesJosh Poimboeuf1-0/+16
2017-03-08livepatch: use kstrtobool() in enabled_store()Josh Poimboeuf1-8/+5
2017-03-08livepatch: move patching functions into patch.cJosh Poimboeuf4-202/+247
2017-03-08livepatch: remove unnecessary object loaded checkJosh Poimboeuf1-3/+0
2017-03-08livepatch: separate enabled and patched statesJosh Poimboeuf1-36/+36
2017-03-08livepatch: create temporary klp_update_patch_state() stubJosh Poimboeuf1-0/+3
2016-08-26livepatch/module: make TAINT_LIVEPATCH module-specificJosh Poimboeuf1-3/+0
2016-08-18livepatch: use arch_klp_init_object_loaded() to finish arch-specific tasksJessica Yu1-3/+13
2016-08-04modules: add ro_after_init supportJessica Yu1-1/+1
2016-05-17Merge branches 'for-4.7/core', 'for-4.7/livepatching-doc' and 'for-4.7/livepa...Jiri Kosina1-60/+128
2016-04-30livepatch: make object/func-walking helpers more robustMiroslav Benes1-0/+3
2016-04-15Merge branch 'topic/livepatch' of git://git.kernel.org/pub/scm/linux/kernel/g...Jiri Kosina1-3/+31
2016-04-14livepatch: Allow architectures to specify an alternate ftrace locationMichael Ellerman1-3/+31
2016-04-07livepatch: robustify klp_register_patch() API error checkingJiri Kosina1-3/+3
2016-04-01livepatch: reuse module loader code to write relocationsJessica Yu1-54/+94
2016-03-17livepatch/module: remove livepatch module notifierJessica Yu1-76/+71
2016-03-09livepatch: Fix the error message about unresolvable ambiguityPetr Mladek1-2/+2
2015-12-04livepatch: Cleanup module page permission changesJosh Poimboeuf1-5/+11
2015-12-03livepatch: function,sympos scheme in livepatch sysfs directoryChris J Arges1-2/+8
2015-12-03livepatch: add sympos as disambiguator field to klp_relocChris J Arges1-65/+19
2015-12-03livepatch: add old_sympos as disambiguator field to klp_funcChris J Arges1-41/+31
2015-11-11livepatch: x86: fix relocation computation with kASLRZhou Chengming1-0/+6
2015-07-14livepatch: Improve error handling in klp_disable_func()Minfei Huang1-2/+4
2015-06-22Merge branches 'for-4.1/upstream-fixes', 'for-4.2/kaslr' and 'for-4.2/upstrea...Jiri Kosina1-30/+48
2015-06-02livepatch: add module locking around kallsyms callsMiroslav Benes1-5/+13
2015-05-25livepatch: annotate klp_init() with __initMinfei Huang1-1/+1
2015-05-19livepatch: introduce patch/func-walking helpersJiri Slaby1-9/+9
2015-05-19livepatch: make kobject in klp_object statically allocatedMiroslav Benes1-6/+16
2015-05-18livepatch: Prevent patch inconsistencies if the coming module notifier failsMinfei Huang1-11/+18
2015-05-11livepatch: match return value to function signatureNicholas Mc Guire1-1/+1
2015-04-29livepatch: x86: make kASLR logic more accurateJiri Kosina1-2/+3
2015-04-13Merge branch 'for-4.1/core-noarch' into for-linusJiri Kosina1-52/+17
2015-03-17livepatch: Fix subtle race with coming and going modulesPetr Mladek1-4/+26
2015-03-04livepatch: remove unnecessary call to klp_find_object_module()Josh Poimboeuf1-2/+0
2015-03-03livepatch: fix RCU usage in klp_find_external_symbol()Peter Zijlstra1-1/+2
2015-02-22livepatch: RCU protect struct klp_func all the time when used in klp_ftrace_h...Petr Mladek1-3/+3
2015-02-18livepatch: simplify disable error pathJosh Poimboeuf1-50/+17
2015-02-16livepatch: fix format string in kobject_init_and_add()Jiri Kosina1-2/+2
2015-02-06livepatch: add missing newline to error messageJosh Poimboeuf1-1/+1
2015-02-04livepatch: rename config to CONFIG_LIVEPATCHJosh Poimboeuf2-4/+4
2015-01-21livepatch: fix uninitialized return valueJosh Poimboeuf1-1/+1
2015-01-20livepatch: support for repatching a functionJosh Poimboeuf1-51/+119
2015-01-20livepatch: enforce patch stacking semanticsJosh Poimboeuf1-0/+10
2015-01-20livepatch: change ARCH_HAVE_LIVE_PATCHING to HAVE_LIVE_PATCHINGMiroslav Benes1-2/+2
2015-01-09livepatch: fix deferred module patching orderJosh Poimboeuf1-1/+1
2015-01-09livepatch: handle ancient compilers with more graceJiri Kosina1-0/+6
2015-01-06livepatch: kconfig: use bool instead of booleanChristoph Jaeger1-2/+2
2014-12-22livepatch: use FTRACE_OPS_FL_IPMODIFYJosh Poimboeuf1-1/+2
2014-12-22livepatch: move x86 specific ftrace handler code to arch/x86Li Bin1-1/+1
2014-12-22livepatch: kernel: add support for live patchingSeth Jennings3-0/+951