Closed giulianobelinassi closed 2 years ago
Another way is to have that simply as part of the changelog of the RPM package that contained the livepatch .so file (which is advisable anyway). Either way I think one point was that the ulp tool should have a subcommand that can concisely show which CVEs are fixed by a livepatch, it would either consult that special section or the rpm changelog. (But look at what the klp command can do for inspiration, I'm not 100% sure myself).
Done. Libpulp now have a .ulp.comments section, and ulp patches
looks for interesting labels there.
There must be a way to describe which CVEs are fixed by a livepatch. One way of doing this is to add an extra ELF section to the .so file containing all CVEs fixed by it.