SandboxingI did the same for now. At the Developer forums I got this reply from someone who had the exact same issues with using sem_open in a Sandbox.
I'm on the lookout for any information about temporary exception entitlements that can be applied to named semaphores.
In keeping with the spirit of information wants to be free, I present here:
http://reverse.put.as/wp-content/uploads/2011/09/Apple-Sandbox-Guide-v1.0.pdf In particular, I'm looking for a solution that both works on 10.7.4 and Mountain Lion.
UPDATE:
Here's an example of an entitlement for shared memory and semaphores:
<key>com.apple.security.temporary-exception.sbpl</key>
<string>
(begin
(allow ipc-posix-sem)
(allow ipc-posix-shm)
</string>
Labels: entitlements, hacking osx, quarantine bit, sandbox
Post a Comment