Re: Kernel Symbol Clarification
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Jul 18, 2007, at 12:03 PM, darwin-dev-request@lists.apple.com wrote: The kernel is one big monolithic namespace. All symbols in KEXTs must be unique across the system as they are linked into that one namespace. If a KEXT defines a symbol that already exists, the KEXT will not load. Are you really sure about this? I thought the relocations were done by kextload in userspace, and the only namespaces that are shared are those of your kext and what it depends on. Drew, you are correct for more recent MacOS systems. Garth's description refers to a previous implementation. = Mike _______________________________________________ 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... Garth Cummings writes: An alternative for symbols that are exported between objects in a kext, but which should not be visible outside it, is 'private extern'. This email sent to site_archiver@lists.apple.com
participants (1)
-
Michael Smith