mirror of
https://github.com/dynup/kpatch
synced 2025-02-07 12:41:34 +00:00
8dac9d0871
When a patch module is loaded, the kernel facilities like alternatives and paravirt may alter some of its instructions. This happens before Kpatch core module is notified and tries to apply dynrelas to it. If an instruction to apply a dynrela to has already been changed by these facilities, an incorrect instruction might be written as a result. The core module now detects such conditions and does not apply dynrela to the changed instructions. Suggested by Josh Poimboeuf in the discussion of https://github.com/dynup/kpatch/issues/580. Changes in v.2: * Used pr_notice to give more emphasis to the messages. * Added an explanation message. Signed-off-by: Evgenii Shatokhin <eshatokhin@virtuozzo.com> |
||
---|---|---|
.. | ||
core | ||
patch | ||
Makefile |