Fix access mode of memory-mapped apphost (#49341)
authorMateo Torres-Ruiz <mateoatr@users.noreply.github.com>
Tue, 9 Mar 2021 14:39:27 +0000 (06:39 -0800)
committerGitHub <noreply@github.com>
Tue, 9 Mar 2021 14:39:27 +0000 (09:39 -0500)
commit17a7ed5d8b433a3b895be8f4d23ce10bed0c3ca1
treebc21097139b88a29f8c0c9644466216105142adb
parent5831c84e8036cb3a96d1ff077c3e835c913134e3
Fix access mode of memory-mapped apphost (#49341)

* Use read access on apphost memory mapped file

* Add test
src/installer/managed/Microsoft.NET.HostModel/AppHost/HostWriter.cs
src/installer/tests/Microsoft.NET.HostModel.Tests/Microsoft.NET.HostModel.AppHost.Tests/AppHostUpdateTests.cs