librt: fix broken posix_spawn
commit71b3a63b641716165f664cf112be0673a122cea0
authorWaldemar Brodkorb <wbx@uclibc-ng.org>
Wed, 22 Nov 2017 20:30:24 +0000 (22 21:30 +0100)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>
Wed, 22 Nov 2017 20:31:41 +0000 (22 21:31 +0100)
treee8350273c4889d1067e2eb4824dfaa0358604a6d
parent2fcffe26e815b7125a357c83b59617ab93c16b41
librt: fix broken posix_spawn

Fix iteration over signals, synced with GNU C library code and
pending patches. Issues found when running dhcpcd with hook
scripts. (exit status 127)

Reported-By: kapeka <kapeka@bering-uclibc.de>
libc/sysdeps/linux/common/internal-signals.h [moved from libpthread/nptl/sysdeps/unix/sysv/linux/nptl-signals.h with 81% similarity]
libpthread/nptl/pthreadP.h
libpthread/nptl/sysdeps/unix/sysv/linux/raise.c
librt/spawn.c