diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-12-05 21:19:39 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-12-05 21:19:39 -0500 |
commit | 8f7bc690f07e90177b176b6e19736ad7c1d49840 (patch) | |
tree | 06f4886843fe4f623a6d5ca7dec851434d7d7170 /src/locale/catopen.c | |
parent | 1c12c24364d1058ffdbb28fca72a51de85082778 (diff) | |
download | musl-8f7bc690f07e90177b176b6e19736ad7c1d49840.tar.gz musl-8f7bc690f07e90177b176b6e19736ad7c1d49840.tar.xz musl-8f7bc690f07e90177b176b6e19736ad7c1d49840.zip |
use direct syscall rather than write function in posix_spawn child
the write function is a cancellation point and accesses thread-local state belonging to the calling thread in the parent process. since cancellation is blocked for the duration of posix_spawn, this is probably safe, but it's fragile and unnecessary. making the syscall directly is just as easy and clearly safe.
Diffstat (limited to 'src/locale/catopen.c')
0 files changed, 0 insertions, 0 deletions