diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-10-11 22:51:05 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-10-11 22:51:05 -0400 |
commit | 964e9f3c4c8776820e98c967f3a411d4ca5075a7 (patch) | |
tree | 7242af337a05f398e3e25bd9e30b98f3ab47cae6 /src/misc/getsubopt.c | |
parent | 12e9b4faf68a1a02ebf5ad69c03ac10f170f14cb (diff) | |
download | musl-964e9f3c4c8776820e98c967f3a411d4ca5075a7.tar.gz |
avoid the thread-ptr-init behavior of sigaction when not installing handler
this is necessary because posix_spawn calls sigaction after vfork, and
if the thread pointer is not already initialized, initializing it in
the child corrupts the parent process's state.
Diffstat (limited to 'src/misc/getsubopt.c')
0 files changed, 0 insertions, 0 deletions