gecko-dev/browser
Toshihito Kikuchi 1cc025cecd Bug 1578895 - Compare NT paths if NtOpenFile failed with STATUS_OBJECT_PATH_NOT_FOUND. r=aklotz
We compare two file ids to check the current process is launched from the same
executable.  However, our telemetry showed a number of Win7 users failed to open
a file handle of the parent process with STATUS_OBJECT_PATH_NOT_FOUND even
though we opened a process handle and retrieved a module path of the parent
process successfully.  We don't have data to explain how this happens or why
this happens only on Win7, Win10 10240, and 10586.

To mitigate this situation, this patch introduces a logic to compare NT path
strings.  The benefit from doing this is 1) we don't have to open a file handle
of a parent process executable and 2) when we get an NT path, a network drive
or a symbolic link is already solved.

This new logic is much faster, but we still compare file ids on the first
attempt to minimize the impact.  We fall back to the new logic only if we
detect the STATUS_OBJECT_PATH_NOT_FOUND failure.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 17:59:42 +00:00
..
actors Bug 1553384, update letterboxing to be fission compatible now that findbar isn't using the message manager. Add a findbar open/close test for letterboxing, r=mconley 2019-09-18 09:33:52 +00:00
app Bug 1578895 - Compare NT paths if NtOpenFile failed with STATUS_OBJECT_PATH_NOT_FOUND. r=aklotz 2019-09-23 17:59:42 +00:00
base Bug 1578265 - Remove security.ui.identitypopup event telemetry. r=nhnt11 2019-09-23 12:26:03 +00:00
branding Bug 1581204 - Remove unused DTDs from browser, part2. r=mossop 2019-09-16 19:42:13 +00:00
components Bug 1581545 - Make New Tab docs reference bug to enable mach test, r=Mardak 2019-09-23 15:05:36 +00:00
config Bug 1580899 - Remove MOZ_PGO from mozconfigs; r=glandium 2019-09-18 18:29:00 +00:00
docs Bug 1578938 - Correctly move the urlbar documentation up a folder. r=ahal 2019-09-05 13:28:23 +00:00
extensions Bug 1582724 - Update pdf.js to version 2.3.183. r=bdahl 2019-09-23 17:07:39 +00:00
fonts
fxr Bug 1570120 - Create FxR HTML UI with navigation r=Gijs 2019-09-05 19:25:42 +00:00
installer Bug 1581002 - pass -first-startup flag to Firefox from stub and normal intallers r=mhowell 2019-09-13 15:12:56 +00:00
locales Bug 1583171 - Add new locales (ca-valencia, tl, trs) to shipped-locales r=Pike 2019-09-23 11:50:13 +00:00
modules Bug 1553804: Part 5 - Fix callers which create chrome windows with content openers. r=nika 2019-09-20 04:43:55 +00:00
themes Bug 1572212 - Add sync side button back r=eoger,markh 2019-09-20 17:01:06 +00:00
tools/mozscreenshots Bug 1579420 - Fix remaining ESLint no-async-promise-executor issues in browser/ and toolkit/. r=mossop 2019-09-16 17:26:58 +00:00
.eslintrc.js
app.mozbuild
build.mk
confvars.sh
defs.mk
l10n-registry.manifest
LICENSE
Makefile.in
moz.build
moz.configure