NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/41302 CVS commit: src/sys/arch/sparc64/sparc64

The following reply was made to PR bin/41302; it has been noted by GNATS.

From: Martin Husemann <>
Subject: PR/41302 CVS commit: src/sys/arch/sparc64/sparc64
Date: Thu, 21 May 2009 13:24:38 +0000

 Module Name:   src
 Committed By:  martin
 Date:          Thu May 21 13:24:38 UTC 2009
 Modified Files:
        src/sys/arch/sparc64/sparc64: vm_machdep.c
 Log Message:
 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.87 -r1.88 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.

Home | Main Index | Thread Index | Old Index