site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=alastairs-place.net; h= subject:mime-version:content-type:from:in-reply-to:date:cc: content-transfer-encoding:message-id:references:to; q=dns/txt; s= aug07; bh=Z0Ap0Enkgf8OAC4eNkbPpr3CLdE=; b=YIvEY5q+RhWV/K0c7ps1TB rseIiQj6WiwxaWnhRVWTOg/tCYi8j4FQix9yWPA/ot4dLuycM6qZp/PuwNpuPP4Y xtcrN0R9fG1HvzKb4pxaQ2tcu2QNcQVeL4Lp58wHd5aFN/1pzKFk83oiWcez4TSR CyHdTe0BTb30Y7iE7dEEA= On 20 Nov 2009, at 15:42, Uli Kusterer wrote:
On 18.11.2009, at 16:35, Alastair Houghton wrote:
Another alternative is just to use bootstrap_checkin() from the child process, and then you can use the port that that API returns. The parent would then use bootstrap_look_up().
(That's what my sample program does.)
bootstrap_checkin() requires root privileges for the calling application (at least on 10.5 and earlier), which seems like overkill in our case. Apparently, your code uncovered that it works on 10.6 without root permissions, but sadly that won't help in our current situation :-(
Ah, I hadn't realised that. That's a bit of a pain. Kind regards, Alastair. -- http://alastairs-place.net _______________________________________________ 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)
-
Alastair Houghton