SUSE / libpulp

libpulp enables live patching in user space applications.
GNU Lesser General Public License v2.1
55 stars 11 forks source link

Fix self-querrying #105

Closed giulianobelinassi closed 2 years ago

giulianobelinassi commented 2 years ago

If the ulp tool is loaded with libpulp.so, livepaches capabilities are loaded with it and the process turns to be livepatchable. However, ptrace cannot be used to attach to itself, so the livepatching mechanism does not work. So avoid failure by simply not adding itself to the process list.

Signed-off-by: Giuliano Belinassi gbelinassi@suse.de

giulianobelinassi commented 2 years ago

Closes #104