The following reply was made to PR port-sparc64/41302; it has been noted by
From: Soren Jacobsen <snj@xxxxxxxxxx>
Subject: PR/41302 CVS commit: [netbsd-5-0] src/sys/arch/sparc64/sparc64
Date: Tue, 26 May 2009 19:18:05 +0000
Module Name: src
Committed By: snj
Date: Tue May 26 19:18:05 UTC 2009
src/sys/arch/sparc64/sparc64 [netbsd-5-0]: vm_machdep.c
Pull up following revision(s) (requested by martin in ticket #774):
sys/arch/sparc64/sparc64/vm_machdep.c: revision 1.88
Deja Vu: when preparing the initial trap frame for a new forked lwp,
explicitly clear condition code. Otherwise we might catch a signal
(handlers are inherited from the parent) before we ever return to
userland. The current trapframe is converted into a ucontext and after
the signal handler returns, the lwp stays in userland and directly
uses the ucontext to return to the fork call.
Fixes PR 41302.
To generate a diff of this commit:
cvs rdiff -u -r1.84 -r188.8.131.52 src/sys/arch/sparc64/sparc64/vm_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.