about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorMartin Husemann <martin@NetBSD.org>2018-04-30 08:04:53 +0200
committerMartin Husemann <martin@NetBSD.org>2018-04-30 08:04:53 +0200
commit7c2304ddc6d716883415ac883f02256db6318644 (patch)
treecaada13bda1dd1bd380b7f61dc1c2e5e942990e0 /src/test/incremental/thinlto
parentf900bcf35c9ed4b8f911a37df3949f82669b9bd8 (diff)
downloadrust-7c2304ddc6d716883415ac883f02256db6318644.tar.gz
rust-7c2304ddc6d716883415ac883f02256db6318644.zip
Map the stack guard page with max protection on NetBSD
On NetBSD the initial mmap() protection of a mapping can not be made
less restrictive with mprotect().

So when mapping a stack guard page, use the maximum protection
we ever want to use, then mprotect() it to the permission we
want it to have initially.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions