summaryrefslogtreecommitdiff
path: root/src/stdio/ungetwc.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-07-11 23:36:46 -0400
committerRich Felker <dalias@aerifal.cx>2012-07-11 23:36:46 -0400
commit92f8396b0c8e4f146563b87f46137484cfb36e31 (patch)
tree62bd8daab801d7127114a33a83db28f591e01669 /src/stdio/ungetwc.c
parenta03f69d4456d3ac5120cc07a22af8ecb631444bb (diff)
downloadmusl-92f8396b0c8e4f146563b87f46137484cfb36e31.tar.gz
fix potential race condition in detached threads
after the thread unmaps its own stack/thread structure, the kernel, performing child tid clear and futex wake, could clobber a new mapping made at the same location as the just-removed thread's tid field. disable kernel clearing of child tid to prevent this.
Diffstat (limited to 'src/stdio/ungetwc.c')
0 files changed, 0 insertions, 0 deletions