diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-07 12:02:24 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-07 12:02:24 -0700 |
commit | ddc4e6d232d6b625a5686ec1aafe42b9e0109a4c (patch) | |
tree | 53f865760ca450fdb1789377516053980d96a837 /include | |
parent | bc75450cc3db3485db1e289fef8c1028ba38296a (diff) | |
parent | 2992ef29ae01af998399d55ed7c692a2505fb8af (diff) | |
download | linux-riscv-ddc4e6d232d6b625a5686ec1aafe42b9e0109a4c.tar.gz linux-riscv-ddc4e6d232d6b625a5686ec1aafe42b9e0109a4c.tar.bz2 linux-riscv-ddc4e6d232d6b625a5686ec1aafe42b9e0109a4c.zip |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/livepatching
Pull livepatching updates from Jiri Kosina:
- fix for patching modules that contain .altinstructions or
.parainstructions sections, from Jessica Yu
- make TAINT_LIVEPATCH a per-module flag (so that it's immediately
clear which module caused the taint), from Josh Poimboeuf
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/livepatching:
livepatch/module: make TAINT_LIVEPATCH module-specific
Documentation: livepatch: add section about arch-specific code
livepatch/x86: apply alternatives and paravirt patches after relocations
livepatch: use arch_klp_init_object_loaded() to finish arch-specific tasks
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/livepatch.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/livepatch.h b/include/linux/livepatch.h index a93a0b23dc8d..9072f04db616 100644 --- a/include/linux/livepatch.h +++ b/include/linux/livepatch.h @@ -116,6 +116,9 @@ int klp_unregister_patch(struct klp_patch *); int klp_enable_patch(struct klp_patch *); int klp_disable_patch(struct klp_patch *); +void arch_klp_init_object_loaded(struct klp_patch *patch, + struct klp_object *obj); + /* Called from the module loader during module coming/going states */ int klp_module_coming(struct module *mod); void klp_module_going(struct module *mod); |