OSBundleLibraries & Kernel symbols sharing
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com I have 2 Kernel Extensions A and B. _______________________________________________ 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... I'm seeing something strange as I thought what I wanted to do was possible but doesn't actually like to be. Kernel Extension A is loaded first and is requiring usual stuff in OSBundleLibraries. Kernel Extension B is defining one of the function of A with an extern and is including the Bundle Identifier and Version of A in the OSBundleLibraries section of the Info.plist. Now when I load B after A, this does not work as it's said that no correct version for A was found. Is it not possible to use symbols from a kext in another kext as long as you help the kext loader knows where they can be found? I was wondering if this was not linked to the fact that I'm using the default version 1.0.0d1 from the Kernel Extension template but I don't really think this is the reason. The function I'm trying to reference is not set as static or __private_extern__ in A. This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephane Sudre