Re: Loading KEXTs dynamically
Re: Loading KEXTs dynamically
- Subject: Re: Loading KEXTs dynamically
- From: Dean Reece <email@hidden>
- Date: Wed, 21 Aug 2002 10:24:22 -0700
On Tuesday, August 20, 2002, at 07:21 AM, Peter Lovell wrote:
On Monday, August 19, 2002, at 12:25 PM, Sean McBride wrote:
Can I load and use a KEXT dynamically? If so, what is the API and
where
would I find a source example?
man kextload
You really should read the various docs about IOKit and kexts, etc.
Also note that the rules have changed quite substantially in Jaguar.
Actually, the rules haven't really changed; they are just being enforced
now. The "Fixer" panel is our concession to the fact that such drivers
are in circulation and should continue to be supported.
You still use kextload to load, but it's quite a different kextload.
We were careful to preserve the options that were likely to be used for
programmatic driver loading.
The biggest changes are to options that are only useful for development
(symbol generation, etc).
And access permissions and ownership rules are applied to kexts now.
Yes - we should have been enforcing them from day one, but that somehow
slipped by.
kmodstat and kmodunload are replaced by kext-named commands.
Yes, though the kmod* commands should not have been used for
programmatic loading of kexts;
they were present just for developers, and were subsumed by the various
kext* commands.
Cheers,
- Dean
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.