Hi all! I've a little app with its own kernel extension that logs some data back to the app in the user space. The app creates a temp file, and the kext open it and write data back. I'm not sure if it's the best way to do that, but it works well in Jaguar. But now I am fixing a version for Panther, it crashes at vn_open: user space app does: f = open(path, O_CREAT|O_RDWR|O_FSYNC, S_IRUSR|S_IWUSR); if ( f == -1 ) return nil; close(f); the kext is then called with the "path" to do the following: NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, path, p); if ( (error = vn_open(&nd, FWRITE | O_FSYNC, 0)) != 0 ) ... And it paniced at vn_open. Anyone knows why? Best Regards Hao Li _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.