summaryrefslogtreecommitdiff
path: root/lib/librthread/rthread_stack.c
AgeCommit message (Expand)Author
2018-02-11Start mapping thread stacks with MAP_STACK. mmap() currently ignoresTheo de Raadt
2018-02-10Shift top-of-stack down so that the random==0 case doesn't leave stackTheo de Raadt
2017-09-05Move mutex, condvar, and thread-specific data routes, pthread_once, andPhilip Guenther
2016-09-04Get rid of ticket support, replace "struct _spinlock" with "_atomic_lock_t".Michal Mazurek
2016-09-01delete wrong cvs $ tagsTheo de Raadt
2015-01-24Add back <sys/param.h>; it's needed for MACHINE_STACK_GROWS_UP.Mark Kettenis
2015-01-16Move to the <limits.h> universe.Theo de Raadt
2014-06-27Fix mmap() flag usage: explicitly specify MAP_PRIVATE and drop uselessMatthew Dempsky
2013-12-18Provide a random stackgrap on pthread frames. Use _STACKALIGNBYTES toTheo de Raadt
2013-06-01cleanup and consolidate the spinlock_lock (what a name!) code.Ted Unangst
2013-03-21Do not need machine/param.hTheo de Raadt
2012-08-04Fix caching of stacks allocated with the default attributes.Philip Guenthe
2012-02-19Use 'base' as an intermediate char* variable to avoid void* arithmeticPhilip Guenthe
2012-02-18Fix the handling of the stackaddr, stacksize, and guardsize attributes:Philip Guenthe
2011-11-06Move <machine/spinlock.h> into rthread.h; strip out unnecessary #includesPhilip Guenthe
2010-05-26If the stack size attribute isn't larger than the guard-page sizePhilip Guenthe
2006-10-27two comment typos from tbertTed Unangst
2006-01-05Remove redundant mprotect() calls (we're unmapping the region anyway)Otto Moerbeek
2006-01-01thread stack handling changes. Add guard zones and allow stackMarco S Hyman