Re: File Close Event on Mac OS X
Re: File Close Event on Mac OS X
- Subject: Re: File Close Event on Mac OS X
- From: Jerry Cottingham <email@hidden>
- Date: Tue, 5 Jul 2005 10:50:57 -0700
On Jul 5, 2005, at 7:19 AM, Imran Kazi wrote: I want to get the file close event for any of the files in certain configurable folders. Is there any existing API or sample code provided by Apple for getting that event? If not, from where should I start to get the details of getting the file close event? Or do I need to write a filter driver? Any pointer in this direction will certainly help us. not sure what you want to track close for, but if you really must you may write a kext using the kauth KPIs - KAUTH_SCOPE_FILEOP (see xnu/bsd/sys/kauth.h). This requires you deploy using Tiger or above.
some sample code is at:
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden