site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Nov 3, 2004, at 19:17, Roger Seagle wrote: There is probably a better way to do what you want. Regards, Justin _______________________________________________ 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... I am new to the process of kernel hacking and am working on a networking stack. But with that aside, I am wondering what is the best way to open files inside the kernel and read the contents. I started going down the route of using VOP functions, but I don't know if this is the right avenue. If someone could point me to some code or documentation on this subject, I would greatly appreciate it. There is no approved way of doing this. VOP functions are definitely the wrong way to go (too low level), and most 'user mode' kernel functions are set up to assume that the request comes from user mode. -- Justin C. Walker, Curmudgeon-At-Large * Institute for General Semantics | It's not whether you win or lose... | It's whether *I* win or lose. *--------------------------------------*-------------------------------* This email sent to site_archiver@lists.apple.com