Re: Sandboxing and Apple System Log (asl) searches
Re: Sandboxing and Apple System Log (asl) searches
- Subject: Re: Sandboxing and Apple System Log (asl) searches
- From: Kyle Sluder <email@hidden>
- Date: Mon, 20 May 2013 08:48:38 -0700
On May 20, 2013, at 5:53 AM, Gideon King <email@hidden> wrote:
> Hi,
>
> In my application, I want to be able to collect Apple system log information about my application, and have been using asl_new(ASL_TYPE_QUERY); to do so.
>
> Unfortunately this needs to access any files in /private/var/log/asl/*
>
> I understand that there is no way to add an entitlement that will allow access to all the files in a folder. Is there any way of either setting up an entitlement to allow access to all the files in that folder, or another way to read the system logs in a way that is sandbox friendly?
No. Last I checked, for some crazy reason the sandbox people think that reading your own logs is a security concern because you can then read logs from other components. Personally I think this is ludicrous, but them's the breaks.
File a radar.
--Kyle Sluder
_______________________________________________
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