mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-26 02:02:33 +00:00
f9c2aefe5c
This patch extends shared memory freezing to support the use case where the parent process retains write access for incremental updates, while other processes receive read-only access. Note that, while some OSes allow independent read-only and read/write capabilities for the same object, all we have on Android is an operation that prevents future write mappings. Therefore, this allows an existing writeable mapping to be retained, but if that is unmapped then even the parent process can't re-create it. As with freezing, the read-only restriction may not be enforceable if the recipient process isn't adequately sandboxed (e.g., on Linux, if it can use /proc/self/fd to reopen the inode for writing). Differential Revision: https://phabricator.services.mozilla.com/D67187 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
moz.build | ||
TestSharedMemory.cpp |