MFC r257858:
Fix signal delivery for the iBCS2 binaries. Approved by: re (gjb)
This commit is contained in:
parent
ead14302e7
commit
bc035b6554
@ -757,6 +757,8 @@ sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask)
|
||||
|
||||
regs->tf_esp = (int)sfp;
|
||||
regs->tf_eip = p->p_sysent->sv_sigcode_base;
|
||||
if (regs->tf_eip == 0)
|
||||
regs->tf_eip = p->p_sysent->sv_psstrings - szsigcode;
|
||||
regs->tf_eflags &= ~(PSL_T | PSL_D);
|
||||
regs->tf_cs = _ucodesel;
|
||||
regs->tf_ds = _udatasel;
|
||||
|
Loading…
x
Reference in New Issue
Block a user