Re: how to trace files opening from a specific folder
Re: how to trace files opening from a specific folder
- Subject: Re: how to trace files opening from a specific folder
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Fri, 4 Feb 2011 14:05:40 +0000
On 4 Feb 2011, at 09:51, Laurent Vinet wrote:
> More or less, I need to receive "events" notifying that some files have been opened.
I'd definitely recommend you avoid DTrace for this. As I mentioned in my previous post, DTrace is intended to be a debugging tool, and doesn't really present a stable API for application development.
You best option for this might be a Kauth KEXT, as described in TN2127 "Kernel Authorization".
<http://developer.apple.com/library/mac/#technotes/tn2005/tn2127.html>
It's hard to know for sure whether this will give you all the information you need to complete this task, but it's a good start.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden