Merge the sigaction() and sigprocmask() overloads/wrappers from libpthread
authorguenther <guenther@openbsd.org>
Fri, 23 Oct 2015 04:39:24 +0000 (04:39 +0000)
committerguenther <guenther@openbsd.org>
Fri, 23 Oct 2015 04:39:24 +0000 (04:39 +0000)
commit5aed4d28d43eadb2b7771720ac4d094bec87d515
tree6c6370b3671a68ee33887680016e857bac5c0107
parent5d0cca7744cef05bdc6bf0a76149c923ca78b697
Merge the sigaction() and sigprocmask() overloads/wrappers from libpthread
into libc, and move pthread_sigmask() as well (just a trivial wrapper).
This provides consistent handling of SIGTHR between single- and multi-threaded
programs and is a step in the merge of all the libpthread overloads, providing
some ASM and Makefile bits that the other wrappers will need.

ok deraadt@ millert@
43 files changed:
lib/libc/Symbols.list
lib/libc/arch/alpha/SYS.h
lib/libc/arch/alpha/sys/sigpending.S
lib/libc/arch/alpha/sys/sigprocmask.S
lib/libc/arch/alpha/sys/sigsuspend.S
lib/libc/arch/amd64/SYS.h
lib/libc/arch/amd64/sys/sigprocmask.S
lib/libc/arch/arm/SYS.h
lib/libc/arch/arm/sys/sigprocmask.S
lib/libc/arch/hppa/sys/sigprocmask.S
lib/libc/arch/hppa64/sys/sigprocmask.S
lib/libc/arch/i386/SYS.h
lib/libc/arch/i386/sys/sigprocmask.S
lib/libc/arch/m88k/SYS.h
lib/libc/arch/m88k/sys/sigprocmask.S
lib/libc/arch/mips64/SYS.h
lib/libc/arch/mips64/sys/sigpending.S
lib/libc/arch/mips64/sys/sigprocmask.S
lib/libc/arch/mips64/sys/sigsuspend.S
lib/libc/arch/powerpc/SYS.h
lib/libc/arch/powerpc/sys/sigprocmask.S
lib/libc/arch/sh/SYS.h
lib/libc/arch/sh/sys/sigprocmask.S
lib/libc/arch/sparc/SYS.h
lib/libc/arch/sparc/sys/sigprocmask.S
lib/libc/arch/sparc64/SYS.h
lib/libc/arch/sparc64/sys/sigprocmask.S
lib/libc/arch/vax/SYS.h
lib/libc/arch/vax/sys/sigprocmask.S
lib/libc/compat-43/sigcompat.c
lib/libc/gen/posix_spawn.c
lib/libc/gen/siginterrupt.c
lib/libc/gen/signal.c
lib/libc/hidden/signal.h
lib/libc/include/namespace.h
lib/libc/stdlib/abort.c
lib/libc/sys/Makefile.inc
lib/libc/sys/pthread_sigmask.c [new file with mode: 0644]
lib/libc/sys/w_sigaction.c [new file with mode: 0644]
lib/libc/sys/w_sigprocmask.c [new file with mode: 0644]
lib/librthread/rthread.c
lib/librthread/rthread_sig.c
lib/librthread/shlib_version