Closed giulianobelinassi closed 2 years ago
If we proceed to using the ELF itself as a ULP container, we must use parts of ELF which are not loaded in memory when loading the library. This means we must use ELF comments rather than ELF notes for this.
Merged in d3f0cc3b94ac34e6f194da76f35f759550abb947
A single livepatch consists of a
.ulp
which contains the compiled livepatch description, and a .so file which contains the patched function's code. This is a bit clumsy and it would be better if it were merged into a single file. I propose one of these solutions:1- Pack the
.ulp
and.so
in a .tar.xz and updatepacker
andtrigger
to handle this format. 2- Embed theulp
object into the.so
using (perhaps) a ELF note.