site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=bQD+OADrNwj2XarQESUAyzVgy0Ongol16MDO5ecZwX1DkmM901GZr8IL6l+u8UwViAf8o9zUynHC5cv3KfbeL/BE/m5gNoZYzDROT6maIO3LK5UBG7LA8co/XGOe7O9f5l66y7TGKT0JaewrFEv9K/k9zGaDtZyXLcIP+OtlUfo= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=qgVR4TFxBDaOMBY7zN8sQxbkcgdqGwVoLA/+9QlBAslIxgnE+1pBMTsK/Zx2mckrIMhCVnsYwd6/K/50fFDGvhM7pxfpiFMR6yE3kDOYDrydAG0CdbsrvH/1p55yZMTSCMwNwQHUa52eNDFPDlcoDUL3C24GmzwBpAkSSD1JQ1A= 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com