Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move SC_* defines into <machine/setjmp.h>, and rename them, | 2018-01-08 | 1 | -15/+1 | |
| | | | | | | so that <machine/signal.h> is not needed in setjmp.S. Suggested by kettenis@ long ago, OK deraadt@ | ||||
* | Use __ASSEMBLER__ instead of __LANGUAGE_ASSEMBLY. | 2017-04-10 | 1 | -4/+4 | |
| | | | | | | The latter is not defined by clang. OK guenther@, kettenis@ | ||||
* | SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookie | 2016-05-10 | 1 | -3/+3 | |
| | | | | | | | | 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 | ||||
* | Determine whether we're currently on the alternative signal stack | 2012-12-02 | 1 | -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. | 2011-03-23 | 1 | -4/+4 | |
| | | | | Discussed and okay drahn@. Okay deraadt@. | ||||
* | Use protected version of register_t in struct sigcontext for the | 2006-01-09 | 1 | -5/+5 | |
| | | | | | case where _XOPEN_SOURCE was defined but BSD-specific types are not visible. | ||||
* | Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2 | 2006-01-08 | 1 | -3/+3 | |
| | |||||
* | convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@ | 2005-12-14 | 1 | -4/+5 | |
| | |||||
* | backout miod's change because he did not compile libc. | 2005-11-29 | 1 | -1/+14 | |
| | |||||
* | Remove older-than-gramps poor man's assym.h defines; .S files do not even need | 2005-11-28 | 1 | -14/+1 | |
| | | | | these constants. | ||||
* | Remove advertising clause from UCB licenses; ok deraad@ | 2005-08-07 | 1 | -6/+2 | |
| | |||||
* | spacing | 2004-08-10 | 1 | -2/+2 | |
| | |||||
* | initial mips64 | 2004-08-06 | 1 | -0/+87 | |