• 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: 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


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

  • Prev by Date: Re: Sandboxing and ABAddressBook
  • Next by Date: Re: Running event loop while showing non-standard popup
  • Previous by thread: Re: Sandboxing and Apple System Log (asl) searches
  • Next by thread: Widow / Orphan protection in text layout
  • Index(es):
    • Date
    • Thread