History log of /openbsd-current/sys/arch/mips64/include/signal.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.13 08-Jan-2018 visa

Move SC_* defines into <machine/setjmp.h>, and rename them,
so that <machine/signal.h> is not needed in setjmp.S.

Suggested by kettenis@ long ago, OK deraadt@


Revision tags: OPENBSD_6_2_BASE
# 1.12 10-Apr-2017 visa

Use __ASSEMBLER__ instead of __LANGUAGE_ASSEMBLY.
The latter is not defined by clang.

OK guenther@, kettenis@


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.11 10-May-2016 deraadt

SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie
inside the sigcontext. sigreturn(2) checks syscall entry was from the
exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie,
and clears it to prevent sigcontext reuse.
not yet tested on landisk, sparc, *88k, socppc.
ok kettenis


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.10 02-Dec-2012 guenther

Determine whether we're currently on the alternative signal stack
dynamically, by comparing the stack pointer against the altstack
base and size, so that you get the correct answer if you longjmp
out of the signal handler, as tested by regress/sys/kern/stackjmp/.
Also, fix alt stack handling on vax, where it was completely broken.

Testing and corrections by miod@, krw@, tobiasu@, pirofti@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.9 23-Mar-2011 pirofti

Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.

Discussed and okay drahn@. Okay deraadt@.


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.8 09-Jan-2006 millert

Use protected version of register_t in struct sigcontext for the
case where _XOPEN_SOURCE was defined but BSD-specific types are
not visible.


# 1.7 08-Jan-2006 millert

Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2


# 1.6 14-Dec-2005 millert

convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@


# 1.5 29-Nov-2005 deraadt

backout miod's change because he did not compile libc.


# 1.4 28-Nov-2005 miod

Remove older-than-gramps poor man's assym.h defines; .S files do not even need
these constants.


Revision tags: OPENBSD_3_8_BASE
# 1.3 07-Aug-2005 miod

Remove advertising clause from UCB licenses; ok deraad@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.2 10-Aug-2004 deraadt

spacing


# 1.1 06-Aug-2004 pefo

initial mips64