Re: Determining which kernel extension is being opened
Re: Determining which kernel extension is being opened
- Subject: Re: Determining which kernel extension is being opened
- From: David Rose <email@hidden>
- Date: Thu, 27 Dec 2007 16:03:22 -0800 (PST)
>
> On Dec 27, 2007, at 9:32 AM, David Rose wrote:
>
> > Is there any way to associate a filename to an
> > IOServiceOpen call? Is there a way to tell which
> > kernel extension (kext) an IOServiceOpen will
> > open.
>
> If you mean "which bundle contains the file which in
> turn contains the
> code implementing the class which publishes a given
> service"? then the
> answer is no.
>
> In fact, you have no guarantee that there is an
> answer to the question
> that you are asking.
>
> In the common case, you can scan the Info.plist
> files in /S/L/E and
> look for one that mentions a class with the same
> name in one of its
> personalities, but there is no guarantee that you'll
> find it, and even
> then all you know is that you're looking at a file
> that contains *an*
> implementation of a class that has the same name as
> the one you're
> interested in; there's no guarantee that it's the
> one that you're
> currently matched to, or that there is only one of
> them.
>
OK, thanks. This answers my question.
> As Herb asks, what are you actually trying to do? I
> can't think of
> anything you could do with the answer to your
> question that doesn't
> require a number of other assumptions.
>
> = Mike
>
I was trying to replace one of Apple's open source
drivers with a modified version and noticed none of
my changes were being executed. I came to the
conclusion that my driver was not running and the
original Apple driver was still running.
Anyways, sorry for the noise.
David Rose
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
_______________________________________________
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