summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
diff options
context:
space:
mode:
authorstefan <stefan@openbsd.org>2016-09-03 18:43:34 +0000
committerstefan <stefan@openbsd.org>2016-09-03 18:43:34 +0000
commit344addc119cd0e9eb3c94a4272ed704787accac1 (patch)
tree5b3d91abbe3b908111540e81760bdbc2057e6f6d /gnu/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp
parentImport libunwind 3.9.0 (diff)
downloadwireguard-openbsd-344addc119cd0e9eb3c94a4272ed704787accac1.tar.xz
wireguard-openbsd-344addc119cd0e9eb3c94a4272ed704787accac1.zip
Only use uaddr_exe for address selection when PROT_EXEC is requested
Checking whether a memory range could be mprotect()'ed to PROT_EXEC attempts to put every mapping into the uaddr_exe range, if it exists. This would fill up the exe range on i386 quickly, once uaddr_exe gets used. So only use uaddr_exe if we know PROT_EXEC is needed for sure No change in current behavior, since uaddr_exe will only be used with uvm pivots. ok tedu@
Diffstat (limited to 'gnu/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp')
0 files changed, 0 insertions, 0 deletions