Internals of the dyld library insert and file descriptors
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=IFL5GUzAQmFHOQqvKCX2zOqamKeeYM0KNVwJVtcPiaU=; b=lC7y8eQKkfvC5q636J0MHgJOXoU0n63vO0nBW1OSlTUNZtioVKz4ZiIA4Wg53Gg4+/pxV2hSC9VeV2TP6HAAQfUIF5ooZAhh4XrlGSRkItvNNppV1kFEOJvnywgwO7hFbK5NTbIxLu5MWBo90FbXYdttwiYBvELRXPnJRTMFyms= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=rFHURw00MuFRc84PQ0OzOBiSAIF5Jkh1fvC+WN8MJzROZsRSvwkDM/FvJEIY4rAYsonGvyx/4/NmFGHgUX3iarW7g+yeEAkrx3Tx8nA5CE2WScSU6ot8AYxwMHMVMn2kEFf/mC64XhfoKm+4u1Fm3q/XWi61NcthlcsJUYp7mko= I'm looking over dyld's code to insert libraries and perform the linking, it seems to be based off mmap() and pmap(), right?. Does it rely on shared region mappings for libraries inserted by the user or via some of the environment variables? Also, I would like to know what is the best method and available API for retrieving the corresponding vnode for a specific file descriptor in a process. I will try to look this up on my own through the sources but I guess it might be helpful to other people reading the list and save them some time. cheers, -- John _______________________________________________ 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)
-
John D.