Re: Passing a char** to a Kext from user mode
Re: Passing a char** to a Kext from user mode
- Subject: Re: Passing a char** to a Kext from user mode
- From: Godfrey van der Linden <email@hidden>
- Date: Fri, 2 Jul 2004 09:36:53 -0700
The answer for this depends totally on what space you are operating
in:- VFS, NKE, IOKit or other? Also what are you trying to copy from
the kernel's address space to user land? How much data are you going
to move?
Godfrey
On Jul 1, , at 16:04, Krishna Monian wrote:
Hi,
I am trying to write a kernel extension in which I
have to pass a char** to it from a user mode
application.
Currently I have tried passing the pointer as a scalar
and as a struct(wrapped in a struct) to the kext.
However this results in some weird behavior.
What is the right way to pass such information to the
kext?
Thanks
_______________________________________________
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.