site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com ml_get_interrupts_enabled():- Use preemption_enabled() from Mach KPIs. klogwakeup is internal API use IOLog to achieve the same effect. I personally don't know anything about the kauth APIs. Godfrey On 05/26/2005, at 9:08 , Brian Bergstrand wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm in the same boat as Sam. There's some exports missing (1 critical to our product) and it sounds like linking against the kernel proper is going to be a support nightmare. I've filed radars about the missing symbols, but Apple seems to move slower than dirt in integrating these changes and I'm really afraid of a "behaves correctly". Here's the missing symbols: ml_get_interrupts_enabled() -- this is the critical one -- we use it as a switch to determine whether to call OSMalloc or OSMalloc_noblock thread_policy_get() The weird thing about these two is that their _set counterparts are exported. Why would set be exported but not get? host_info() klogwakeup() The last three I can probably disable or workaround, but I don't know of a way to work around ml_get_interrupts_enabled() missing. I thought the new preemption_enabled() would work, but it's not exported either! Radar: 4130443 On May 26, 2005, at 6:35 AM, Andrew Gallatin wrote: Sam Vaughan writes: On 26/05/2005, at 2:48 PM, Sam Vaughan wrote: What does a dependency on the kernel itself look like in a kext's OSBundleLibraries dict? This seems to do the trick: <key>com.apple.kernel</key> <string>8.1.0</string> ... but I assume it'll then refuse to load when I install 10.4.2. Yep. It will break every time your customers upgrade. :-( Drew Brian Bergstrand <http://www.bergstrand.org/brian/> PGP Key ID: 0xB6C7B6A2 -----BEGIN PGP SIGNATURE----- Version: PGP Desktop 9.0.1 (Build 2130) iQA/AwUBQpX0dHnR2Fu2x7aiEQL2PACgt/9YFGfImOmlMIBR+zDVe7QJPfoAoIdn jueR9najqAIVpGx4gAO0q2Hw =5pof -----END PGP SIGNATURE----- _______________________________________________ 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/gvdl%40apple.com This email sent to gvdl@apple.com _______________________________________________ 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... thread_policy_get() - "There is no need for developer to call thread_policy_get()" host_info() - Use sysctlbyname() from Libkern KPIs to get exported system info. "In general, we haven't removing any KPIs. Tiger does publish the first KPI set and new KPIs can be added to cover missing functionality" This email sent to site_archiver@lists.apple.com