Sandboxed applications cannot access game controllers
| Originator: | mantasp | ||
| Number: | rdar://10476906 | Date Originated: | 21-Nov-2011 12:32 PM |
| Status: | Open | Resolved: | |
| Product: | Mac OS X | Product Version: | 10.7.2 |
| Classification: | Other bug | Reproducible: | Always |
Summary: Applications that are sandboxed cannot access game controllers even when USB (com.apple.security.device.usb) entitlement is specified. Steps to Reproduce: Download HID sample code http://developer.apple.com/library/mac/#samplecode/HID_Explorer/Introduction/Intro.html . Build it, add sandboxing and USB entitlements. Sign and run. Expected Results: All connected HID devices (including game controllers) should be enumerated in application. Actual Results: Sandbox denies access to HID devices and sample application crashes (crash of course could be fixed, but still no HID devices can be accessed). HID_Explorer(12897) deny iokit-open IOHIDLibUserClient Regression: When the attached application is run without sandboxing enabled, it was able to access all HID devices (including game controllers) just fine.
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!