summaryrefslogtreecommitdiff
path: root/libgcompat/ucontext.c
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-01-14 23:54:49 -0600
committerSamuel Holland <samuel@sholland.org>2018-01-15 00:43:49 -0600
commit6d391f9ef2d2588ae2faf0efb73bd1ac934b063a (patch)
tree2e8b0038a6ff22006346f54f8ef6ac811e0377e3 /libgcompat/ucontext.c
parentbf7102a303ec86f2d9bc9fd451db78a6815ca175 (diff)
downloadgcompat-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 'libgcompat/ucontext.c')
0 files changed, 0 insertions, 0 deletions