lkml.org 
[lkml]   [2017]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] livepatch: add shadow variable sample program

> Good catch. Let me add a disclaimer here and state that this example is
> definitely contrived as I was trying to minimize its size. Applying
> shadow variables to a more real life use case would drag in a bunch of
> "changed" function dependencies. I didn't want to work around those
> with a pile of kallsyms workarounds. It did lead you to ask an
> interesting question though:

You can always create a completely artificial sample based on a real life
use case. I mean, you can create a module with functions and data
structures you need and then patch one of those functions. You control
everything and you can limit dependencies and kallsyms workarounds (or
avoid them completely).

Miroslav

\
 
 \ /
  Last update: 2017-06-19 18:44    [W:0.117 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site