Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1291160 > unrolled thread

Re: [PATCH 2/3 v9] livepatch: add sympos as disambiguator field to klp_reloc

Started byMiroslav Benes <mbenes@suse.cz>
First post2015-12-14 13:50 +0100
Last post2015-12-14 13:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 2/3 v9] livepatch: add sympos as disambiguator field to  klp_reloc Miroslav Benes <mbenes@suse.cz> - 2015-12-14 13:50 +0100

#1291160 — Re: [PATCH 2/3 v9] livepatch: add sympos as disambiguator field to klp_reloc

FromMiroslav Benes <mbenes@suse.cz>
Date2015-12-14 13:50 +0100
SubjectRe: [PATCH 2/3 v9] livepatch: add sympos as disambiguator field to klp_reloc
Message-ID<qFAJI-6cU-25@gated-at.bofh.it>
On Tue, 1 Dec 2015, Chris J Arges wrote:

> In cases of duplicate symbols, sympos will be used to disambiguate instead
> of val. By default 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 in kallsyms for the patched object will be used
> for patching if it is valid. For external relocations sympos is not
> supported.
> 
> Remove klp_verify_callback, klp_verify_args and klp_verify_vmlinux_symbol
> as they are no longer used.
> 
> >From the klp_reloc structure remove val, as it can be refactored as a
> local variable in klp_write_object_relocations.
> 
> Signed-off-by: Chris J Arges <chris.j.arges@canonical.com>

FWIW

Reviewed-by: Miroslav Benes <mbenes@suse.cz>

Miroslav
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web