diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-08-02 01:06:53 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-08-02 01:06:53 -0400 |
commit | 38f44d692310dd669ad9ee13a2993c91e81d2721 (patch) | |
tree | e967291cb8d67a12097fafe7afd633d30e9edff8 /src/ldso/dynlink.c | |
parent | 9a97d103fba259f3f789c143d97d7f22d392429b (diff) | |
download | musl-38f44d692310dd669ad9ee13a2993c91e81d2721.tar.gz musl-38f44d692310dd669ad9ee13a2993c91e81d2721.tar.xz musl-38f44d692310dd669ad9ee13a2993c91e81d2721.zip |
fix (deprecated) mktemp logic and update it to match other temp functions
the access function cannot be used to check for existence, because it operates using real uid/gid rather than effective to determine accessibility; this matters for the non-final path components. instead, use stat. failure of stat is success if only the final component is missing (ENOENT) and otherwise is failure.
Diffstat (limited to 'src/ldso/dynlink.c')
0 files changed, 0 insertions, 0 deletions