-
Egor Pasko authored
rsesek@ wrote: Anything forked from the system zygote will have many libraries with the same address space layout, with plenty of gadgets for exploitation. There’s no benefit to doing extra work to support different layout just for Chrome’s relocations. Hence switch the crazylinker to share RELROs across renderer/utility and browser processes. This should save ~2 MiB RAM (private dirty) on non-lowend devices. The low-end devices are sharing RELROs since long ago, so this change just removes code for not-sharing RELROs. Bug: 981599 Change-Id: I96225be9c3dad3df0c0e3d90f66fec3db364750d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1694101 Commit-Queue: Egor Pasko <pasko@chromium.org> Reviewed-by:
Richard Coles <torne@chromium.org> Reviewed-by:
Andrew Grieve <agrieve@chromium.org> Reviewed-by:
Benoit L <lizeb@chromium.org> Cr-Commit-Position: refs/heads/master@{#676394}
e38f7b7c