DescriptionFix Linker.sInBrowserProcess to avoid false negatives
Linker.sInBrowserProcess can currently be incorrectly set to false in
the browser process if it uses shared RELROs and loading a library
fails. This problem is fixed by renaming Linker.initServiceProcess() to
Linker.enableSharedRelros() and factoring out common code shared by
Linker.disableSharedRelros() and Linker.enableSharedRelros() into a
separate method Linker.initServiceProcess(). Consequently,
LibraryLoader.loadAlreadyLocked() can call Linker.disableSharedRelros()
without setting Linker.sInBrowserProcess to false.
BUG=423699, 458056
Patch Set 1 #
Total comments: 1
Messages
Total messages: 8 (2 generated)
|