cloudlinux / libcare

libcare -- Patch Userspace Code in Live Processes
GNU General Public License v2.0
145 stars 57 forks source link

Why can't apply a different patch to the same target process which was already patced #54

Closed coryee closed 3 years ago

coryee commented 3 years ago

When applying patch, libcare-ctl will return immediately if it finds that the target process was already patched, adn i cann't figure out why the sanity check is needed. I would appreciate it if somebody can explain why?

paboldin commented 3 years ago

There is a patchlevel support in libcare-ctl, take a look at patchlevel tests.

coryee commented 3 years ago

Thanks @paboldin, I tested and it is what i need