Subject: CVS commit: [nathanw_sa] basesrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 10/02/2002 23:16:34
Module Name: basesrc
Committed By: thorpej
Date: Wed Oct 2 20:16:33 UTC 2002
Modified Files:
basesrc/include [nathanw_sa]: signal.h
basesrc/lib/libc/arch/alpha/sys [nathanw_sa]: __sigaction14_sigtramp.c
basesrc/lib/libc/arch/arm/sys [nathanw_sa]: __sigaction14_sigtramp.c
basesrc/lib/libc/arch/i386/sys [nathanw_sa]: __sigaction14_sigtramp.c
basesrc/lib/libc/arch/m68k/sys [nathanw_sa]: __sigaction14_sigtramp.c
basesrc/lib/libc/arch/mips/sys [nathanw_sa]: __sigaction14_sigtramp.c
basesrc/lib/libc/arch/ns32k/sys [nathanw_sa]: __sigaction14_sigtramp.c
basesrc/lib/libc/arch/powerpc/sys [nathanw_sa]:
__sigaction14_sigtramp.c
basesrc/lib/libc/arch/sh3/sys [nathanw_sa]: __sigaction14_sigtramp.c
basesrc/lib/libc/arch/sparc/sys [nathanw_sa]: __sigaction14_sigtramp.c
basesrc/lib/libc/arch/sparc64/sys [nathanw_sa]:
__sigaction14_sigtramp.c
basesrc/lib/libc/arch/vax/sys [nathanw_sa]: __sigaction14_sigtramp.c
basesrc/lib/libpthread [nathanw_sa]: TODO pthread_sig.c
Log Message:
libc:
Internally rename __sigaction14 to __libc_sigaction14. Provide a
weak alias of __sigaction14 -> __libc_sigaction14.
libpthread:
Use __libc_sigaction14 to actually register the signal handler, rather
than using __sigaction_sigtramp() directly with a hard-coded trampoline
version. While we don't actually use the libc trampoline, we want to
avoid depending on any COMPAT_* kernel options down the road (this is
already the case for the VAX port).
Be explicit about which version of the signal interface we're interposing
(...14), and build pthread_sig.c with __LIBC12_SOURCE__ (required to get
the libc-internal interfaces).
To generate a diff of this commit:
cvs rdiff -r1.21 -r1.21.2.1 basesrc/include/signal.h
cvs rdiff -r1.1.2.1 -r1.1.2.2 \
basesrc/lib/libc/arch/alpha/sys/__sigaction14_sigtramp.c
cvs rdiff -r1.1.2.1 -r1.1.2.2 \
basesrc/lib/libc/arch/arm/sys/__sigaction14_sigtramp.c
cvs rdiff -r1.1.2.1 -r1.1.2.2 \
basesrc/lib/libc/arch/i386/sys/__sigaction14_sigtramp.c
cvs rdiff -r1.1.2.1 -r1.1.2.2 \
basesrc/lib/libc/arch/m68k/sys/__sigaction14_sigtramp.c
cvs rdiff -r1.1.2.1 -r1.1.2.2 \
basesrc/lib/libc/arch/mips/sys/__sigaction14_sigtramp.c
cvs rdiff -r1.1.2.1 -r1.1.2.2 \
basesrc/lib/libc/arch/ns32k/sys/__sigaction14_sigtramp.c
cvs rdiff -r1.1.2.1 -r1.1.2.2 \
basesrc/lib/libc/arch/powerpc/sys/__sigaction14_sigtramp.c
cvs rdiff -r1.1.2.1 -r1.1.2.2 \
basesrc/lib/libc/arch/sh3/sys/__sigaction14_sigtramp.c
cvs rdiff -r1.1.2.1 -r1.1.2.2 \
basesrc/lib/libc/arch/sparc/sys/__sigaction14_sigtramp.c
cvs rdiff -r1.1.2.1 -r1.1.2.2 \
basesrc/lib/libc/arch/sparc64/sys/__sigaction14_sigtramp.c
cvs rdiff -r1.1.2.2 -r1.1.2.3 \
basesrc/lib/libc/arch/vax/sys/__sigaction14_sigtramp.c
cvs rdiff -r1.1.2.13 -r1.1.2.14 basesrc/lib/libpthread/TODO \
basesrc/lib/libpthread/pthread_sig.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.