Re: reading a file in the kernel
Re: reading a file in the kernel
- Subject: Re: reading a file in the kernel
- From: Eric Long <email@hidden>
- Date: Wed, 11 Dec 2002 11:22:16 -0800
>
Looking into the archives, it seems that it is a bad idea to read a
>
file from the filesystem from inside the kernel. However, I couldn't
>
find anywhere that it's not possible.
In my kext, DTS told me not to do file I/O. I was told to use a log-in app
to read configuration settings and pass them to the kext.
>
The communication between a Kext and an application process involves the
>
implementation of a UserClient.
>
<http://developer.apple.com/samplecode/Sample_Code/Devices_and_Hardware/IOKit/
>
SimpleUserClient.htm>
Eric Long
___________________________________________________________________________
Macintosh Software Engineer
Aladdin Systems, Inc.
http://www.aladdinsys.com
245 Westridge Drive, Watsonville, CA 95076 (831) 761-6200 x628
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.