• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sandboxing and Apple System Log (asl) searches
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Sandboxing and Apple System Log (asl) searches (From: Gideon King <email@hidden>)

  • Prev by Date: Widow / Orphan protection in text layout
  • Next by Date: Re: Widow / Orphan protection in text layout
  • Previous by thread: Sandboxing and Apple System Log (asl) searches
  • Next by thread: Re: Sandboxing and Apple System Log (asl) searches
  • Index(es):
    • Date
    • Thread