diff options
author | kib <kib@FreeBSD.org> | 2012-04-21 18:36:53 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2012-04-21 18:36:53 +0000 |
commit | bc0324054920c1be4d48b9124891155c8e1c6f5c (patch) | |
tree | 571594de34c51e399f5b504f70e1befbdc0a6a3a /lib/libc/regex/regcomp.c | |
parent | ad5c747d1de39d9fdd7096a2314b7cb2eecb3448 (diff) | |
download | FreeBSD-src-bc0324054920c1be4d48b9124891155c8e1c6f5c.zip FreeBSD-src-bc0324054920c1be4d48b9124891155c8e1c6f5c.tar.gz |
When MAP_STACK mapping is created, the map entry is created only to
cover the initial stack size. For MCL_WIREFUTURE maps, the subsequent
call to vm_map_wire() to wire the whole stack region fails due to
VM_MAP_WIRE_NOHOLES flag.
Use the VM_MAP_WIRE_HOLESOK to only wire mapped part of the stack.
Reported and tested by: Sushanth Rai <sushanth_rai yahoo com>
Reviewed by: alc
MFC after: 1 week
Diffstat (limited to 'lib/libc/regex/regcomp.c')
0 files changed, 0 insertions, 0 deletions