summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep/grep.c
diff options
context:
space:
mode:
authorkurt <kurt@openbsd.org>2006-09-26 14:50:37 +0000
committerkurt <kurt@openbsd.org>2006-09-26 14:50:37 +0000
commit625d6ecb85a6906dcab01605c70c2f46a49767f6 (patch)
tree384ba59fb7add923c521d8585c8ad0f7ef419d64 /usr.bin/grep/grep.c
parentPart 2 of file descriptor race and deadlock corrections. (diff)
downloadwireguard-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