History log of /openbsd-src/lib/libpthread/man/pthread_attr_setstackaddr.3 (Results 1 – 13 of 13)
Revision Date Author Comments
# 97d58a65 17-Jul-2022 jsg <jsg@openbsd.org>

add section to mmap Xr


# 003f5e42 12-Apr-2018 deraadt <deraadt@openbsd.org>

Implement MAP_STACK option for mmap(). Synchronous faults (pagefault and
syscall) confirm the stack register points at MAP_STACK memory, otherwise
SIGSEGV is delivered. sigaltstack() and pthread_att

Implement MAP_STACK option for mmap(). Synchronous faults (pagefault and
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

show more ...


# 86f9d4cd 05-Jun-2013 tedu <tedu@openbsd.org>

use fancy .In macro for includes. from Jan Klemkow. ok jmc schwarze


# 91063d07 18-Dec-2008 guenther <guenther@openbsd.org>

Add pthread_attr_[sg]etguardsize() to match rthread, including manpages
Bump lib minor

ok otto@ kurt@ marc@; doc review by jmc@


# 11ddadc0 05-Jul-2008 guenther <guenther@openbsd.org>

Add manpage for pthread_attr_[sg]etstack(3)
Correct misnaming in STANDARDS section
ok brad@ otto@


# 9490d37c 31-May-2007 jmc <jmc@openbsd.org>

convert to new .Dd format;


# 6ae9c702 16-Feb-2004 brad <brad@openbsd.org>

Add missing const for function parameters to match POSIX.

From: FreeBSD's libc_r

ok marc@


# ba0a4b2f 08-May-2003 jmc <jmc@openbsd.org>

RETURN VALUE -> RETURN VALUES in .Sh, as per mdoc template.
also new sentence, new line.


# 084a1742 20-Feb-2003 jmc <jmc@openbsd.org>

copyrights added;

these are all David Leonard, and Public Domain
ok deraadt@


# ee997aea 01-May-2002 mpech <mpech@openbsd.org>

o) start new sentence on a new line;
o) always close .Bl tags;
o) fix usage of .Xr;

millert@ ok


# f885a527 15-Apr-2000 aaron <aaron@openbsd.org>

Mostly punctuation fixes.


# a1d216a3 12-Apr-2000 aaron <aaron@openbsd.org>

Trailing whitespace begone!


# 7682efa6 06-Jan-2000 d <d@openbsd.org>

document