Sep 9 – 11, 2019
Europe/Lisbon timezone

Source-based livepatch creation tooling

Sep 11, 2019, 3:40 PM
Opala/room-I&II (Corinthia Hotel Lisbon)


Corinthia Hotel Lisbon



Nicolai Stange (SUSE)


At last year's Live Patching MC, an approach to automating source based live patch creation had been proposed. The implementation made good progress since then, in particular an initial release of the "klp-ccp" utility has been published ( recently. Its purpose is to handle the transformation of patched kernel parts into self-contained live patch source code files.

However, klp-ccp is only part of a larger pipeline and in working further towards fully automated live patch creation, it's worth to discuss how the individual pieces are best glued together.

Among the open questions are:

  • Can klp-ccp and klp-convert make use of the same source of information for resolving symbols to instances from target kernel?
  • Can we perhaps introduce some convention for accessing the IPA optimization reports created by GCC's -fdump-ipa-clones?
  • Can we introduce some mechanism for obtaining the original kernel compilation's compiler flags each?
I agree to abide by the anti-harassment policy Yes

Primary author

Presentation materials