diff options
author | 2006-09-26 14:50:37 +0000 | |
---|---|---|
committer | 2006-09-26 14:50:37 +0000 | |
commit | 625d6ecb85a6906dcab01605c70c2f46a49767f6 (patch) | |
tree | 384ba59fb7add923c521d8585c8ad0f7ef419d64 /usr.bin/grep/grep.c | |
parent | Part 2 of file descriptor race and deadlock corrections. (diff) | |
download | wireguard-openbsd-625d6ecb85a6906dcab01605c70c2f46a49767f6.tar.xz wireguard-openbsd-625d6ecb85a6906dcab01605c70c2f46a49767f6.zip |
- Use mmap to allocate thread stacks instead of malloc. This prevents
applications that install their own thread stack red-zones with mprotect
PROT_NONE from entering the malloc pool when the pages are freed.
- round up requested thread stack size to closest page boundary to
simplify the red-zone calculations.
okay brad@
Diffstat (limited to 'usr.bin/grep/grep.c')
0 files changed, 0 insertions, 0 deletions