kGraft — live kernel patching from SUSE
kGraft — live kernel patching from SUSE
Posted Feb 3, 2014 20:16 UTC (Mon) by oshepherd (guest, #90163)In reply to: kGraft — live kernel patching from SUSE by SEJeff
Parent article: kGraft — live kernel patching from SUSE
Safe hot patching is done by first setting up the long jump, then doing an atomic replacement of the 2 byte NOP with the backwards jump. No need to detect if the code is in use; anybody already executing the old code will successfully continue to do so.
This would require compiling the kernel with such prologues. The need to insert a 2 byte NOP can be obviated in cases where the first instruction is already >=2 bytes long.
On the one hand, this would permit working around the Oracle patents. On the other hand, there is a need to watch out for Microsoft patents..
Posted Feb 3, 2014 20:34 UTC (Mon)
by amacater (subscriber, #790)
[Link]
Posted Feb 3, 2014 22:16 UTC (Mon)
by SEJeff (guest, #51588)
[Link]
Posted Feb 4, 2014 1:02 UTC (Tue)
by stressinduktion (subscriber, #46452)
[Link]
kGraft — live kernel patching from SUSE
kGraft — live kernel patching from SUSE
kGraft — live kernel patching from SUSE