Re: virus scan application
Re: virus scan application
- Subject: Re: virus scan application
- From: Terry Lambert <email@hidden>
- Date: Mon, 6 Aug 2007 14:39:21 -0700
On Aug 4, 2007, at 6:57 AM, Vishal Shetye wrote:
Actually I intend to hook open system call and scope suitable for me
is
VNODE. Although KAUTH_VNODE_READ_DATA suffice the purpose, how would I
differentiate between open and read. And what about close()? What
notification should I receive?
In order:
KAUTH_FILEOP_OPEN
KAUTH_VNODE_READ_DATA
KAUTH_FILEOP_CLOSE
...in other words, you will need to listen in more than one scope.
-- Terry
_______________________________________________
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