]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix signal delivery for the iBCS2 binaries. The iBCS2 sysvec uses
authorKonstantin Belousov <kib@FreeBSD.org>
Fri, 8 Nov 2013 16:57:55 +0000 (16:57 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Fri, 8 Nov 2013 16:57:55 +0000 (16:57 +0000)
commit760faf9fdd509e6756dcbfcdec9265f013415b28
treed9530b17abd5632de5ae6521a87d147218f80098
parent647e61eacab66e41f81cbfffe5c71f08f9aa8854
Fix signal delivery for the iBCS2 binaries.  The iBCS2 sysvec uses
current FreeBSD signal trampoline, but does not specifies
sv_sigcode_base, since shared page is not mapped.  This results in the
zero %eip for the signal frame.  Fall back to calculating %eip as
offset from the psstrings when sv_sigcode_base is not initialized.

Reported by: Rich Naill <rich@enterprisesystems.net>
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
sys/i386/i386/machdep.c