After working on issue 789959 , I've come to the conclusion that it is time to refactor the way Chromium shared memory regions. Essentially:
- The current scheme is based around Posix shared memory region
access control semantics, which are looser than the ones provided
by Android ashmem, and Linux memfd.
- The current abstractions used by Chromium were grown organically,
but are ambiguous, which can easily lead to resource leaks and/or
security issues (as seen in the past).
- This would allow us to clean-up some historical baggage and
inconsistencies:
https://crbug.com/210609 https://crbug.com/320865 https://crbug.com/345734https://crbug.com/399384https://crbug.com/412104https://crbug.com/640840 https://crbug.com/716072
This is an umbrella issue for this refactor.
Comment 1 by roc...@chromium.org
, Jan 17 2018