Re: Expand relative path in KEXT...
Re: Expand relative path in KEXT...
- Subject: Re: Expand relative path in KEXT...
- From: "Justin C. Walker" <email@hidden>
- Date: Mon, 02 Jul 2012 12:39:10 -0700
On Jul 2, 2012, at 05:35 , simran charley wrote:
> Hi,
>
> Is it possible to expand relative path in kext?
In one sense, your question doesn't even have much meaning for a Kext. A Kext is a component of the kernel, and much of its code can't assume that it will run in a process context (so it won't have a "current working directory", and therefore, can't make sense of a relative path name).
A more basic issue, though, is that you should not be trying to access files in kexts except in rare circumstances. There are other mechanisms available to do that (user-client interface) should it be necessary.
What are you trying to accomplish?
Justin
--
Justin C. Walker, Curmudgeon-At-Large, Director
Institute for the Enhancement of the Director's Income
--------
The path of least resistance:
it's not just for electricity any more.
--------
_______________________________________________
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