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



All,

I'd appreciate a little bit more information about some points in this
thread, specifically what Terry said in points (3) and (4).  I'd like
to implement a technique that's very similar to Time Machine.

Basically, a userland process would register with the kernel extension
and provide a pid.  The kernel extension would call the userland
application whenever a vnode scope operation is performed by the pid.
The userland app would then create a backup of the file that's being
accessed.  In this case I want to have blocking communication between
the kernel and the userland application so that I can create the
backup before the application can access the file.

This is very similar to a hypothetical virus scanner so many of the
techniques should apply.  I've read TN2127 and the list archives about
implementing a virus scanner and one question that's never been
definitively answered is how the kernel can block and then call out to
a user level application.  In fact TN2127 says in the Listener Gotchas
section that the only foolproof method is the implement the scanner
completely in the kernel.  Is this still the recommended approach?  If
it is will I be able to implement my version of Time Machine?

Thanks,

Jim
 _______________________________________________
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



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.