Home | History | Annotate | Download | only in libpthread
History log of /src/tests/lib/libpthread/t_join.c
RevisionDateAuthorComments
 1.10  29-Jan-2020  kamil Fix the t_join test

For pthread_attr_get_np() attr should be initialized prior to the call by
using pthread_attr_init(3). pthread_getattr_np() does this
automatically so switch to it.
 1.9  02-Jul-2017  joerg branches: 1.9.6;
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.8  12-Mar-2012  joerg branches: 1.8.24;
Also exercise pthread_attr_setstacksize.
 1.7  12-Dec-2011  joerg Remove bogus check that (a) depends uninitialised memory (b) overflows a
buffer.
 1.6  22-Aug-2011  dholland branches: 1.6.2;
Requires stdint.h.
 1.5  30-Nov-2010  joerg Test alignment of constructor / destructor calls as well as the stack
of new threads. Currently implement for i386 and AMD64.
 1.4  29-Jul-2010  hans Revert to 1.1 and fix the casts by using uintptr_t. Ok jruoho.
 1.3  29-Jul-2010  jruoho One more cast.
 1.2  29-Jul-2010  jruoho Fix build failure on AMD64, noted by njoly@.
 1.1  28-Jul-2010  jruoho Add a simple test for pthread_join(3).
 1.6.2.1  17-Apr-2012  yamt sync with head
 1.8.24.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.9.6.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed