SUSE / libpulp

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

Add -R --root=PREFIX option #150

Closed giulianobelinassi closed 1 year ago

giulianobelinassi commented 2 years ago

When ulp tool runs in a chroot'ed directory, the realpath function will return the path to the root from the chroot, not the path from the true root. This commit introduces the --root=PREFIX options which appends PREFIX to the path to the patch file right before sending it to the target process, providing a way to workaround this chroot problem.

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