summaryrefslogtreecommitdiff
path: root/libgcompat/readlink.c
AgeCommit message (Collapse)AuthorFilesLines
2018-01-15readlink: Intercept readlink("/proc/self/exe")Samuel Holland1-0/+85
This allows programs run through gcompat to fork and re-exec themselves. It fixes readlink("/proc/self/exe") to return the executable's absolute path, instead of musl's path. Signed-off-by: Samuel Holland <samuel@sholland.org>