Re: Sandboxing. WTF?
Re: Sandboxing. WTF?
- Subject: Re: Sandboxing. WTF?
- From: Graham Cox <email@hidden>
- Date: Mon, 28 May 2012 19:23:37 +1000
On 28/05/2012, at 6:54 PM, Jean-Daniel Dupas wrote:
> The posted documentation says:
>
> «A POSIX function, such as getpwuid, can provide the file system path you need.»
>
> I guess it means you have to resolve the real com.apple.iApps.plist path yourself and access the file directly.
Okaaay....
That's a bit weird though, because you have to put the static file paths you want to access in your entitlements, but getpwuid is a function call, returning a path dynamically. Perhaps that path is actually static? Or do I call it and somehow register the entitlement on the fly? If so, how?
It's documentation and commentary like this that is making it hard to adopt sandboxing. If they really want us to do it, why not spell it out instead of leaving us a trail of cryptic clues?
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden