summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/man/pthread_attr_setstackaddr.3
AgeCommit message (Collapse)AuthorFilesLines
2018-04-12Implement MAP_STACK option for mmap(). Synchronous faults (pagefault andderaadt1-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
2013-06-05use fancy .In macro for includes. from Jan Klemkow. ok jmc schwarzetedu1-3/+3
2008-12-18Add pthread_attr_[sg]etguardsize() to match rthread, including manpagesguenther1-2/+3
Bump lib minor ok otto@ kurt@ marc@; doc review by jmc@
2008-07-05Add manpage for pthread_attr_[sg]etstack(3)guenther1-4/+7
Correct misnaming in STANDARDS section ok brad@ otto@
2007-05-31convert to new .Dd format;jmc1-2/+2
2004-02-16Add missing const for function parameters to match POSIX.brad1-2/+2
From: FreeBSD's libc_r ok marc@
2003-05-08RETURN VALUE -> RETURN VALUES in .Sh, as per mdoc template.jmc1-4/+4
also new sentence, new line.
2003-02-20copyrights added;jmc1-1/+4
these are all David Leonard, and Public Domain ok deraadt@
2002-05-01o) start new sentence on a new line;mpech1-3/+3
o) always close .Bl tags; o) fix usage of .Xr; millert@ ok
2000-04-15Mostly punctuation fixes.aaron1-2/+2
2000-04-12Trailing whitespace begone!aaron1-5/+5
2000-01-06documentd1-0/+64