VirtualBox

Changeset 97191 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Oct 18, 2022 9:35:22 AM (2 years ago)
Author:
vboxsync
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/darwin/SUPR3HardenedEntitlements.plist

    r88977 r97191  
    55    <!-- <key>com.apple.security.cs.allow-jit</key>                          <true/> -->
    66    <!-- <key>com.apple.security.cs.allow-unsigned-executable-memory</key>   <true/> -->
    7     <!-- <key>com.apple.security.device.audio-input</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/>
    836</dict>
    937</plist>
Note: See TracChangeset for help on using the changeset viewer.

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