> From: Roger Pau Monne <roger....@citrix.com>
> Sent: Thursday, March 17, 2022 11:08 AM
> To: xen-devel@lists.xenproject.org <xen-devel@lists.xenproject.org>
> Cc: Roger Pau Monne <roger....@citrix.com>; Konrad Rzeszutek Wilk 
> <konrad.w...@oracle.com>; Ross Lagerwall <ross.lagerw...@citrix.com>; Stefano 
> Stabellini <sstabell...@kernel.org>; Julien Grall <jul...@xen.org>; Bertrand 
> Marquis <bertrand.marq...@arm.com>; Volodymyr Babchuk 
> <volodymyr_babc...@epam.com>; Jan Beulich <jbeul...@suse.com>; Andrew Cooper 
> <andrew.coop...@citrix.com>; Wei Liu <w...@xen.org>
> Subject: [PATCH 2/2] livepatch: avoid relocations referencing ignored section 
> symbols 
>  
> Track whether symbols belong to ignored sections in order to avoid
> applying relocations referencing those symbols. The address of such
> symbols won't be resolved and thus the relocation will likely fail or
> write garbage to the destination.
> 
> Return an error in that case, as leaving unresolved relocations would
> lead to malfunctioning payload code.
> 
> Signed-off-by: Roger Pau Monné <roger....@citrix.com>

Reviewed-by: Ross Lagerwall <ross.lagerw...@citrix.com>

Reply via email to