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 | 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.
participants (1)
-
Eric Long