Overview

Request 930969 accepted

- Add support for livepatches (jsc#SLE-20049).
- Generate ipa-clones tarball artifact when livepatching is enabled.

Userspace Livepatching allows your application to be updated without restarting. For a library to be livepatchable, it has to be compiled with special flags (-fpatchable-functions-entry=X,Y).

To aid the development of livepatches, ipa-clones are also generated in the build process and packed into a livepatch tarball. This tarball is meant to be used by developers during their workflow: these files contains log of changes that gcc did in the compiled code that may change code layout, which must be accounted when developing a livepatch. For instance, livepatching a function which is inlined requires livepatching every function that calls it. Tools that use such files already exists in kernel-livepatching and we aim porting them to userspace livepatching as well.



Pedro Monreal Gonzalez's avatar

Looks like this should also be added to SLE-15-SP4, right?


Giuliano Belinassi's avatar

Yes. But SLE-15-SP4 requires an updated version of gcc-7, and it will only be available on early december: https://maintenance.suse.de/incident/21370/


Pedro Monreal Gonzalez's avatar

OK, we'll consider adding it there. Approving!

Request History
Giuliano Belinassi's avatar

gbelinassi created request

- Add support for livepatches (jsc#SLE-20049).
- Generate ipa-clones tarball artifact when livepatching is enabled.

Userspace Livepatching allows your application to be updated without restarting. For a library to be livepatchable, it has to be compiled with special flags (-fpatchable-functions-entry=X,Y).

To aid the development of livepatches, ipa-clones are also generated in the build process and packed into a livepatch tarball. This tarball is meant to be used by developers during their workflow: these files contains log of changes that gcc did in the compiled code that may change code layout, which must be accounted when developing a livepatch. For instance, livepatching a function which is inlined requires livepatching every function that calls it. Tools that use such files already exists in kernel-livepatching and we aim porting them to userspace livepatching as well.


Pedro Monreal Gonzalez's avatar

pmonrealgonzalez accepted request

Thanks!

openSUSE Build Service is sponsored by