mirror of git://sourceware.org/git/glibc.git
Instead of trying to allocate a thread stack at a specific address, looping over the address space, just set the ANYWHERE flag in vm_allocate (). The previous behavior: - defeats ASLR (for Mach versions that support ASLR), - is particularly slow if the lower 4 GB of the address space are mapped inaccessible, as we're planning to do on 64-bit Hurd, - is just silly. Signed-off-by: Sergey Bugaev <bugaevc@gmail.com> Message-Id: <20230625231751.404120-1-bugaevc@gmail.com> |
||
|---|---|---|
| .. | ||
| bits | ||
| Implies | ||
| pt-block-intr.c | ||
| pt-block.c | ||
| pt-spin.c | ||
| pt-stack-alloc.c | ||
| pt-thread-alloc.c | ||
| pt-thread-start.c | ||
| pt-thread-terminate.c | ||
| pt-timedblock-intr.c | ||
| pt-timedblock.c | ||
| pt-wakeup.c | ||
| thrd_yield.c | ||