gecko-dev/modules/libjar
Doug Thayer c5939cab4c Bug 1595596 - Use MMAP_FAULT_HANDLER in StartupCache r=aklotz
Please double check that I am using this correctly. I believe we are
seeing the crash in the linked bug because we are not handling hardware
faults when reading from the memory mapped file. This patch just wraps
all accesses in the MMAP_FAULT_HANDLER_ macros.

Depends on D53042

Differential Revision: https://phabricator.services.mozilla.com/D53043

--HG--
rename : modules/libjar/MmapFaultHandler.cpp => mozglue/misc/MmapFaultHandler.cpp
rename : modules/libjar/MmapFaultHandler.h => mozglue/misc/MmapFaultHandler.h
extra : moz-landing-system : lando
2020-04-10 21:16:15 +00:00
..
test Bug 1583735 - Find out why accessing mmaped JAR file generates SIGBUS, r=gcp,aklotz 2019-10-23 19:06:55 +00:00
zipwriter Bug 1626456 - Remove stray nsAutoPtr.h includes. r=KrisWright 2020-04-03 21:05:46 +00:00
appnote.txt
components.conf
moz.build Bug 1595596 - Use MMAP_FAULT_HANDLER in StartupCache r=aklotz 2020-04-10 21:16:15 +00:00
nsIJARChannel.idl
nsIJARURI.idl
nsIZipReader.idl
nsJAR.cpp Bug 1616400 - Do not recreate the inner reader for nested omni.ja archives if the Omnijar already has it. r=aklotz 2020-03-06 20:35:53 +00:00
nsJAR.h Bug 1616400 - Do not recreate the inner reader for nested omni.ja archives if the Omnijar already has it. r=aklotz 2020-03-06 20:35:53 +00:00
nsJARChannel.cpp Bug 1620594 - Part 1: Rework NS_ReleaseOnMainThreadSystemGroup. r=nika 2020-04-07 15:16:23 +00:00
nsJARChannel.h Bug 1598497 - P2. Have the canceled attribute only if explicitly canceled. r=mayhemer. 2019-12-19 05:20:07 +00:00
nsJARInputStream.cpp Bug 1595596 - Use MMAP_FAULT_HANDLER in StartupCache r=aklotz 2020-04-10 21:16:15 +00:00
nsJARInputStream.h
nsJARProtocolHandler.cpp Bug 1626456 - Remove stray nsAutoPtr.h includes. r=KrisWright 2020-04-03 21:05:46 +00:00
nsJARProtocolHandler.h Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsJARURI.cpp Bug 1626456 - Remove stray nsAutoPtr.h includes. r=KrisWright 2020-04-03 21:05:46 +00:00
nsJARURI.h
nsZipArchive.cpp Bug 1595596 - Use MMAP_FAULT_HANDLER in StartupCache r=aklotz 2020-04-10 21:16:15 +00:00
nsZipArchive.h Bug 1618753 Remove nsAutoPtr usage from modules. r=KrisWright 2020-03-02 18:52:07 +00:00
zipstruct.h