Determining which kernel extension is being opened
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=cRlrqa1OCG/Jlgqrm+E6TRRc28zHW1yFfowe5+0VVabe9yrrNtn3Y4QgHIHHfv0qIvRSNK0fXp9199nwo9og6minI1mCeeC7rra+g1r3/JozoXGlxur/JYD/xhwJq6r2gdxfWhznrPDt3T6uInPbMBjNwkOTGLGiUb9gYJ/IeYk=; Hi, 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. Consider the following code: kernResult = IOServiceGetMatchingServices( kIOMasterPortDefault, IOServiceMatching( "Foo" ), &iterator ); if( kernResult == kIOReturnSuccess ) { service = IOIteratorNext( iterator ); IOObjectRelease( iterator ); if( service ) { kernResult = IOServiceOpen( service, mach_task_self(), 0, &dataPort ); Is there any way to determine the kernel extension that will have its newUserClient method invoked based on the above code? Right now I can grep through plists in /System/Library/Extensions and search for Foo but is there any better way? Thanks, David Rose ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs _______________________________________________ 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: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
David Rose