Re: programmatically loading and unloading drivers
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Oct 31, 2011, at 1:16 PM, Joel Reymont wrote:
I figure using the API will be faster and more robust in the presence of errors.
Execv() of kextload is not likely to be appreciably faster than calling an SPI directly--most of the time is I/O time scanning and patching/linking the kext bundle, last I checked. And since it's not a public API, I can't think of any reason for the latter… That said, reading the source for kextload, kextstat, etc. can be very informative. Doing so is what convinced me I should just call out to them :-). --Amanda _______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Amanda Walker