> From: Roger Pau Monne <[email protected]> > Sent: Thursday, March 17, 2022 11:08 AM > To: [email protected] <[email protected]> > Cc: Roger Pau Monne <[email protected]>; Konrad Rzeszutek Wilk > <[email protected]>; Ross Lagerwall <[email protected]>; Stefano > Stabellini <[email protected]>; Julien Grall <[email protected]>; Bertrand > Marquis <[email protected]>; Volodymyr Babchuk > <[email protected]>; Jan Beulich <[email protected]>; Andrew Cooper > <[email protected]>; Wei Liu <[email protected]> > 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é <[email protected]>
Reviewed-by: Ross Lagerwall <[email protected]>
