Re: [RFC PATCH v4 4/6] livepatch: reuse module loader code to write relocations

From: Miroslav Benes
Date: Tue Feb 09 2016 - 08:32:14 EST



> > +/* .klp.sym.[objname].symbol_name,sympos */
> > +static int klp_get_sym_objname(char *s, char **result)
> > +{
>
> Do we need result to be a double-pointer? If I am not mistaken just 'char
> *result' could be sufficient. You check the return value, so result could
> be NULL or objname as found. No?

Um, no. We need this. Sorry for the noise.

Miroslav