• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Loading Kernel Extension
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading Kernel Extension


  • Subject: Re: Loading Kernel Extension
  • From: Eli Bach <email@hidden>
  • Date: Tue, 11 Aug 2009 11:34:38 -0700


On Aug 11, 2009, at 11:28 AM, Tim Murison wrote:

Hi,

I would like to load a kernel extension from my code preferably without
invoking kextload.


The nice APIs to do this seem to be private in Leopard with the exception of
the kld.h functions that I'm not sure I understand.


Is there a recommended approach to DIY loading/unloading of kernel
extensions in Leopard?

-Tim

Um, this is asking "How do I do X, but without using the clearly defined, supported method of doing X."


What is the reason why you don't want to use kextload?

There are a number of operations where the supported way for code to do X, is to just launch another process to do the work, then look at the output of that process to figure out if it succeeded and/or what the results of the operation are.

Eli

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Loading Kernel Extension
      • From: Tim Murison <email@hidden>
References: 
 >Loading Kernel Extension (From: Tim Murison <email@hidden>)

  • Prev by Date: Loading Kernel Extension
  • Next by Date: Re: Loading Kernel Extension
  • Previous by thread: Loading Kernel Extension
  • Next by thread: Re: Loading Kernel Extension
  • Index(es):
    • Date
    • Thread