CVSROOT: /cvs Module name: src Changes by: guent...@cvs.openbsd.org 2015/10/22 22:39:25
Modified files: lib/librthread : rthread_sig.c rthread.c shlib_version lib/libc : Symbols.list lib/libc/hidden: signal.h lib/libc/sys : Makefile.inc lib/libc/compat-43: sigcompat.c lib/libc/gen : posix_spawn.c siginterrupt.c signal.c lib/libc/stdlib: abort.c lib/libc/include: namespace.h lib/libc/arch/alpha: SYS.h lib/libc/arch/alpha/sys: sigpending.S sigprocmask.S 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 sigprocmask.S 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 Added files: lib/libc/sys : pthread_sigmask.c w_sigaction.c w_sigprocmask.c Log message: 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@