• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
HAL plugin (user-space driver) sandbox entitlements
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: HAL plugin (user-space driver) sandbox entitlements
      • From: Joel Reymont <email@hidden>
  • Prev by Date: Distorted sound after sample rate change
  • Next by Date: Re: HAL plugin (user-space driver) sandbox entitlements
  • Previous by thread: Distorted sound after sample rate change
  • Next by thread: Re: HAL plugin (user-space driver) sandbox entitlements
  • Index(es):
    • Date
    • Thread