kpatch/kmod/patch
Joe Lawrence 13fd6f2563 kmod: fix kpatch patch module load if CONFIG_LIVEPATCH=n
Previous commit "kmod: let kernel apply TAINT_LIVEPATCH" modified the
kpatch patch module to set the "livepatch" module info.  This breaks
module loading for kernel config CONFIG_LIVEPATCH=n

  kpatch_kmalloc: module is marked as livepatch module, but livepatch support is disabled

kpatch modules can still use TAINT_LIVEPATCH as a per-module taint flag,
but only if it is set after the module loads.

Fixes: 660.
2017-01-24 15:38:51 -05:00
..
kpatch-macros.h remove obsolete warning for KPATCH_FORCE_UNSAFE 2014-10-31 11:39:14 -05:00
kpatch-patch-hook.c kmod: fix kpatch patch module load if CONFIG_LIVEPATCH=n 2017-01-24 15:38:51 -05:00
kpatch-patch.h livepatch-patch-hook: add support for livepatch sympos 2016-02-16 10:31:44 -06:00
kpatch.h build and install core module with make 2014-02-18 07:44:33 -06:00
kpatch.lds.S kpatch-build: build dynrelas or klp relas depending on kernel version 2017-01-23 12:43:43 -08:00
livepatch-patch-hook.c livepatch-patch-hook: ensure compatibility with kernels < 4.7 and >= 4.7 2017-01-23 12:43:39 -08:00
Makefile kpatch-build: build dynrelas or klp relas depending on kernel version 2017-01-23 12:43:43 -08:00
patch-hook.c CONFIG_LIVE_PATCHING -> CONFIG_LIVEPATCH 2015-02-04 08:32:08 -06:00