Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.12 |
|
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_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
|
#
1.11 |
|
01-Apr-2013 |
deraadt |
Do not expose the trap T_* values to userland, since they invade the namespace a bit much. These are the names for the value encoded in core.c_ucode or siginfo.si_trapno, but userland never looks directly and only cares about the abstract signal code. ok guenther
|
Revision tags: OPENBSD_5_3_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_1_BASE OPENBSD_5_2_BASE
|
#
1.9 |
|
14-Nov-2011 |
deraadt |
merge various differences between hppa and hppa64 ok jsing
|
Revision tags: OPENBSD_5_0_BASE
|
#
1.8 |
|
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.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@
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE SMP_SYNC_A SMP_SYNC_B
|
#
1.5 |
|
03-Apr-2004 |
mickey |
make it look more like the other archs
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
|
#
1.4 |
|
04-Aug-2003 |
mickey |
make 'em all unsigned
|
#
1.3 |
|
18-May-2003 |
mickey |
save the fpu state for the signal handler. this is essential as the fpu regs can be used by the gcc even for non-fpu means and data copying. rearrange the sigcontext a bit to include only the general registers that are needed restoring upon return and thus less waste of space and make up some space for the fpu regs.
ALL software that used the signal context on the stack needs at least rebuilding now. a new snap has bin built as well.
|
Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE UBC_SYNC_A UBC_SYNC_B
|
#
1.2 |
|
06-Feb-2002 |
mickey |
implement signal delivery; based on fredette@'s work
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE SMP_BASE UBC_BASE kame_19991208
|
#
1.1 |
|
23-Jun-1998 |
mickey |
branches: 1.1.8; 1.1.18; some includes
|