site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Thread-index: Acij7veANljYNg/iEd2gcQAdT0T19A== Thread-topic: mach-o section question User-agent: Microsoft-Entourage/11.4.0.080122 On 4/21/08 2:34 PM, "Andrew Myrick" <amyrick@apple.com> wrote:
I'm just not familiar enough with how UUIDs are used to be of much help on this. My guess is it doesn't matter too much, as long as you aren't trying to load the same binary with different UUIDs. For example, in kext land, presume you have 2 kexts, A and B, where B depends on A. In the following scenario:
1) Load kext A 2) Change kext A on disk 3) Load kext B
the load will fail because we'll detect the UUID change and flag an error. I would expect that userspace has some similar mechanism, though probably much more complex :)
OK, so would it be better to use the MD5 hash for the UUID? Its not perfect (collisions can happen), but it will detect the code has changed... Thanks, Cem Karan _______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Army Research Lab