Re: How to detect Mac OS X version from a kext
Re: How to detect Mac OS X version from a kext
- Subject: Re: How to detect Mac OS X version from a kext
- From: "Bhavesh Davda" <email@hidden>
- Date: Sat, 16 Jun 2007 23:27:20 -0700
I really want to know what I asked. I've been told by someone that
attended WWDC that a bug I had reported in the Tiger kernel has
finally been fixed in the latest Leopard seed, and the workaround I
had put in my kext is no longer needed.
Instead of spinning 2 different versions of the kext, one for Tiger
and one for Leopard, I would like to figure out at runtime whether I
need to do the workaround or not, and just have one version of the
kext.
I don't know what versioning scheme Apple uses for the OS (10.4.9)
versus the xnu kernel (792.18.5) versus the utsname (8.9.1). Hence the
question.
Thanks!
- Bhavesh
On 6/16/07, Michael Smith <email@hidden> wrote:
On Jun 16, 2007, at 5:28 PM, Bhavesh Davda wrote:
> How do I detect whether a kext is running on 10.4 (Tiger) or 10.5
> (Leopard) programatically?
This is almost always the wrong question to be asking; typically you
think that you can infer the answer to another question from this one.
What is it that you actually want to know?
= Mike
--
Bhavesh P. Davda
_______________________________________________
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