Re: [PATCH v1 2/5] livepatch: Add klp-convert tool

2024-01-10 Thread Marcos Paulo de Souza
On Fri, 2024-01-05 at 14:29 +0100, Petr Mladek wrote: > On Mon 2023-11-06 17:25:10, Lukas Hruska wrote: > > Livepatches need to access external symbols which can't be handled > > by the normal relocation mechanism. It is needed for two types > > of symbols: > > > >   + Symbols which can be local

Re: [PATCH v1 2/5] livepatch: Add klp-convert tool

2024-01-05 Thread Petr Mladek
On Mon 2023-11-06 17:25:10, Lukas Hruska wrote: > Livepatches need to access external symbols which can't be handled > by the normal relocation mechanism. It is needed for two types > of symbols: > > --- /dev/null > +++ b/scripts/livepatch/klp-convert.c > @@ -0,0 +1,283 @@ [...] > +/* > + *

Re: [PATCH v1 2/5] livepatch: Add klp-convert tool

2024-01-05 Thread Petr Mladek
On Mon 2023-11-06 17:25:10, Lukas Hruska wrote: > Livepatches need to access external symbols which can't be handled > by the normal relocation mechanism. It is needed for two types > of symbols: > > + Symbols which can be local for the original livepatched function. > The alternative

[PATCH v1 2/5] livepatch: Add klp-convert tool

2023-11-06 Thread Lukas Hruska
Livepatches need to access external symbols which can't be handled by the normal relocation mechanism. It is needed for two types of symbols: + Symbols which can be local for the original livepatched function. The alternative implementation in the livepatch sees them as external