Mac OS X 10.10.4: Calling [CWWiFiClient sharedWiFiClient] generates a sandbox violation

Originator:craig.hockenberry
Number:rdar://22254575 Date Originated:12-Aug-2015 12:48 PM
Status:Open Resolved:
Product:OS X Product Version:Mac OS X 10.10.4 (14E46)
Classification:Other Bug Reproducible:Always
 
Summary:

Calling [CWWiFiClient sharedWiFiClient] generates an error in /var/log/system.log:

 sandboxd[127] ([6424]): CWSandbox(6424) deny mach-lookup com.apple.airportd

Steps to Reproduce:

Coding the attached project and run it in a sandbox.

Expected Results:

No sandbox violation.

Actual Results:

You get a “deny mach-lookup com.apple.airportd” violation.

Regression:

I have seen this error on 10.10 and 10.11, but haven’t tested it on older systems.

Notes:

If you use the deprecated [CWInterface interface], you also get a “deny system-socket” violation.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!