OpenGrok
Cross Reference: pthread_attr_getguardsize.3
xref
: /
src
/
lib
/
libpthread
/
pthread_attr_getguardsize.3
Home
|
History
|
Annotate
|
Download
|
only in
libpthread
History log of
/src/lib/libpthread/pthread_attr_getguardsize.3
Revision
Date
Author
Comments
1.6
07-Dec-2023
riastradh
pthread: Document the setstack vs setguardsize bug.
Suggest the safe, compatible workaround.
1.5
22-Oct-2017
abhinav
branches: 1.5.14;
Add missing function names in the NAME section for rest of the man pages in libpthread
1.4
02-Jul-2017
joerg
Export the guard size of the main thread via vm.guard_size. Add a
complementary writable sysctl for the initial guard size of threads
created via pthread_create. Let the existing attribut accessors do the
right thing. Raise the default guard size for threads to 64KB.
1.3
07-Apr-2016
dholland
branches: 1.3.8;
_SC_PAGESIZE is not the page size; it's a symbolic code for retrieving
the page size.
1.2
08-Jul-2010
wiz
Whitespace nit.
1.1
07-Jul-2010
jruoho
Move pthread_attr_getguardsize() and pthread_attr_setguardsize() to a
separate page, and actually document these.
1.3.8.1
31-Aug-2017
bouyer
Pull up following revision(s) (requested by joerg in ticket #234):
sys/arch/amd64/include/vmparam.h: revision 1.43
sys/kern/exec_subr.c: revision 1.79
lib/libpthread/pthread_int.h: revision 1.94
sys/arch/mips/include/vmparam.h: revision 1.58
sys/arch/mips/include/vmparam.h: revision 1.59
lib/libpthread/TODO: revision 1.19
sys/arch/powerpc/include/vmparam.h: revision 1.20
sys/arch/riscv/include/vmparam.h: revision 1.2
sys/arch/riscv/include/vmparam.h: revision 1.3
sys/arch/i386/include/vmparam.h: revision 1.85
tests/lib/libpthread/t_join.c: revision 1.9
sys/uvm/uvm_meter.c: revision 1.66
sys/uvm/uvm_param.h: revision 1.36
sys/kern/exec_subr.c: revision 1.80
sys/uvm/uvm_param.h: revision 1.37
sys/kern/exec_subr.c: revision 1.81
sys/kern/exec_subr.c: revision 1.82
lib/libpthread/pthread_attr_getguardsize.3: revision 1.4
lib/libpthread/pthread.c: revision 1.148
lib/libpthread/pthread_attr.c: revision 1.17
sys/arch/amd64/include/vmparam.h: revision 1.42
Always include a 1MB guard area beyond the end of stack. While ASLR will
normally create a guard area as well, this provides a deterministic area
for all binaries.
Mitigates the rest of CVE-2017-
1000374
and CVE-2017-
1000375
from
Qualys.
Revert for the moment, creates problems on i386.
Recommit exec_subr.c revision 1.79:
Always include a 1MB guard area beyond the end of stack. While ASLR will
normally create a guard area as well, this provides a deterministic area
for all binaries.
Mitigates the rest of CVE-2017-
1000374
and CVE-2017-
1000375
from
Qualys.
Additionally, change VM_DEFAULT_ADDRESS_TOPDOWN to include
user_stack_guard_size in the size reservation.
Update VM_DEFAULT_ADDRESS32_TOPDOWN to include guard area.
Export the guard size of the main thread via vm.guard_size. Add a
complementary writable sysctl for the initial guard size of threads
created via pthread_create. Let the existing attribut accessors do the
right thing. Raise the default guard size for threads to 64KB.
1.5.14.1
20-Jul-2024
martin
Pull up following revision(s) (requested by rin in ticket #758):
lib/libpthread/pthread_attr_getstack.3: revision 1.9
lib/libpthread/pthread_attr_getguardsize.3: revision 1.6
pthread: Document the setstack vs setguardsize bug.
Suggest the safe, compatible workaround.
Indexes created Sat Sep 27 21:09:56 GMT 2025