kpatch/kmod/patch
Josh Poimboeuf 34cc258a31 fix undefined symbols for future loaded modules
When patching module A, if one of the new function's relas reference a
symbol in module B, we currently just leave it as a normal rela.  But if
module B hasn't been loaded yet, the patch module will fail to load due
to the rela's reference to an undefined symbol.

The fix is to convert these relas to dynrelas, which can be resolved
later in the module notifier when A is loaded.

Also added support for the R_X86_64_NONE relocation type, needed for
dynrelas which reference __fentry__.
2014-06-18 11:17:11 -05:00
..
kpatch-patch-hook.c fix undefined symbols for future loaded modules 2014-06-18 11:17:11 -05:00
kpatch-patch.h fix undefined symbols for future loaded modules 2014-06-18 11:17:11 -05:00
kpatch.h build and install core module with make 2014-02-18 07:44:33 -06:00
kpatch.lds implement per-object patching/relocations 2014-06-17 10:03:08 -05:00
Makefile build and install core module with make 2014-02-18 07:44:33 -06:00