mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-24 15:26:04 +00:00
* fix(hook): /dev/fd in a forked process names that process's own descriptors The /dev/fd and /dev/std* binds point at /proc/self/fd. Their sources were resolved with realpath when the binds were loaded, which turned /proc/self into the loading process's pid. A child that forks without exec, such as a bash subshell running cat < <(...), then opened its parent's descriptors and failed with ENOENT. Sources under /proc keep their own path. * fix(hook): keep canonical bind sources for /proc paths that name no process * fix(hook): only /proc bind sources that name a process keep their form