Get the latest tech news
Klp-build Proposed As A New Means Of Generating Linux Kernel Livepatch Modules
Posted today as a 'request for comments' by longtime Linux developer Josh Poimboeuf of Red Hat is klp-build
... Add a klp-build script which makes use of a new "objtool klp" subcommand to generate livepatch modules using a source patch as input. It takes a source .patch as an input, builds kernels before and after, does a binary diff, and copies any changed functions into a new object file which is then linked into a livepatch module. Before potentially being mainlined, klp-build still has open TODO items like creating more documentation, performance optimizations, automated testing, supporting Clang, enabling architectures beyond just x86_64, and other improvements.
Or read this on Phoronix