summaryrefslogtreecommitdiffstats
path: root/sys/arch/amd64/include/signal.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookiederaadt2016-05-101-1/+2
| | | | | | | | 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
* Do not expose the trap T_* values to userland, since they invade thederaadt2013-04-011-2/+2
| | | | | | | 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
* Determine whether we're currently on the alternative signal stackguenther2012-12-021-2/+2
| | | | | | | | | 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@
* Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.pirofti2011-03-231-4/+4
| | | | Discussed and okay drahn@. Okay deraadt@.
* Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2millert2006-01-081-3/+4
|
* convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@millert2005-12-141-3/+5
|
* Remove the advertising clause in the UCB license which Berkeleyjsg2005-12-131-5/+1
| | | | | rescinded 22 July 1999. Checked by ian@, deraadt@ and millert@, arm portion checked by drahn@
* save/restore fpu state around the signal handler. skip a gap on unempty stack per abi. form drahn@ and deraadt@mickey2004-02-131-0/+1
|
* an amd64 arch support.mickey2004-01-281-0/+88
hacked by art@ from netbsd sources and then later debugged by me into the shape where it can host itself. no bootloader yet as needs redoing from the recent advanced i386 sources (anyone? ;)