Re: Kauth event for write operation
Re: Kauth event for write operation
- Subject: Re: Kauth event for write operation
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Sun, 25 Mar 2012 17:24:26 +0100
On 24 Mar 2012, at 07:43, simran charley wrote:
> I want to catch each write operation.
There's really no supported way to do this in Mac OS X. KAUTH_VNODE_WRITE_DATA authorisation is done when the file is opened and KAUTH_FILEOP_CLOSE notification is done when the file is closed but, for performance reasons, there's no supported way to be authorise or be notified of every single write operation.
Share and Enjoy
--
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.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden