Skip to content
Snippets Groups Projects
  1. May 10, 2023
  2. Jun 03, 2022
    • Haik Aftandilian's avatar
      Bug 1770484 - Make Mac processes not depend on DYLD_LIBRARY_PATH to load... · 972716e6
      Haik Aftandilian authored
      Bug 1770484 - Make Mac processes not depend on DYLD_LIBRARY_PATH to load libraries r=glandium,gsvelto,mac-reviewers,necko-reviewers,dragana,spohl, a=dmeehan
      
      Change XUL and other dylibs to be built with an @rpath/<dylib> install name (LC_ID_DYLIB) instead of @executable_path/<dylib>.
      
      Change executables to be built with an @rpath dyld search path set to @executable_path by default so that @rpath/<dylib> dylibs in the same directory can be resolved. For executables not in the same directory as @rpath dylibs, such as plugin-container, set a relative @rpath such as @executable_path/../../../.
      
      Previously, dylib install names were set as @executable_path/<dylib> allowing them to be resolved by dyld for the loading executable if the executable resided in the same directory as the dylib. For executables not in the same directory as the dylibs, dyld resolved these dylibs using DYLD_LIBRARY_PATH set before launching the process by Firefox code. With this change, loading does not rely on DYLD environment variables. Instead, dylibs have an install name set as @rpath/<dylib> and each executable loading a dylib has its @rpath set at compile-time to refer to dylib directory.
      
      Differential Revision: https://phabricator.services.mozilla.com/D147360
      972716e6
  3. Jan 28, 2022
    • Gabriele Svelto's avatar
      Bug 1678152 - Catch all stack overflows on Linux r=jld · ff9bbb3d
      Gabriele Svelto authored
      This patch adds a library that contains an interposer function for
      pthread_create(). The interposer will setup an alternate signal stack to
      handle crashes - thus enabling us to catch stack overflows - and then call the
      real pthread_create() function. Since the interposer needs to appear in the
      linker's search order before libpthread we manually link it into firefox,
      plugin-container and xpcshell's executables ASAP.
      
      Differential Revision: https://phabricator.services.mozilla.com/D132736
      ff9bbb3d
  4. Dec 30, 2021
    • Mike Hommey's avatar
      Bug 1747756 - Move Windows system libraries from LIBS to moz.build.... · 1acc37c7
      Mike Hommey authored
      Bug 1747756 - Move Windows system libraries from LIBS to moz.build. r=firefox-build-system-reviewers,mhentges
      
      While mingw builds don't require user32 and advapi32 explicitly, it doesn't
      hurt for them to be there (and they're required for clang-cl build).
      Likewise, while clang-builds don't require uuid and userenv explicitly
      because they're pulled in via #pragmas in the source code, mingw doesn't
      support those #pragmas and needs them explicitly, which doesn't hurt the
      clang-cl builds.
      
      Differential Revision: https://phabricator.services.mozilla.com/D134737
      1acc37c7
  5. Dec 29, 2021
  6. Dec 23, 2021
    • Mike Hommey's avatar
      Bug 1747228 - Don't link mozsandbox into plugin-container or firefox.... · 004902ce
      Mike Hommey authored
      Bug 1747228 - Don't link mozsandbox into plugin-container or firefox. r=firefox-build-system-reviewers,andi
      
      In optimized builds, it's stripped out at link time, because it's been
      unused since bug 1505445 moved the sandbox initialization into libxul.
      But in non-optimized builds, it's not, and that pulls in CoreFoundation
      symbols, but we're not linking plugin-container against CoreFoundation
      (we do link firefox to it for other uses).
      
      This wasn't a problem before bug 1747160 because we were linking
      everything against CoreFoundation (indirectly).
      
      Differential Revision: https://phabricator.services.mozilla.com/D134587
      004902ce
  7. Jul 19, 2021
  8. Feb 23, 2021
    • Aaron Klotz's avatar
      Bug 1690384: Propagate error information up through XPCOMGlueLoad and GetBootstrap; r=glandium · 004362bf
      Aaron Klotz authored
      We know that some GV installations (particularly but not exlcusively Focus) are
      failing to load `libxul.so` during early Gecko bootstrapping. Unfortunately
      a boolean pass/fail result is not giving us sufficient information to be able to
      properly troubleshoot this problem.
      
      This patch adds `mozilla::Result`-based return values to `XPCOMGlueLoad` and
      `GetBootstrap` in an effort to produce more actionable information about these
      failures.
      
      We include either a `nsresult` or, if the failure is rooted in a dynamic linker
      failure, appropriate platform-specific error information:
      
      * On Unix-based platforms, a `UniqueFreePtr<char>` containing the string from `dlerror(3)`;
      * On Windows, the Win32 `DWORD` error code from `GetLastError()`.
      
      For non-Android platforms, I updated them to handle the new return type, but
      otherwise did not make any further changes.
      
      For Android, we include the error information in the message string that we pass
      into the Java `Exception` that is subsequently thrown.
      
      Differential Revision: https://phabricator.services.mozilla.com/D104263
      004362bf
  9. Nov 05, 2020
  10. Oct 26, 2020
    • Ricky Stewart's avatar
      Bug 1654103: Standardize on Black for Python code in `mozilla-central`. · 02a7b4eb
      Ricky Stewart authored
      Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
      
      To produce this patch I did all of the following:
      
      1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
      
      2. Run ./mach lint --linter black --fix
      
      3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
      
      4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
      
      5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
      
      # ignore-this-changeset
      
      Differential Revision: https://phabricator.services.mozilla.com/D94045
      02a7b4eb
  11. Oct 24, 2020
    • Bogdan Tara's avatar
      Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for... · da1098d4
      Bogdan Tara authored
      Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
      
      Backed out changeset ff3fb0b4a512 (bug 1672023)
      Backed out changeset e7834b600201 (bug 1654103)
      Backed out changeset 807893ca8069 (bug 1518999)
      Backed out changeset 13e6b92440e9 (bug 1518999)
      Backed out changeset 8b2ac5a6c98a (bug 1518999)
      Backed out changeset 575748295752 (bug 1518999)
      Backed out changeset 65f07ce7b39b (bug 1518999)
      Backed out changeset 4bb80556158d (bug 1518999)
      Backed out changeset 8ac8461d7bd7 (bug 1518999)
      Backed out changeset e8ba13ee17f5 (bug 1518999)
      da1098d4
  12. Oct 23, 2020
    • Ricky Stewart's avatar
      Bug 1654103: Standardize on Black for Python code in `mozilla-central`.... · c0cea3b0
      Ricky Stewart authored
      Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
      
      Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
      
      To produce this patch I did all of the following:
      
      1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
      
      2. Run ./mach lint --linter black --fix
      
      3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
      
      4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
      
      5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
      
      # ignore-this-changeset
      
      Differential Revision: https://phabricator.services.mozilla.com/D94045
      c0cea3b0
  13. Oct 22, 2020
  14. Oct 21, 2020
    • Ricky Stewart's avatar
      Bug 1654103: Standardize on Black for Python code in `mozilla-central`.... · 50762dac
      Ricky Stewart authored
      Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
      
      Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
      
      To produce this patch I did all of the following:
      
      1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
      
      2. Run ./mach lint --linter black --fix
      
      3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
      
      4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
      
      # ignore-this-changeset
      
      Differential Revision: https://phabricator.services.mozilla.com/D94045
      50762dac
  15. Jun 11, 2020
  16. Apr 24, 2020
  17. Apr 08, 2020
  18. Apr 07, 2020
  19. Mar 06, 2020
  20. Jan 09, 2020
  21. Dec 05, 2019
  22. Dec 03, 2019
  23. Sep 23, 2019
    • Aaron Klotz's avatar
      Bug 1542830: Part 4 - Modify mozglue to use new untrusted modules interfaces; r=mhowell · fccd6eb9
      Aaron Klotz authored
      * At this point our DLL blocking infra is complicated enough that I decided to
        bite the bullet and move all of this code out of `mozglue/build` and into its
        own subdirectory, `mozglue/dllservices`.
      * We delete the original `UntrustedDllsHandler` code which is now obsolete.
      * We implement mozglue's `LoaderObserver`:
      ** When this observer registers itself with the launcher process API, it
         receives a vector containing all saved records of loaded DLLs that happened
         until that moment.
      ** This code handles profiler labels and stackwalking suppression.
      ** Once a load has completed, we either pass the load on to XUL for further
         processing, or save it for later if XUL is not initialized yet.
      * mozglue has its own `ModuleLoadFrame` implementation for the legacy blocklist.
      * `DllServicesBase` is updated to support the new interfaces.
      * We implement `FallbackLoaderAPI` for `plugin-container`, `xpcshell`, and
        any other non-`firefox` processes that do not have a launcher process
        providing a loader API.
      * We add some wide to UTF8 conversion functions.
      
      Depends on D43157
      
      Differential Revision: https://phabricator.services.mozilla.com/D43158
      
      --HG--
      rename : mozglue/build/Authenticode.cpp => mozglue/dllservices/Authenticode.cpp
      rename : mozglue/build/Authenticode.h => mozglue/dllservices/Authenticode.h
      rename : browser/app/winlauncher/freestanding/LoaderAPIInterfaces.h => mozglue/dllservices/LoaderAPIInterfaces.h
      rename : browser/app/winlauncher/freestanding/ModuleLoadInfo.h => mozglue/dllservices/ModuleLoadInfo.h
      rename : browser/app/winlauncher/NtLoaderAPI.h => mozglue/dllservices/NtLoaderAPI.h
      rename : mozglue/build/WindowsDllBlocklist.cpp => mozglue/dllservices/WindowsDllBlocklist.cpp
      rename : mozglue/build/WindowsDllBlocklist.h => mozglue/dllservices/WindowsDllBlocklist.h
      rename : mozglue/build/WindowsDllBlocklistCommon.h => mozglue/dllservices/WindowsDllBlocklistCommon.h
      rename : mozglue/build/WindowsDllBlocklistDefs.in => mozglue/dllservices/WindowsDllBlocklistDefs.in
      rename : mozglue/build/WindowsDllServices.h => mozglue/dllservices/WindowsDllServices.h
      rename : mozglue/build/gen_dll_blocklist_defs.py => mozglue/dllservices/gen_dll_blocklist_defs.py
      rename : mozglue/build/moz.build => mozglue/dllservices/moz.build
      rename : mozglue/build/MozglueUtils.h => mozglue/misc/WinUtils.h
      extra : moz-landing-system : lando
      fccd6eb9
  24. Sep 21, 2019
    • Brindusan Cristian's avatar
      Backed out 8 changesets (bug 1542830) for causing Nightly bustages. a=backout · 125c934a
      Brindusan Cristian authored
      Backed out changeset 6fcb417f7ff4 (bug 1542830)
      Backed out changeset 1aa253e6604a (bug 1542830)
      Backed out changeset 73ec288886cd (bug 1542830)
      Backed out changeset 84b903e60dc9 (bug 1542830)
      Backed out changeset 8e2da9ff5f5a (bug 1542830)
      Backed out changeset c4e547a6a039 (bug 1542830)
      Backed out changeset 919f1af7c135 (bug 1542830)
      Backed out changeset da7e775c4051 (bug 1542830)
      
      --HG--
      rename : browser/app/winlauncher/freestanding/DllBlocklist.cpp => browser/app/winlauncher/DllBlocklistWin.cpp
      rename : browser/app/winlauncher/freestanding/DllBlocklist.h => browser/app/winlauncher/DllBlocklistWin.h
      rename : mozglue/dllservices/Authenticode.cpp => mozglue/build/Authenticode.cpp
      rename : mozglue/dllservices/Authenticode.h => mozglue/build/Authenticode.h
      rename : mozglue/misc/WinUtils.h => mozglue/build/MozglueUtils.h
      rename : mozglue/dllservices/WindowsDllBlocklist.cpp => mozglue/build/WindowsDllBlocklist.cpp
      rename : mozglue/dllservices/WindowsDllBlocklist.h => mozglue/build/WindowsDllBlocklist.h
      rename : mozglue/dllservices/WindowsDllBlocklistCommon.h => mozglue/build/WindowsDllBlocklistCommon.h
      rename : mozglue/dllservices/WindowsDllBlocklistDefs.in => mozglue/build/WindowsDllBlocklistDefs.in
      rename : mozglue/dllservices/WindowsDllServices.h => mozglue/build/WindowsDllServices.h
      rename : mozglue/dllservices/gen_dll_blocklist_defs.py => mozglue/build/gen_dll_blocklist_defs.py
      rename : toolkit/components/telemetry/docs/data/third-party-modules-ping.rst => toolkit/components/telemetry/docs/data/untrusted-modules-ping.rst
      rename : toolkit/components/telemetry/tests/unit/test_ThirdPartyModulesPing.js => toolkit/components/telemetry/tests/unit/test_UntrustedModulesPing.js
      rename : toolkit/xre/UntrustedModulesProcessor.cpp => toolkit/xre/ModuleEvaluator_windows.cpp
      rename : toolkit/xre/UntrustedModulesProcessor.h => toolkit/xre/ModuleEvaluator_windows.h
      rename : toolkit/xre/ModuleVersionInfo.cpp => toolkit/xre/ModuleVersionInfo_windows.cpp
      rename : toolkit/xre/ModuleVersionInfo.h => toolkit/xre/ModuleVersionInfo_windows.h
      125c934a
  25. Sep 20, 2019
    • Andreea Pavel's avatar
      Backed out 8 changesets (bug 1542830) for gecko decision failure on a CLOSED TREE · 31d9596a
      Andreea Pavel authored
      DONTBUILD
      
      Backed out changeset 4f72161be496 (bug 1542830)
      Backed out changeset 7ee12138946d (bug 1542830)
      Backed out changeset 9e90ee4981c6 (bug 1542830)
      Backed out changeset 363039c98534 (bug 1542830)
      Backed out changeset 70ffff30551a (bug 1542830)
      Backed out changeset c25b7bf354d9 (bug 1542830)
      Backed out changeset d156dc595b69 (bug 1542830)
      Backed out changeset 9f5dbd1b2959 (bug 1542830)
      
      --HG--
      rename : browser/app/winlauncher/freestanding/DllBlocklist.cpp => browser/app/winlauncher/DllBlocklistWin.cpp
      rename : browser/app/winlauncher/freestanding/DllBlocklist.h => browser/app/winlauncher/DllBlocklistWin.h
      rename : mozglue/dllservices/Authenticode.cpp => mozglue/build/Authenticode.cpp
      rename : mozglue/dllservices/Authenticode.h => mozglue/build/Authenticode.h
      rename : mozglue/misc/WinUtils.h => mozglue/build/MozglueUtils.h
      rename : mozglue/dllservices/WindowsDllBlocklist.cpp => mozglue/build/WindowsDllBlocklist.cpp
      rename : mozglue/dllservices/WindowsDllBlocklist.h => mozglue/build/WindowsDllBlocklist.h
      rename : mozglue/dllservices/WindowsDllBlocklistCommon.h => mozglue/build/WindowsDllBlocklistCommon.h
      rename : mozglue/dllservices/WindowsDllBlocklistDefs.in => mozglue/build/WindowsDllBlocklistDefs.in
      rename : mozglue/dllservices/WindowsDllServices.h => mozglue/build/WindowsDllServices.h
      rename : mozglue/dllservices/gen_dll_blocklist_defs.py => mozglue/build/gen_dll_blocklist_defs.py
      rename : toolkit/components/telemetry/docs/data/third-party-modules-ping.rst => toolkit/components/telemetry/docs/data/untrusted-modules-ping.rst
      rename : toolkit/components/telemetry/tests/unit/test_ThirdPartyModulesPing.js => toolkit/components/telemetry/tests/unit/test_UntrustedModulesPing.js
      rename : toolkit/xre/UntrustedModulesProcessor.cpp => toolkit/xre/ModuleEvaluator_windows.cpp
      rename : toolkit/xre/UntrustedModulesProcessor.h => toolkit/xre/ModuleEvaluator_windows.h
      rename : toolkit/xre/ModuleVersionInfo.cpp => toolkit/xre/ModuleVersionInfo_windows.cpp
      rename : toolkit/xre/ModuleVersionInfo.h => toolkit/xre/ModuleVersionInfo_windows.h
      31d9596a
    • Aaron Klotz's avatar
      Bug 1542830: Part 4 - Modify mozglue to use new untrusted modules interfaces; r=mhowell · 6c7b43b9
      Aaron Klotz authored
      * At this point our DLL blocking infra is complicated enough that I decided to
        bite the bullet and move all of this code out of `mozglue/build` and into its
        own subdirectory, `mozglue/dllservices`.
      * We delete the original `UntrustedDllsHandler` code which is now obsolete.
      * We implement mozglue's `LoaderObserver`:
      ** When this observer registers itself with the launcher process API, it
         receives a vector containing all saved records of loaded DLLs that happened
         until that moment.
      ** This code handles profiler labels and stackwalking suppression.
      ** Once a load has completed, we either pass the load on to XUL for further
         processing, or save it for later if XUL is not initialized yet.
      * mozglue has its own `ModuleLoadFrame` implementation for the legacy blocklist.
      * `DllServicesBase` is updated to support the new interfaces.
      * We implement `FallbackLoaderAPI` for `plugin-container`, `xpcshell`, and
        any other non-`firefox` processes that do not have a launcher process
        providing a loader API.
      * We add some wide to UTF8 conversion functions.
      
      Differential Revision: https://phabricator.services.mozilla.com/D43158
      
      --HG--
      rename : mozglue/build/Authenticode.cpp => mozglue/dllservices/Authenticode.cpp
      rename : mozglue/build/Authenticode.h => mozglue/dllservices/Authenticode.h
      rename : mozglue/build/WindowsDllBlocklist.cpp => mozglue/dllservices/WindowsDllBlocklist.cpp
      rename : mozglue/build/WindowsDllBlocklist.h => mozglue/dllservices/WindowsDllBlocklist.h
      rename : mozglue/build/WindowsDllBlocklistCommon.h => mozglue/dllservices/WindowsDllBlocklistCommon.h
      rename : mozglue/build/WindowsDllBlocklistDefs.in => mozglue/dllservices/WindowsDllBlocklistDefs.in
      rename : mozglue/build/WindowsDllServices.h => mozglue/dllservices/WindowsDllServices.h
      rename : mozglue/build/gen_dll_blocklist_defs.py => mozglue/dllservices/gen_dll_blocklist_defs.py
      rename : mozglue/build/moz.build => mozglue/dllservices/moz.build
      rename : mozglue/build/MozglueUtils.h => mozglue/misc/WinUtils.h
      extra : moz-landing-system : lando
      6c7b43b9
    • Aaron Klotz's avatar
      Bug 1542830: Part 4 - Modify mozglue to use new untrusted modules interfaces; r=mhowell · 8d1be668
      Aaron Klotz authored
      * At this point our DLL blocking infra is complicated enough that I decided to
        bite the bullet and move all of this code out of `mozglue/build` and into its
        own subdirectory, `mozglue/dllservices`.
      * We delete the original `UntrustedDllsHandler` code which is now obsolete.
      * We implement mozglue's `LoaderObserver`:
      ** When this observer registers itself with the launcher process API, it
         receives a vector containing all saved records of loaded DLLs that happened
         until that moment.
      ** This code handles profiler labels and stackwalking suppression.
      ** Once a load has completed, we either pass the load on to XUL for further
         processing, or save it for later if XUL is not initialized yet.
      * mozglue has its own `ModuleLoadFrame` implementation for the legacy blocklist.
      * `DllServicesBase` is updated to support the new interfaces.
      * We implement `FallbackLoaderAPI` for `plugin-container`, `xpcshell`, and
        any other non-`firefox` processes that do not have a launcher process
        providing a loader API.
      * We add some wide to UTF8 conversion functions.
      
      Differential Revision: https://phabricator.services.mozilla.com/D43158
      
      --HG--
      rename : mozglue/build/Authenticode.cpp => mozglue/dllservices/Authenticode.cpp
      rename : mozglue/build/Authenticode.h => mozglue/dllservices/Authenticode.h
      rename : mozglue/build/WindowsDllBlocklist.cpp => mozglue/dllservices/WindowsDllBlocklist.cpp
      rename : mozglue/build/WindowsDllBlocklist.h => mozglue/dllservices/WindowsDllBlocklist.h
      rename : mozglue/build/WindowsDllBlocklistCommon.h => mozglue/dllservices/WindowsDllBlocklistCommon.h
      rename : mozglue/build/WindowsDllBlocklistDefs.in => mozglue/dllservices/WindowsDllBlocklistDefs.in
      rename : mozglue/build/WindowsDllServices.h => mozglue/dllservices/WindowsDllServices.h
      rename : mozglue/build/gen_dll_blocklist_defs.py => mozglue/dllservices/gen_dll_blocklist_defs.py
      rename : mozglue/build/moz.build => mozglue/dllservices/moz.build
      rename : mozglue/build/MozglueUtils.h => mozglue/misc/WinUtils.h
      extra : moz-landing-system : lando
      8d1be668
    • Ciure Andrei's avatar
      Backed out 8 changesets (bug 1542830) for causing spidermonkey bustages CLOSED TREE · 7db4ad5d
      Ciure Andrei authored
      Backed out changeset b9f7fc8d0172 (bug 1542830)
      Backed out changeset b85f58fd5bbd (bug 1542830)
      Backed out changeset 0a9169ab2623 (bug 1542830)
      Backed out changeset 39a7c05d54ef (bug 1542830)
      Backed out changeset 7a3cbd2f59f0 (bug 1542830)
      Backed out changeset 268530552281 (bug 1542830)
      Backed out changeset df658ffb8599 (bug 1542830)
      Backed out changeset e7bef6486a38 (bug 1542830)
      
      --HG--
      rename : browser/app/winlauncher/freestanding/DllBlocklist.cpp => browser/app/winlauncher/DllBlocklistWin.cpp
      rename : browser/app/winlauncher/freestanding/DllBlocklist.h => browser/app/winlauncher/DllBlocklistWin.h
      rename : mozglue/dllservices/Authenticode.cpp => mozglue/build/Authenticode.cpp
      rename : mozglue/dllservices/Authenticode.h => mozglue/build/Authenticode.h
      rename : mozglue/misc/WinUtils.h => mozglue/build/MozglueUtils.h
      rename : mozglue/dllservices/WindowsDllBlocklist.cpp => mozglue/build/WindowsDllBlocklist.cpp
      rename : mozglue/dllservices/WindowsDllBlocklist.h => mozglue/build/WindowsDllBlocklist.h
      rename : mozglue/dllservices/WindowsDllBlocklistCommon.h => mozglue/build/WindowsDllBlocklistCommon.h
      rename : mozglue/dllservices/WindowsDllBlocklistDefs.in => mozglue/build/WindowsDllBlocklistDefs.in
      rename : mozglue/dllservices/WindowsDllServices.h => mozglue/build/WindowsDllServices.h
      rename : mozglue/dllservices/gen_dll_blocklist_defs.py => mozglue/build/gen_dll_blocklist_defs.py
      rename : toolkit/components/telemetry/docs/data/third-party-modules-ping.rst => toolkit/components/telemetry/docs/data/untrusted-modules-ping.rst
      rename : toolkit/components/telemetry/tests/unit/test_ThirdPartyModulesPing.js => toolkit/components/telemetry/tests/unit/test_UntrustedModulesPing.js
      rename : toolkit/xre/UntrustedModulesProcessor.cpp => toolkit/xre/ModuleEvaluator_windows.cpp
      rename : toolkit/xre/UntrustedModulesProcessor.h => toolkit/xre/ModuleEvaluator_windows.h
      rename : toolkit/xre/ModuleVersionInfo.cpp => toolkit/xre/ModuleVersionInfo_windows.cpp
      rename : toolkit/xre/ModuleVersionInfo.h => toolkit/xre/ModuleVersionInfo_windows.h
      7db4ad5d
    • Aaron Klotz's avatar
      Bug 1542830: Part 4 - Modify mozglue to use new untrusted modules interfaces; r=mhowell · 12843d81
      Aaron Klotz authored
      * At this point our DLL blocking infra is complicated enough that I decided to
        bite the bullet and move all of this code out of `mozglue/build` and into its
        own subdirectory, `mozglue/dllservices`.
      * We delete the original `UntrustedDllsHandler` code which is now obsolete.
      * We implement mozglue's `LoaderObserver`:
      ** When this observer registers itself with the launcher process API, it
         receives a vector containing all saved records of loaded DLLs that happened
         until that moment.
      ** This code handles profiler labels and stackwalking suppression.
      ** Once a load has completed, we either pass the load on to XUL for further
         processing, or save it for later if XUL is not initialized yet.
      * mozglue has its own `ModuleLoadFrame` implementation for the legacy blocklist.
      * `DllServicesBase` is updated to support the new interfaces.
      * We implement `FallbackLoaderAPI` for `plugin-container`, `xpcshell`, and
        any other non-`firefox` processes that do not have a launcher process
        providing a loader API.
      * We add some wide to UTF8 conversion functions.
      
      Differential Revision: https://phabricator.services.mozilla.com/D43158
      
      --HG--
      rename : mozglue/build/Authenticode.cpp => mozglue/dllservices/Authenticode.cpp
      rename : mozglue/build/Authenticode.h => mozglue/dllservices/Authenticode.h
      rename : mozglue/build/WindowsDllBlocklist.cpp => mozglue/dllservices/WindowsDllBlocklist.cpp
      rename : mozglue/build/WindowsDllBlocklist.h => mozglue/dllservices/WindowsDllBlocklist.h
      rename : mozglue/build/WindowsDllBlocklistCommon.h => mozglue/dllservices/WindowsDllBlocklistCommon.h
      rename : mozglue/build/WindowsDllBlocklistDefs.in => mozglue/dllservices/WindowsDllBlocklistDefs.in
      rename : mozglue/build/WindowsDllServices.h => mozglue/dllservices/WindowsDllServices.h
      rename : mozglue/build/gen_dll_blocklist_defs.py => mozglue/dllservices/gen_dll_blocklist_defs.py
      rename : mozglue/build/moz.build => mozglue/dllservices/moz.build
      rename : mozglue/build/MozglueUtils.h => mozglue/misc/WinUtils.h
      extra : moz-landing-system : lando
      12843d81
  26. May 01, 2019
  27. Feb 14, 2019
    • Mike Hommey's avatar
      Bug 1512504 - Remove support for MSVC. r=froydnj · ef3ad686
      Mike Hommey authored
      Consequently, this removes:
      - MOZ_LIBPRIO, which is now always enabled.
      - non_msvc_compiler, which is now always true.
      - The cl.py wrapper, since it's not used anymore.
      - CL_INCLUDES_PREFIX, which was only used for the cl.py wrapper.
      - NONASCII, which was only there to ensure CL_INCLUDES_PREFIX still
        worked in non-ASCII cases.
      
      This however keeps a large part of detecting and configuring for MSVC,
      because we still do need it for at least headers, libraries, and midl.
      
      Depends on D19614
      
      Differential Revision: https://phabricator.services.mozilla.com/D19615
      
      --HG--
      extra : moz-landing-system : lando
      ef3ad686
  28. Nov 30, 2018
  29. Nov 08, 2018
    • Haik Aftandilian's avatar
      Bug 1505445 - [Mac] With sandbox early startup, start the sandbox after the... · b1a4ba8d
      Haik Aftandilian authored
      Bug 1505445 - [Mac] With sandbox early startup, start the sandbox after the port exchange r=Alex_Gaynor
      
      Don't start the sandbox until after the port exchange so the parent process does not have to wait longer in ContentParent::LaunchSubprocess() for the (expensive) sandbox_init_with_parameters call to complete in the child. Remove the policy rule allowing access to the parent port now that it is already open when the sandbox is initialized and therefore not needed.
      
      Differential Revision: https://phabricator.services.mozilla.com/D11186
      
      --HG--
      extra : moz-landing-system : lando
      b1a4ba8d
  30. Nov 30, 2018
Loading