summaryrefslogtreecommitdiffstats
path: root/security/mac/hardenedruntime/v2/developer/browser.xml
blob: 33f520143e301eab19a7b0806fb51a6210d63f1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!--
    Entitlements to apply to the main browser process executable during
    codesigning of developer builds.
-->
<plist version="1.0">
  <dict>
    <!-- Firefox needs to create executable pages without MAP_JIT on x64 -->
    <key>com.apple.security.cs.allow-unsigned-executable-memory</key><true/>

    <!-- Firefox needs to create executable pages with MAP_JIT on aarch64 -->
    <key>com.apple.security.cs.allow-jit</key><true/>

    <!-- For dev builds only, allow loading third party libraries as a
         workaround enabling self-signed builds to launch. -->
    <key>com.apple.security.cs.disable-library-validation</key><true/>

    <!-- Allow dyld environment variables for gtests and debugging -->
    <key>com.apple.security.cs.allow-dyld-environment-variables</key><true/>

    <!-- Allow debuggers to attach to running executables -->
    <key>com.apple.security.get-task-allow</key><true/>

    <!-- Firefox needs to access the microphone on sites the user allows -->
    <key>com.apple.security.device.audio-input</key><true/>

    <!-- Firefox needs to access the camera on sites the user allows -->
    <key>com.apple.security.device.camera</key><true/>

    <!-- Firefox needs to access the location on sites the user allows -->
    <key>com.apple.security.personal-information.location</key><true/>

    <!-- For SmartCardServices(7) -->
    <key>com.apple.security.smartcard</key><true/>
  </dict>
</plist>