> >> This function can avoid livepatch from patching the wrong version of the function. >> >> The original discussion can be seem on [1]. (Discussion with Joe Lawrence) >> >> After the discussion, we think that the actual enforcement of this seems like a job for kernel/livepatch/core.c. >> Or it should be the process of sys call `init_module` when loading a module. >> >> I am here waiting for Request For Comment. Before I do codes. > > I am open to accept such a feature. It might improve reliability of > the livepatching. > > Let's see how the code looks like and how complicated would be to > create such livepatches from sources or using kPatch. > > Best Regards, > Petr Thanks, Petr. And I will start to code the draft soon. If you have any suggestions, please be open to tell me :) Best Regards Wardenjohn