summaryrefslogtreecommitdiffstats
path: root/security/mac/hardenedruntime/production.entitlements.xml
diff options
context:
space:
mode:
Diffstat (limited to 'security/mac/hardenedruntime/production.entitlements.xml')
-rw-r--r--security/mac/hardenedruntime/production.entitlements.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/security/mac/hardenedruntime/production.entitlements.xml b/security/mac/hardenedruntime/production.entitlements.xml
new file mode 100644
index 0000000000..81aac9a450
--- /dev/null
+++ b/security/mac/hardenedruntime/production.entitlements.xml
@@ -0,0 +1,26 @@
+<?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 during codesigning of production builds.
+-->
+<plist version="1.0">
+ <dict>
+ <!-- Firefox needs to create executable pages (without MAP_JIT) -->
+ <key>com.apple.security.cs.allow-unsigned-executable-memory</key><true/>
+
+ <!-- Allow loading third party libraries. Needed for Flash and CDMs -->
+ <key>com.apple.security.cs.disable-library-validation</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>