aboutsummaryrefslogtreecommitdiff
path: root/elf/static-stubs.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-09-14 14:41:21 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-09-20 17:18:15 -0300
commit802c1c5a6539024af3c51fd11e6f3cda1f850c62 (patch)
tree52540cecd139663cc2bb043f379105377f294795 /elf/static-stubs.c
parent706e6749de9667f3f3763743a294d28f895f4fa9 (diff)
downloadglibc-802c1c5a6539024af3c51fd11e6f3cda1f850c62.zip
glibc-802c1c5a6539024af3c51fd11e6f3cda1f850c62.tar.gz
glibc-802c1c5a6539024af3c51fd11e6f3cda1f850c62.tar.bz2
posix: Correctly block/unblock all signals on Linux posix_spawn
This patch correctly block and unblocks all signals when executing Linux posix_spawn by using the __libc_signal_{un}block_all functions instead of default sigprocmask. The latter might remove both SIGCANCEL and SIGSETXID from the blocked signal list. Checked on x86_64, i686, powerpc64le, and aarch64. * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock all signals when executing the clone vfork child. (SIGALL_SET): Remove macro.
Diffstat (limited to 'elf/static-stubs.c')
0 files changed, 0 insertions, 0 deletions