summaryrefslogtreecommitdiffstats
path: root/src/VBox/HostDrivers/Support/darwin/SUPR3HardenedEntitlements.plist
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-11 08:17:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-11 08:17:27 +0000
commitf215e02bf85f68d3a6106c2a1f4f7f063f819064 (patch)
tree6bb5b92c046312c4e95ac2620b10ddf482d3fa8b /src/VBox/HostDrivers/Support/darwin/SUPR3HardenedEntitlements.plist
parentInitial commit. (diff)
downloadvirtualbox-f215e02bf85f68d3a6106c2a1f4f7f063f819064.tar.xz
virtualbox-f215e02bf85f68d3a6106c2a1f4f7f063f819064.zip
Adding upstream version 7.0.14-dfsg.upstream/7.0.14-dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/VBox/HostDrivers/Support/darwin/SUPR3HardenedEntitlements.plist')
-rw-r--r--src/VBox/HostDrivers/Support/darwin/SUPR3HardenedEntitlements.plist37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/VBox/HostDrivers/Support/darwin/SUPR3HardenedEntitlements.plist b/src/VBox/HostDrivers/Support/darwin/SUPR3HardenedEntitlements.plist
new file mode 100644
index 00000000..3587afb0
--- /dev/null
+++ b/src/VBox/HostDrivers/Support/darwin/SUPR3HardenedEntitlements.plist
@@ -0,0 +1,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">
+<plist version="1.0">
+<dict>
+ <!-- <key>com.apple.security.cs.allow-jit</key> <true/> -->
+ <!-- <key>com.apple.security.cs.allow-unsigned-executable-memory</key> <true/> -->
+ <!--
+ The following two are required here even though they apply only to the VM
+ process. The issue is that TCC is looking up the primary bundle for these entitlements
+ and crashes the VM process if the entitlements are not here even though they are used
+ in the VM process only. This is not documented anywhere by Apple.
+ From Console.app when these are missing:
+
+ tccd: [com.apple.TCC:access] Prompting policy for hardened runtime; service:
+ kTCCServiceMicrophone requires entitlement com.apple.security.device.audio-input but it is missing for
+ RESP:{
+ ID: org.virtualbox.app.VirtualBox,
+ PID[17253],
+ auid: 501,
+ euid: 501,
+ responsible path: '/Applications/VirtualBox.app/Contents/MacOS/VirtualBox',
+ binary path: '/Applications/VirtualBox.app/Contents/MacOS/VirtualBox'
+ },
+ REQ:{
+ ID: org.virtualbox.app.VirtualBoxVM,
+ PID[17331],
+ auid: 501,
+ euid: 501,
+ binary path: '/Applications/VirtualBox.app/Contents/Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM'
+ }
+ -->
+ <!-- For audio input -->
+ <key>com.apple.security.device.audio-input</key> <true/>
+ <!-- For emulated webcam -->
+ <key>com.apple.security.device.camera</key> <true/>
+</dict>
+</plist>