Re: testing the current bootstrap context?
Re: testing the current bootstrap context?
- Subject: Re: testing the current bootstrap context?
- From: Bill Janssen <email@hidden>
- Date: Thu, 2 Apr 2009 09:21:50 PDT
- Comments: In-reply-to Bill Janssen <email@hidden> message dated "Thu, 02 Apr 2009 08:18:24 -0700."
Sorry, I meant to send this to darwin-development, not darwin-kernel.
Bill
Bill Janssen <email@hidden> wrote:
> I seem to have a situation where the bootstrap context of a long-running
> daemon process sometimes "goes bad". Not sure just what's happening,
> but it can't seem to use any Mach ports. Can't connect to the
> windowServer, can't do DNS lookups, etc. When I use 'launchctl bslist'
> to look at the BC, I get an odd output (which I don't have written down
> right now).
>
> Is there a function I could call from a process to check the current
> bootstrap context? If the process could detect, in some systematic way,
> whether or not its bootstrap context is still good, it could restart
> when it needs to.
>
> Bill
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-kernel mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden