about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-05-10 21:02:24 +0000
committerbors <bors@rust-lang.org>2018-05-10 21:02:24 +0000
commitacd3871ba17316419c644e17547887787628ec2f (patch)
treeb1557c8e01f5bdb3556bfcdc10ef5e73563edace /src/liballoc
parent9e3caa23f99816caf3c2fb69ff5c88b512fb1b38 (diff)
parent244e24a312925779f6c62ce7d6b315fa2c120a7c (diff)
downloadrust-acd3871ba17316419c644e17547887787628ec2f.tar.gz
rust-acd3871ba17316419c644e17547887787628ec2f.zip
Auto merge of #50331 - MartinHusemann:master, r=Kimundi
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.

Fixes #50313
Diffstat (limited to 'src/liballoc')
0 files changed, 0 insertions, 0 deletions