You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line is causing the issue. On Fedora Workstation for example, sbuf.f_type is BTRFS_SUPER_MAGIC and not OVERLAYFS_SUPER_MAGIC. If I comment out that line and return true (1), it works just fine. So this check will break on different file system types.
shell ~ sudo ./injector -n procExample -p 2167 ~/lib.so
targeting process "procExample" with pid 2167
targeting process with pid 2167
failed to open /usr/lib/x86_64-linux-gnu/libc.so.6. (dev:0x1b, ino:557139)
I was getting this error on Arch Linux, now I tried on Ubuntu 22 LTS and I could reproduce the same issue.
Until some months ago I could inject this same shared library on the same process id, now I can't anymore.
ldd --version
ldd (Ubuntu GLIBC 2.35-0ubuntu3.8) 2.35 / 2.39 (on arch-linux)
The text was updated successfully, but these errors were encountered: