Re: Alternative to bootstrap_register?
Re: Alternative to bootstrap_register?
- Subject: Re: Alternative to bootstrap_register?
- From: Uli Kusterer <email@hidden>
- Date: Wed, 18 Nov 2009 16:13:06 +0100
On 17.11.2009, at 20:05, Alastair Houghton wrote:
> That is, use a server to register and name your send rights.
>
> As Tyler Sample pointed out to me today, you *could* use the bootstrap server for that purpose, but it's a little evil because you need to use bootstrap_register() (or something similar), and putting random ports in the bootstrap namespace seems a little evil to me. I prefer the separate server approach.
Well, that'd mean we'd be writing potentially security-unsafe root-daemon code (in addition to our other two executables). I'd rather trust Apple wrote their bootstrap server correctly (and it gets exercised a lot more than we alone could do it).
Can you elaborate what you mean by "putting random ports in the bootstrap namespace" seeming to be "evil"? It seems to me it was made for exactly that?
Cheers,
-- Uli Kusterer
"The witnesses of TeachText are everywhere..."
_______________________________________________
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