kubo / injector

Library for injecting a shared library into a Linux or Windows process
GNU General Public License v2.0
504 stars 97 forks source link

ubuntu 18.04 inject snap process failed #21

Closed nightlight89 closed 1 year ago

nightlight89 commented 2 years ago

failed to open /usr/lib/x86_64-linux-gnu/libc-2.31.so.(error: No such file or directory).

sudo snap install libreoffice

fr0zenrain commented 1 year ago

my platform is chrooted process aarch64, when i inject to a chrooted running process,i have similar issue,dlopen failed libhook.so No such file or directory

kubo commented 1 year ago

@nightlight89 The issue itself will be fixed by 66436cb898374b601844f39a695afdec76bb6541, which checks libc files in /snap/core*/* also. However injection may fail by other reasons because snap processes are protected by security policies.

@fr0zenrain Your issue is not related to this. Could you create a new one with a minimal reproducible example.