forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1550900 - Support "frozen" shared memory where the parent process…
… retains write access. r=froydnj 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
- Loading branch information
Showing
4 changed files
with
174 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters