site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JnRIG8pkdDtZTduyq3/LVamJYKNfgQLBXYQc1IhusBwy7DZFZGC+27t6BtlLSjF1lSRTlRKIokrryeIPiGKDeRAOxBlyolYndzD9fRu3VgJUc1apLlnQVn3sktKFaAGoNe6IrPmBlC84ddf1Xpm9x03dvzIiFUuManmwRxgly6Y= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mcxYQcJxYKZRaRsX1USpm71RcsYzqHt8UF63FXg4hMa4KM4KhAcrkSXxWjw5SfZs7yKKJWYWKBd50GoZHvJV0cvvoycp4U+pQjI4iGOv3cjn38/UZj+8FHUTS4cpllYEUYru73XFO5G8ZFJowXji5yl1ENbWGxXcMv0aEXVTNvg= 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 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... On 6/16/07, Michael Smith <drivers@mu.org> wrote: This email sent to site_archiver@lists.apple.com