Date: Fri, 25 Oct 2002 12:10:58 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha locore.s machdep.c src/sys/alpha/include md_var.h sigframe.h signal.h ucontext.h src/sys/alpha/osf1 osf1_signal.c src/sys/conf options src/sys/i386/i386 genassym.c locore.s machdep.c ... Message-ID: <200210251910.g9PJAxLp020358@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2002/10/25 12:10:58 PDT
Modified files:
sys/alpha/alpha locore.s machdep.c
sys/alpha/include md_var.h sigframe.h signal.h ucontext.h
sys/alpha/osf1 osf1_signal.c
sys/conf options
sys/i386/i386 genassym.c locore.s machdep.c
sys/i386/include md_var.h sigframe.h signal.h ucontext.h
sys/ia64/ia64 machdep.c
sys/ia64/include sigframe.h signal.h
sys/kern init_sysent.c kern_sig.c syscalls.c
syscalls.master
sys/powerpc/include signal.h
sys/powerpc/powerpc machdep.c
sys/sparc64/include signal.h
sys/sparc64/sparc64 machdep.c
sys/sys _sigset.h signal.h signalvar.h syscall.h
syscall.mk syscallsubr.h sysproto.h
ucontext.h
Log:
Split 4.x and 5.x signal handling so that we can keep 4.x signal
handling clean and functional as 5.x evolves. This allows some of the
nasty bandaids in the 5.x codepaths to be unwound.
Encapsulate 4.x signal handling under COMPAT_FREEBSD4 (there is an
anti-foot-shooting measure in place, 5.x folks need this for a while) and
finish encapsulating the older stuff under COMPAT_43. Since the ancient
stuff is required on alpha (longjmp(3) passes a 'struct osigcontext *'
to the current sigreturn(2), instead of the 'ucontext_t *' that sigreturn
is supposed to take), add a compile time check to prevent foot shooting
there too. Add uniform COMPAT_43 stubs for ia64/sparc64/powerpc.
Tested on: i386, alpha, ia64. Compiled on sparc64 (a few days ago).
Approved by: re
Revision Changes Path
1.22 +47 -5 src/sys/alpha/alpha/locore.s
1.187 +208 -9 src/sys/alpha/alpha/machdep.c
1.21 +6 -0 src/sys/alpha/include/md_var.h
1.4 +6 -4 src/sys/alpha/include/sigframe.h
1.10 +1 -3 src/sys/alpha/include/signal.h
1.5 +12 -0 src/sys/alpha/include/ucontext.h
1.23 +6 -5 src/sys/alpha/osf1/osf1_signal.c
1.362 +1 -0 src/sys/conf/options
1.130 +9 -0 src/sys/i386/i386/genassym.c
1.160 +24 -2 src/sys/i386/i386/locore.s
1.545 +252 -24 src/sys/i386/i386/machdep.c
1.54 +7 -1 src/sys/i386/include/md_var.h
1.8 +18 -0 src/sys/i386/include/sigframe.h
1.18 +1 -3 src/sys/i386/include/signal.h
1.8 +28 -0 src/sys/i386/include/ucontext.h
1.117 +9 -12 src/sys/ia64/ia64/machdep.c
1.3 +1 -4 src/sys/ia64/include/sigframe.h
1.11 +0 -7 src/sys/ia64/include/signal.h
1.140 +5 -5 src/sys/kern/init_sysent.c
1.197 +73 -4 src/sys/kern/kern_sig.c
1.125 +5 -5 src/sys/kern/syscalls.c
1.134 +6 -5 src/sys/kern/syscalls.master
1.3 +0 -21 src/sys/powerpc/include/signal.h
1.40 +9 -12 src/sys/powerpc/powerpc/machdep.c
1.10 +0 -8 src/sys/sparc64/include/signal.h
1.69 +10 -14 src/sys/sparc64/sparc64/machdep.c
1.34 +4 -0 src/sys/sys/_sigset.h
1.37 +8 -0 src/sys/sys/signal.h
1.55 +4 -3 src/sys/sys/signalvar.h
1.124 +5 -3 src/sys/sys/syscall.h
1.79 +3 -4 src/sys/sys/syscall.mk
1.5 +5 -1 src/sys/sys/syscallsubr.h
1.117 +24 -14 src/sys/sys/sysproto.h
1.8 +14 -0 src/sys/sys/ucontext.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210251910.g9PJAxLp020358>
