]> sourceware.org Git - glibc.git/commit
posix: Correctly block/unblock all signals on Linux posix_spawn
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 14 Sep 2016 17:41:21 +0000 (14:41 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 20 Sep 2016 20:18:15 +0000 (17:18 -0300)
commit802c1c5a6539024af3c51fd11e6f3cda1f850c62
tree52540cecd139663cc2bb043f379105377f294795
parent706e6749de9667f3f3763743a294d28f895f4fa9
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.
ChangeLog
sysdeps/unix/sysv/linux/spawni.c
This page took 0.039277 seconds and 5 git commands to generate.