Re: [PATCH 0/3] livepatch: add shadow variable API

From: Miroslav Benes
Date: Tue Jun 13 2017 - 06:19:43 EST


> If you are referring to stacking livepatches ... to be honest I hadn't
> thought of that scenario. In that case, we might be able to get away
> with pushing something like this into the hash:
>
> klp #1: klp_shadow_attach(ptr, "shadow_var", ...)
> klp #2: klp_shadow_attach(ptr, "shadow_var_v2", ...)

I thought this was the reason to have a string there. Otherwise, a
pointer to original data would be enough, wouldn't it?

Miroslav