Re: programmatically loading and unloading drivers
Re: programmatically loading and unloading drivers
- Subject: Re: programmatically loading and unloading drivers
- From: Paul Nelson <email@hidden>
- Date: Mon, 31 Oct 2011 11:45:31 -0500
I don't think the api used in kextload and kextunload are public. We have always used these directly (either in a script or execv) to load our kexts. You really don't want to use some other way because Apple changes how kextload works on occasion.
On Oct 31, 2011, at 11:09 AM, Joel Reymont wrote:
> Chris,
>
> By programmatically I meantusing the APIs that kextload an kextunload
> use, rather than invoking the programs themselves.
>
> ---
> Sent from my iPhone
>
> On Oct 31, 2011, at 4:00 PM, Chris Logsdon <email@hidden> wrote:
>
>> You can use kextload and kextunload to do this. The unload will fail
>> if a kext is in use though.
>>
>> -Chris
>>
>> Sent from my iPhone
>>
>> On Oct 31, 2011, at 6:36 AM, "Joel Reymont" <email@hidden> wrote:
>>
>>> Is it possible to programmatically load and unload drivers?
>>>
>>> Thanks, Joel
>>>
>>> ---
>>> http://twitter.com/wagerlabs
>>>
>>> _______________________________________________
>>> 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
> _______________________________________________
> 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
>
_______________________________________________
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