diff options
author | Samuel Holland <samuel@sholland.org> | 2018-01-14 23:54:49 -0600 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2018-01-15 00:43:49 -0600 |
commit | 6d391f9ef2d2588ae2faf0efb73bd1ac934b063a (patch) | |
tree | 2e8b0038a6ff22006346f54f8ef6ac811e0377e3 /Makefile | |
parent | bf7102a303ec86f2d9bc9fd451db78a6815ca175 (diff) | |
download | gcompat-6d391f9ef2d2588ae2faf0efb73bd1ac934b063a.tar.gz gcompat-6d391f9ef2d2588ae2faf0efb73bd1ac934b063a.tar.bz2 gcompat-6d391f9ef2d2588ae2faf0efb73bd1ac934b063a.tar.xz gcompat-6d391f9ef2d2588ae2faf0efb73bd1ac934b063a.zip |
readlink: Intercept readlink("/proc/self/exe")
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -12,6 +12,7 @@ LIBGCOMPAT_SRC = \ libgcompat/netdb.c \ libgcompat/pthread.c \ libgcompat/pwd.c \ + libgcompat/readlink.c \ libgcompat/resolv.c \ libgcompat/resource.c \ libgcompat/setjmp.c \ |