freebsd-dev/sys/pc98
Bruce Evans 766f247a59 Use osigreturn(2) instead of sigreturn(2) plus broken magic for returning
from old signal handlers.  This is simpler and faster, and fixes (new)
sigreturn(2) when %eip in the new signal context happens to match the
magic value (0x1d516).  0x1d516 is below the default ELF text section,
so this probably never broken anything in practice.

locore.s:
In addition, don't build the signal trampoline for old signal handlers
when it is not used.

alpha:
Not fixed, but seems to be even less broken in practice due to more
advanced magic. A false match occurs for register #32 in mc_regs[].
Since there is no hardware register #32, a false match is only possible
for direct calls to sigreturn(2) that happen to have the magic number
in the spare mc_regs[32] field.
2002-02-03 09:13:58 +00:00
..
apm MFi386: revision 1.124 2001-12-22 01:34:09 +00:00
cbus Changed iskanji[12] to inline functions. 2002-01-31 08:29:46 +00:00
compile Don't need the .keep_me files. Obrien and I committed past each other. 2001-07-01 23:35:44 +00:00
conf Disabled the olpt driver temporarily to avoid 'repeat make_dev' panic. 2001-12-31 09:02:24 +00:00
i386 Use osigreturn(2) instead of sigreturn(2) plus broken magic for returning 2002-02-03 09:13:58 +00:00
pc98 Use osigreturn(2) instead of sigreturn(2) plus broken magic for returning 2002-02-03 09:13:58 +00:00