diff options
| author | 2016-09-03 18:43:34 +0000 | |
|---|---|---|
| committer | 2016-09-03 18:43:34 +0000 | |
| commit | 344addc119cd0e9eb3c94a4272ed704787accac1 (patch) | |
| tree | 5b3d91abbe3b908111540e81760bdbc2057e6f6d /gnu/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp | |
| parent | Import libunwind 3.9.0 (diff) | |
| download | wireguard-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
