Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | There are special rules regarding the memory passed to pthread_attr_setstack(). | 2020-12-03 | 1 | -7/+8 | |
| | | | | ok semarie@ | ||||
* | Implement MAP_STACK option for mmap(). Synchronous faults (pagefault and | 2018-04-12 | 1 | -2/+14 | |
| | | | | | | | | | | | | | | syscall) confirm the stack register points at MAP_STACK memory, otherwise SIGSEGV is delivered. sigaltstack() and pthread_attr_setstack() are modified to create a MAP_STACK sub-region which satisfies alignment requirements. Observe that MAP_STACK can only be set/cleared by mmap(), which zeroes the contents of the region -- there is no mprotect() equivalent operation, so there is no MAP_STACK-adding gadget. This opportunistic software-emulation of a stack protection bit makes stack-pivot operations during ROPchain fragile (kind of like removing a tool from the toolbox). original discussion with tedu, uvm work by stefan, testing by mortimer ok kettenis | ||||
* | use fancy .In macro for includes. from Jan Klemkow. ok jmc schwarze | 2013-06-05 | 1 | -3/+3 | |
| | |||||
* | Add pthread_attr_[sg]etguardsize() to match rthread, including manpages | 2008-12-18 | 1 | -2/+3 | |
| | | | | | | Bump lib minor ok otto@ kurt@ marc@; doc review by jmc@ | ||||
* | - correct .Dt for pthread_attr_setstack.3 | 2008-07-05 | 1 | -2/+2 | |
| | | | | - new sentence, new line | ||||
* | Add manpage for pthread_attr_[sg]etstack(3) | 2008-07-05 | 1 | -0/+92 | |
Correct misnaming in STANDARDS section ok brad@ otto@ |