author Rob Lemley <>
Fri, 11 Oct 2019 00:00:17 -0400
changeset 37134 8f5ce14d70f4ad8d2b22624f2d5e178790e2ca68
child 37206 f72d9fcf281ea6f25557e6be94e63151d311fb5c
permissions -rw-r--r--
Bug 1586617 - create macOS entitlements.xml specific to Thunderbird requirements. r=darktrojan Thunderbird has been using Firefox's entitlements files since the Apple's hardened runtime became a necessity with notarization. However, Thunderbird cannot access macOS's addressbook for contacts when running macOS Mojave or Catalina, necessitating this change.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
     Entitlements to apply to the .app bundle and all executable files
     contained within it during codesigning of production channel builds that
     will be notarized. These entitlements enable hardened runtime protections
     to the extent possible for Thunderbird. Some supporting binaries within the
     bundle could use more restrictive entitlements, but they are launched by
     the main Thunderbird process and therefore inherit the parent process
     This file is based on the production.entitlements.xml file used for Firefox.
<plist version="1.0">
    <!-- Thunderbird does not use MAP_JIT for executable mappings -->

    <!-- Thunderbird needs to create executable pages (without MAP_JIT) -->

    <!-- Code paged in from disk should match the signature at page in-time -->

    <!-- Allow loading third party libraries. Possibly needed by some legacy extensions.  -->

    <!-- Allow dyld environment variables. Needed because Thunderbird uses
         dyld variables to load libaries from within the .app bundle. -->

    <!-- Don't allow debugging of the executable. Debuggers will be prevented
         from attaching to running executables. Notarization does not permit
         access to get-task-allow (as documented by Apple) so this must be
         disabled on notarized builds. -->

    <!-- Thunderbird needs to access the microphone on sites the user allows -->

    <!-- Thunderbird needs to access the camera on sites the user allows -->

    <!-- Thunderbird needs to access the location on sites the user allows -->

    <!-- Thunderbird uses the macOS addressbook for contacts storage. -->

    <!-- Allow Thunderbird to send Apple events to other applications. Needed
         for native messaging webextension helper applications launched by
         Thunderbird which rely on Apple Events to signal other processes. -->