Kauth event for write operation
Kauth event for write operation
- Subject: Kauth event for write operation
- From: simran charley <email@hidden>
- Date: Sat, 24 Mar 2012 13:13:15 +0530
Hi,
I want to know which event we get when we write data in the file.I want to catch each write operation.
I have registered for Vnode and File scope.I get event KAUTH_VNODE_WRITE_DATAwhen I open the file in write mode, then no events for write data (writing using write() api or using Texteditor) and KAUTH_FILEOP_CLOSE with dirty flag "true" when I closed the file or save the contents of file.
Please explain the mechanism of Kauth in this case.
Thanks,
Simran.
_______________________________________________
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