Re: [PATCH 2/2] livepatch: avoid relocations referencing ignored section symbols

2022-04-07 Thread Ross Lagerwall
drew Cooper > ; Wei Liu > 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'

Re: [PATCH 2/2] livepatch: avoid relocations referencing ignored section symbols

2022-03-17 Thread Roger Pau Monné
On Thu, Mar 17, 2022 at 02:26:50PM +0100, Jan Beulich wrote: > On 17.03.2022 12:08, Roger Pau Monne wrote: > > 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 reloca

Re: [PATCH 2/2] livepatch: avoid relocations referencing ignored section symbols

2022-03-17 Thread Jan Beulich
On 17.03.2022 12:08, Roger Pau Monne wrote: > 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. > > Ret

[PATCH 2/2] livepatch: avoid relocations referencing ignored section symbols

2022-03-17 Thread Roger Pau Monne
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 relocat