Re: kauth and creds in Darwin 8
Re: kauth and creds in Darwin 8
- Subject: Re: kauth and creds in Darwin 8
- From: Brian Bergstrand <email@hidden>
- Date: Thu, 26 May 2005 11:08:15 -0500
-----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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden