On Thu, 1 Jun 2017, Joe Lawrence wrote: > * the intention is that only livepatched code will be calling > klp_shadow_*, so it can assume that the current task is patched
Ah, okay, that fully answers my question, thanks. That makes it impossible though to apply the same technique to a single variable twice, without further tweaks (either versioning of the variables, or actually stacking the shadowing itself). Honestly though, I don't think that's going to be a big issue in practice. > Maybe I misunderstood the question... if so, I can update the > documentation file to better describe what's going on. I think you didn't misunderstand it. But it might be beneficial to have a few additional explanatory words in the documentation nevertheless :) Thanks, -- Jiri Kosina SUSE Labs