summaryrefslogtreecommitdiff
path: root/libgcompat/readlink.c
AgeCommit message (Collapse)AuthorFilesLines
2018-09-11readlink: Report EIO on /proc read failureSamuel Holland1-0/+1
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-09-11readlink: Report ENOSYS on dlsym failureSamuel Holland1-0/+2
Signed-off-by: Samuel Holland <samuel@sholland.org>
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>