I need to use IPC System V Semaphores (ipc-sysv-sem) in a Mac application. However, the Mac Sandboxing does not allow their usage. I obtain (in the mac console):
27/06/14 12:17:50,000 kernel[0]: Sandbox: MyApp(69513) deny ipc-sysv-sem
Does anyone now how to accept IPC System V Semaphores in a Mac Sandboxed application?
Many thanks!
Apple says it's not possible: https://developer.apple.com/library/mac/documentation/security/conceptual/AppSandboxDesignGuide/AppSandboxInDepth/AppSandboxInDepth.html#//apple_ref/doc/uid/TP40011183-CH3-SW24
You can use POSIX semaphores, though.