testing the current bootstrap context?
testing the current bootstrap context?
- Subject: testing the current bootstrap context?
- From: Bill Janssen <email@hidden>
- Date: Thu, 2 Apr 2009 08:18:24 PDT
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