diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2016-09-14 14:41:21 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2016-09-20 17:18:15 -0300 |
commit | 802c1c5a6539024af3c51fd11e6f3cda1f850c62 (patch) | |
tree | 52540cecd139663cc2bb043f379105377f294795 /elf/static-stubs.c | |
parent | 706e6749de9667f3f3763743a294d28f895f4fa9 (diff) | |
download | glibc-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