Re: Expand relative path in KEXT...
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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Justin C. Walker