On Wednesday, December 11, 2002, at 03:48 PM, Jim Magee wrote: If you go to this length, just pass the file contents in, rather than the file descriptor number. Trying to convert from a filedescriptor number to real file data from within a KEXT will require you to access all sorts of kernel-private data structures which are not guaranteed against release-to-release changes. This is what I was thinking of doing as a fallback. However, using "IOConnectMethod*()" I can pass scalars and structures. However, the data I want to pass in will be of arbitrary length, so I can't define that length in the getTargetAndMethodForIndex() data table. I thought there was a way to pass buffers of dynamic length, but I can't find it now... -Michael _______________________________________________ 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)
-
Michael George