[kpatch] livepatch vs kpatch hooks and stack check

Mario Smarduch msmarduch at digitalocean.com
Fri Apr 26 18:40:22 UTC 2019



On 04/26/2019 09:04 AM, Joe Lawrence wrote:
> On 4/26/19 11:40 AM, Mario Smarduch wrote:
>>
>>
>> On 04/26/2019 06:32 AM, Joe Lawrence wrote:
ndicator to the new code that patching is complete.
....
> 
> 
> If you can share the source .patch or upstream commit id, that would be
> helpful, but I can understand if that needs to remain confidential for
> security reasons.
> 
> Hope this helps,
> 
> -- Joe

A side question regarding calling the new function after it's patched
and performance. Is the similar trampoline mechanism used when a
ftrace hook is set? Meaning pt_regs is presented to hook and 'rip' is
changed?

- Mairo




More information about the kpatch mailing list