Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: virus scan application



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:
http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

This email sent to email@hidden
References: 
 >virus scan application (From: "Vishal Shetye" <email@hidden>)
 >Re: virus scan application (From: Terry Lambert <email@hidden>)
 >RE: virus scan application (From: "Vishal Shetye" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.