summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/man/pthread_attr_setstackaddr.3 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implement MAP_STACK option for mmap(). Synchronous faults (pagefault andderaadt2018-04-121-2/+13
| | | | | | | | | | | | | | 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 schwarzetedu2013-06-051-3/+3
|
* Add pthread_attr_[sg]etguardsize() to match rthread, including manpagesguenther2008-12-181-2/+3
| | | | | | Bump lib minor ok otto@ kurt@ marc@; doc review by jmc@
* Add manpage for pthread_attr_[sg]etstack(3)guenther2008-07-051-4/+7
| | | | | Correct misnaming in STANDARDS section ok brad@ otto@
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* Add missing const for function parameters to match POSIX.brad2004-02-161-2/+2
| | | | | | From: FreeBSD's libc_r ok marc@
* RETURN VALUE -> RETURN VALUES in .Sh, as per mdoc template.jmc2003-05-081-4/+4
| | | | also new sentence, new line.
* copyrights added;jmc2003-02-201-1/+4
| | | | | these are all David Leonard, and Public Domain ok deraadt@
* o) start new sentence on a new line;mpech2002-05-011-3/+3
| | | | | | | o) always close .Bl tags; o) fix usage of .Xr; millert@ ok
* Mostly punctuation fixes.aaron2000-04-151-2/+2
|
* Trailing whitespace begone!aaron2000-04-121-5/+5
|
* documentd2000-01-061-0/+64