Re: Alternative to bootstrap_register?
Re: Alternative to bootstrap_register?
- Subject: Re: Alternative to bootstrap_register?
- From: Alastair Houghton <email@hidden>
- Date: Fri, 20 Nov 2009 15:44:50 +0000
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden