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 /ChangeLog | |
parent | 706e6749de9667f3f3763743a294d28f895f4fa9 (diff) | |
download | glibc-802c1c5a6539024af3c51fd11e6f3cda1f850c62.tar glibc-802c1c5a6539024af3c51fd11e6f3cda1f850c62.tar.gz glibc-802c1c5a6539024af3c51fd11e6f3cda1f850c62.tar.bz2 glibc-802c1c5a6539024af3c51fd11e6f3cda1f850c62.zip |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,9 @@ 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org> + * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock + all signals when executing the clone vfork child. + (SIGALL_SET): Remove macro. + * nptl/Makefile (tests): Add tst-exec5. * nptl/tst-exec5.c: New file. * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable |