Re: Load kext from app bundle on Snow Leopard?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=4H2lGjzHLj+zREE6RI/uOt1mpEBp6fttSWHsw9GM4vA=; b=qI8HKwcWilydeWY/7wwWyCrdvIvsbmPNl5fy85mjqu2OEXTBcLoe09qvJ18w4XvHCa hEqBusi80GQPsDBAIKfnM2i2nxwxgp0PqH4Rx2Ra6jcH7r1oWCHB0dsWeUw32uE1AORX y7MBtIZReLf/bL+WEUDAw4VV58UwJhFjIX7TQ= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=ixlFUOWOS3bpeXWyYlanlsh8cavNYur3gCNpDVB+f7COFkX/uqombH1PqsDPWreZDp qwjbhkNlDseTsuZJTfTLZUZJ5PSjkQRVx/RXMQLXDIPoHjgptNbPi4T4KhHM8G5w01s7 5kv8kvKl2Dvlw/usiZSFpF02+xB3eEr9M34x8= On Oct 22, 2009, at 7:38 PM, Brian Bergstrand wrote: On Oct 22, 2009, at 6:15 PM, lbland wrote: hi- thanks!- -lance Brian Bergstrand <http://www.bergstrand.org/brian/> PGP Key ID: 0xB6C7B6A2 _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/rmuginov%40gmail.com -- Sincerely, Rustam Muginov _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... KEXT's load in the kernel, thus require root to load and also require root ownership on disk. This is basic security practices. It would be an easy exploit vector otherwise. 3rd party kexts should be placed in /Library/Extensions (NOT /S/L/E) by an Installer or by an app that authenticates itself and copies a KEXT from its bundle to /L/E with the proper permissions. KEXTs installed in /L/E do not affect the boot caches. Could you please provide reference to the documentation about /Library/ Extensions/ folder? I do remember i was study this question in the Tiger times, and was adviced against this by apple engineers. The only reason to install in /S/L/E is if the KEXT is needed to boot the OS from disk. Not only, any device drivers which need to be loaded in responce to device plugged in, AFAIC. Has Snow Leopard kextd evolved to the point where I can load a kext from an app bundle (on demand when the app launches), or do I still need to require users to run an Installer with admin privilege to install kext bundles to /System/Library/Extensions ? ps - I only want to load from app bundle if it doesn't rebuild the kext cache on every app launch. ... also, sorry for the crosspost and repost; just some interesting shop talk, nothing dramatic, but it would be nice to drag and drop an app instead of having to run an Installer. This email sent to rmuginov@gmail.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Rustam Muginov