bootstrap_register replacement
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hello, _______________________________________________ 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... I just have a question. On 10.5, the bootstrap_register() doc said this method should not longer be used and give some alternatives like this one: 2) If the code was registering a dynamically generated string and passing the string to other applications, please rewrite the code to send a Mach send-right directly. My question is simple. To send the Mach send right, I need a send right to the target process. But to get a send right from the target process, it need a send right on the first process. That's why the bootstrap server exists. Maybe I miss something, but I do not understand how I can upgrade an app that was using the scenarios describe in 2). Is there some magic way to give a send right to another process ? AFAK, even passing an arbitrary port to a child process is not possible. This email sent to site_archiver@lists.apple.com
participants (1)
-
Jean-Daniel Dupas