Konstantin Belousov da2fcff746 Implement the __pthread_map_stacks_exec() for libthr.
Stack creation code is changed to call _rtld_get_stack_prot() to get
the stack protection right. There is a race where thread is created
during dlopen() of dso that requires executable stacks. Then,
_rtld_get_stack_prot() may return PROT_READ | PROT_WRITE, but thread
is still not linked into the thread list. In this case, the callback
misses the thread stack, and rechecks the required protection
afterward.

Reviewed by:	davidxu
2011-01-09 12:38:40 +00:00
..
2010-12-22 05:01:52 +00:00
2010-05-24 13:44:39 +00:00
2010-09-30 12:59:56 +00:00
2010-12-22 05:01:52 +00:00
2010-09-19 08:55:36 +00:00
2010-12-22 05:01:52 +00:00
2010-12-22 05:01:52 +00:00
2011-01-06 08:13:30 +00:00
2010-10-29 09:35:36 +00:00
2010-12-22 05:03:24 +00:00
2010-12-22 05:01:52 +00:00
2010-12-22 05:01:52 +00:00