Files
Jed Davis db8808c338 Bug 2047332 - Fix the FreezeAndMapRW shared memory gtest. r=afranchuk
The original intent of that test, expressed in terms of the current API,
is: what if you could transmute a ReadOnlyHandle into a MutableHandle?
So now there's a test-only method for that.

Bonus fix: reword the comment for Reprotect; I found the old one to be
confusing.  (It is also the case that you can't set bits in `max_prot`
that the object being mapped doesn't like, but it's FreezeAndMapRW that
tests that part, not Reprotect.)

Differential Revision: https://phabricator.services.mozilla.com/D306583
2026-07-28 05:14:11 +00:00
..