The following reply was made to PR kern/41342; it has been noted by GNATS.
From: "Jeff Rizzo" <riz%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/41342 CVS commit: [netbsd-5] src/sys/arch/i386/i386
Date: Wed, 31 Oct 2012 15:34:59 +0000
Module Name: src
Committed By: riz
Date: Wed Oct 31 15:34:58 UTC 2012
Modified Files:
src/sys/arch/i386/i386 [netbsd-5]: locore.S
Log Message:
Pull up following revision(s) (requested by chs in ticket #1810):
sys/arch/i386/i386/locore.S: revision 1.103
in osyscall, set the PSL_I bit into the correct field of the trapframe.
it was going into tf_eip instead of tf_eflags, which would sometimes
corrupt %eip and always return to user mode with interrupts disabled.
this was found with a netbsd 1.0 binary, and dsl@ points out that
this should also fix PR 41342.
To generate a diff of this commit:
cvs rdiff -u -r1.78.4.3 -r1.78.4.4 src/sys/arch/i386/i386/locore.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.