kernel-fxtec-pro1x/kernel/livepatch
Miroslav Benes 5720acf4bf livepatch: Make livepatch dependent on !TRIM_UNUSED_KSYMS
If TRIM_UNUSED_KSYMS is enabled, all unneeded exported symbols are made
unexported. Two-pass build of the kernel is done to find out which
symbols are needed based on a configuration. This effectively
complicates things for out-of-tree modules.

Livepatch exports functions to (un)register and enable/disable a live
patch. The only in-tree module which uses these functions is a sample in
samples/livepatch/. If the sample is disabled, the functions are
trimmed and out-of-tree live patches cannot be built.

Note that live patches are intended to be built out-of-tree.

Suggested-by: Michal Marek <mmarek@suse.com>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Acked-by: Jessica Yu <jeyu@redhat.com>
Signed-off-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2017-05-27 00:27:37 +02:00
..
core.c Merge branches 'for-4.12/upstream' and 'for-4.12/klp-hybrid-consistency-model' into for-linus 2017-05-01 21:49:28 +02:00
core.h livepatch: make klp_mutex proper part of API 2017-03-08 14:40:53 +01:00
Kconfig livepatch: Make livepatch dependent on !TRIM_UNUSED_KSYMS 2017-05-27 00:27:37 +02:00
Makefile livepatch: change to a per-task consistency model 2017-03-08 09:36:21 +01:00
patch.c livepatch: change to a per-task consistency model 2017-03-08 09:36:21 +01:00
patch.h livepatch: change to a per-task consistency model 2017-03-08 09:36:21 +01:00
transition.c livepatch: Cancel transition a safe way for immediate patches 2017-04-11 20:54:27 +02:00
transition.h livepatch: change to a per-task consistency model 2017-03-08 09:36:21 +01:00