#
7730d1d9 |
| 10-May-2016 |
deraadt <deraadt@openbsd.org> |
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, verifi
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
show more ...
|
#
1eaa59e7 |
| 02-Dec-2012 |
guenther <guenther@openbsd.org> |
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
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@
show more ...
|
#
1cfdce52 |
| 27-Apr-2012 |
pirofti <pirofti@openbsd.org> |
Remove reg.h inclusion.
Missed by miod@ in his previous commit. Now groff should build.
Okay miod@.
|
#
7e229282 |
| 13-Apr-2012 |
miod <miod@openbsd.org> |
Avoid horrible namespace pollution of <machine/signal.h> pulling in <machine/reg.h> for the needs of struct sigcontext; said struct ought to only use simple integer types. Fixes build of groff on lan
Avoid horrible namespace pollution of <machine/signal.h> pulling in <machine/reg.h> for the needs of struct sigcontext; said struct ought to only use simple integer types. Fixes build of groff on landisk.
ok pirofti@ (who had a similar diff)
show more ...
|
#
a4976051 |
| 21-Nov-2011 |
deraadt <deraadt@openbsd.org> |
only pull reg.h in when __BSD_VISIBLE || __XPG_VISIBLE >= 420, as on m88k, which is another architecture with structs visible inside sigcontext. for pirofti ok miod guenther
|
#
243b5df4 |
| 02-Mar-2007 |
miod <miod@openbsd.org> |
Move landisk to hardware floating point. At the moment the FPU context is always saved upon context switches, as FPU registers are heavily used for long long computations (don't ask). Gcc default to
Move landisk to hardware floating point. At the moment the FPU context is always saved upon context switches, as FPU registers are heavily used for long long computations (don't ask). Gcc default to -m4.
Credits to drahn@ otto@ and deraadt@ for feedback and help testing.
Upgrade procedure if you don't want to use the damn snapshots: - build and install new kernel, reboot off it - build new gcc, do not install it yet - make includes - install new gcc - build and install lib/csu and lib/libc - make build
show more ...
|
#
95c7671f |
| 06-Oct-2006 |
miod <miod@openbsd.org> |
Preliminary bits for SuperH-based ports, based on NetBSD/sh3 codebase with minor changes.
|