summaryrefslogtreecommitdiffstats
path: root/usr.bin/script/script.c
diff options
context:
space:
mode:
authorpascal <pascal@openbsd.org>2015-10-20 11:15:07 +0000
committerpascal <pascal@openbsd.org>2015-10-20 11:15:07 +0000
commit31b08222e46a5c824d06574863b8f73c72aea677 (patch)
treefd9045bda73d0b0ed8603843958519b50e7e16cc /usr.bin/script/script.c
parentupdate regress for pledge after whitelisted-path view inclusion (diff)
downloadwireguard-openbsd-31b08222e46a5c824d06574863b8f73c72aea677.tar.xz
wireguard-openbsd-31b08222e46a5c824d06574863b8f73c72aea677.zip
On xmalloc failure, stop trying to determine the total amount of allocated
memory up to this point by using sbrk(2). This is of course wildly incorrect for any mmap-based malloc(3). This also makes it possible to bring pledge(2) to gnu/. comments kettenis@, ok miod@
Diffstat (limited to 'usr.bin/script/script.c')
0 files changed, 0 insertions, 0 deletions