Re: Writing to file from Kernel Extension
Re: Writing to file from Kernel Extension
- Subject: Re: Writing to file from Kernel Extension
- From: Dean Reece <email@hidden>
- Date: Wed, 6 Apr 2005 17:25:02 -0700
On Apr 6, 2005, at 17:21, Carl Smith wrote: Is there some sample code or special calls to be able to write from a kernel extension to a file, like with ‘fopen’, ‘fprintf’ and so on? This has been discussed at some length on this list and darwin-drivers. The short answer is that it is possible, but not in a way that is easy, or guaranteed to work across multiple releases. Apple recommends using a user-level utility or daemon to do all file I/O, and having the kext communicate to the user-land helper via one of the many kernel->user mechanisms available.
- Dean |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden