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.

Get the Android app

Or read this on Phoronix

Read more on:

Photo of Build

Build

Photo of linux kernel

linux kernel

Photo of modules

modules

Related news:

News photo

Rust Maintainer for Linux Kernel Resigns

News photo

Docusaurus – Build optimized websites quickly, focus on your content

News photo

Show HN: Skip – Build native iOS and Android apps from a single Swift codebase