HAL plugin (user-space driver) sandbox entitlements
HAL plugin (user-space driver) sandbox entitlements
- Subject: HAL plugin (user-space driver) sandbox entitlements
- From: Joel Reymont <email@hidden>
- Date: Mon, 26 Nov 2012 18:12:42 +0000
My user-space CoreAudio driver aka HAL plugin uses networking.
It runs fine on my machine for some strange reason but runs into
sandbox errors on others.
The only way to avoid sandbox errors is to make the following change
to /usr/share/sandbox/com.apple.audio.coreaudiod.sb.
Is there a better way, though?
Thanks, Joel
--- com.apple.audio.coreaudiod.sb.orig 2012-11-26 17:27:25.000000000 +0000
+++ com.apple.audio.coreaudiod.sb 2012-11-26 17:32:04.000000000 +0000
@@ -85,6 +85,8 @@
(global-name "com.apple.SecurityServer")
(global-name "com.apple.ocspd")
+ (global-name "com.apple.networkd")
+ (global-name "com.apple.SystemConfiguration.SCNetworkReachability")
)
(allow ipc-posix-shm)
@@ -95,6 +97,8 @@
(allow network*)
+(allow system-socket)
+
(allow process-exec
(literal "/usr/sbin/coreaudiod")
)
--------------------------------------------------------------------------
for hire: mac osx device driver ninja. kernel, usb and coreaudio drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden