base/memory: Test mapping protection bits on all platforms
This CL adds a new MappingProtectionSetCorrectly test to the PlatformSharedMemoryRegion. This test examines that page protection bits are set correctly on a mapped region and that the process doesn't have rights to change the protection level. Bug: 795291 Change-Id: I029de3b31c74f7c14d92d5da7fb4a2a35ec7659a Reviewed-on: https://chromium-review.googlesource.com/1199811Reviewed-by:Robert Sesek <rsesek@chromium.org> Commit-Queue: Alexandr Ilin <alexilin@chromium.org> Cr-Commit-Position: refs/heads/master@{#588506}
Showing
Please register or sign in to comment