Re: [PATCH 2/3 v4] livepatch: add old_sympos as disambiguator field to klp_reloc
From: Miroslav Benes
Date: Thu Nov 12 2015 - 05:23:55 EST
On Wed, 11 Nov 2015, Chris J Arges wrote:
> In cases of duplicate symbols, sympos will be used to disambiguate instead
> of val. By default old_sympos will be 0, and patching will only succeed if
> the symbol is unique. Specifying a positive value will ensure that
> occurrence of the symbol will be used for patching if it is valid.
Again "...occurrence of the symbol in kallsyms for the patched object
will be used..."
> 2 files changed, 18 insertions(+), 61 deletions(-)
And this is indeed great.
Miroslav
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/