VirtualBox

source: vbox/trunk/src/VBox/HostDrivers/Support/darwin/SUPR3HardenedEntitlements.plist@ 98103

最後變更 在這個檔案從98103是 97191,由 vboxsync 提交於 2 年 前

Support/darwin/SUPR3HardenedEntitlements.plist: Need to have the com.apple.security.device.audio-input and com.apple.security.device.camera entitlements in the non VM process list as well or TCC crashes the VM process as soon as it requests any of these entitlements because it looks up the primary bundle identifier

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.8 KB
 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3<plist version="1.0">
4<dict>
5 <!-- <key>com.apple.security.cs.allow-jit</key> <true/> -->
6 <!-- <key>com.apple.security.cs.allow-unsigned-executable-memory</key> <true/> -->
7 <!--
8 The following two are required here even though they apply only to the VM
9 process. The issue is that TCC is looking up the primary bundle for these entitlements
10 and crashes the VM process if the entitlements are not here even though they are used
11 in the VM process only. This is not documented anywhere by Apple.
12 From Console.app when these are missing:
13
14 tccd: [com.apple.TCC:access] Prompting policy for hardened runtime; service:
15 kTCCServiceMicrophone requires entitlement com.apple.security.device.audio-input but it is missing for
16 RESP:{
17 ID: org.virtualbox.app.VirtualBox,
18 PID[17253],
19 auid: 501,
20 euid: 501,
21 responsible path: '/Applications/VirtualBox.app/Contents/MacOS/VirtualBox',
22 binary path: '/Applications/VirtualBox.app/Contents/MacOS/VirtualBox'
23 },
24 REQ:{
25 ID: org.virtualbox.app.VirtualBoxVM,
26 PID[17331],
27 auid: 501,
28 euid: 501,
29 binary path: '/Applications/VirtualBox.app/Contents/Resources/VirtualBoxVM.app/Contents/MacOS/VirtualBoxVM'
30 }
31 -->
32 <!-- For audio input -->
33 <key>com.apple.security.device.audio-input</key> <true/>
34 <!-- For emulated webcam -->
35 <key>com.apple.security.device.camera</key> <true/>
36</dict>
37</plist>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette