gpu-worker-accessory
Group: ⬆️ Updated
+48−1
| 1 | (allow iokit-get-properties | |
| 2 | (require-all | |
| 3 | + | (iokit-registry-entry-class "IOAcceleratorES") |
| 4 | (require-any | |
| 5 | (iokit-property "MetalPluginClassName") | |
| 6 | (iokit-property "MetalPluginName") | |
| 7 | ) | |
| 8 | − | (iokit-registry-entry-class "IOAcceleratorES") |
| 9 | + | ) |
| 10 | + | ) |
| 11 | + | (allow iokit-get-properties |
| 12 | + | (require-all |
| 13 | + | (iokit-property "DeviceProperties") |
| 14 | + | (require-any |
| 15 | + | (iokit-registry-entry-class "H11ANEIn") |
| 16 | + | (iokit-registry-entry-class "H1xANELoadBalancer") |
| 17 | + | ) |
| 18 | + | ) |
| 19 | + | ) |
| 20 | + | (allow iokit-get-properties |
| 21 | + | (require-all |
| 22 | + | (iokit-property "ane-type") |
| 23 | + | (require-any |
| 24 | + | (iokit-registry-entry-class "AppleARMIODevice") |
| 25 | + | (iokit-registry-entry-class "IOPlatformExpertDevice") |
| 26 | + | ) |
| 27 | ) | |
| 28 | ) | |
| 29 | ||
| 30 | + | (allow iokit-open-user-client |
| 31 | + | (require-all |
| 32 | + | (iokit-registry-entry-class "ANEClientHintsUserClient") |
| 33 | + | (%entitlement-is-bool-true "com.apple.private.ane.allow-set-client-hints") |
| 34 | + | ) |
| 35 | + | ) |
| 36 | (allow iokit-open-user-client | |
| 37 | (require-any | |
| 38 | (iokit-connection "IOGPU") | |
| 39 | ||
| 40 | (iokit-registry-entry-class "AGXCommandQueue") | |
| 41 | (iokit-registry-entry-class "AGXDevice") | |
| 42 | (iokit-registry-entry-class "AGXSharedUserClient") | |
| 43 | + | (iokit-registry-entry-class "AppleVirtIONeuralEngineDeviceUserClient") |
| 44 | + | (iokit-registry-entry-class "H11ANEInDirectPathClient") |
| 45 | + | (iokit-registry-entry-class "H1xANELoadBalancerDirectPathClient") |
| 46 | (iokit-registry-entry-class "IOAccelContext") | |
| 47 | (iokit-registry-entry-class "IOAccelContext2") | |
| 48 | (iokit-registry-entry-class "IOAccelDevice") | |
| 49 | ||
| 50 | ) | |
| 51 | ) | |
| 52 | ||
| 53 | + | (allow iokit-open-service |
| 54 | + | (require-any |
| 55 | + | (iokit-registry-entry-class "AppleVirtIONeuralEngineDevice") |
| 56 | + | (iokit-registry-entry-class "H11ANEIn") |
| 57 | + | (iokit-registry-entry-class "H1xANELoadBalancer") |
| 58 | + | ) |
| 59 | + | ) |
| 60 | + | |
| 61 | + | (allow iokit-set-properties |
| 62 | + | (require-all |
| 63 | + | (iokit-registry-entry-class "ANEClientHintsUserClient") |
| 64 | + | (%entitlement-is-bool-true "com.apple.private.ane.allow-set-client-hints") |
| 65 | + | (require-any |
| 66 | + | (iokit-property "ANEHintClientSessionStart") |
| 67 | + | (iokit-property "ANEHintClientSessionStop") |
| 68 | + | ) |
| 69 | + | ) |
| 70 | + | ) |
| 71 | + | |
| 72 | (allow isp-command-send) | |
| 73 | ||
| 74 | (deny job-creation) | |
| 75 | ||
| 76 | ||
| 77 | (allow mach-lookup | |
| 78 | (require-any | |
| 79 | + | (global-name "com.apple.appleneuralengine") |
| 80 | (global-name "com.apple.cvmsServ") | |
| 81 | (global-name "com.apple.gpumemd.source") | |
| 82 | (xpc-service-name "com.apple.AGXCompilerService*") |