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: Sean McBride <email@hidden>
- Date: Tue, 21 May 2013 13:35:56 -0400
- Organization: Rogue Research Inc.
On Mon, 20 May 2013 22:53:50 +1000, Gideon King said:
>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?
What Kyle said. Until then:
<key>com.apple.security.temporary-exception.files.absolute-path.read-only</key>
<array>
<string>/private/var/log/asl/</string>
</array>
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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