mirror of
https://github.com/opnsense/src.git
synced 2026-02-28 20:30:57 -05:00
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 |
||
|---|---|---|
| .. | ||
| arch | ||
| support | ||
| sys | ||
| thread | ||
| libthr.3 | ||
| Makefile | ||
| pthread.map | ||