Subject: Re: SIGTRAP for traced processes and COMPAT_MACH
To: Emmanuel Dreyfus <>
From: Jaromir Dolecek <>
List: tech-kern
Date: 11/28/2003 12:24:16
Emmanuel Dreyfus wrote:
> > If you mean to unmask them and leave them that way, it seems to me that
> > that will break signal semantics for Darwin emulation (since presumably
> > Darwin won't deliver the signal when it's sent as a signal, eg with
> > whatever Darwin's kill(2)-alike is).
> Yes, that's the problem: Mach exceptions ignore the signal mask, but if
> no exception port was set to catch an exeption, then a signal is
> delivered, and this signal should respect the signal mask. Therefore
> alowing anything in the signal mask is not the solution.

Then, adjust the signal mask whenever the exception port is
setup. I still don't see why you'd need to do MI changes to support

Jaromir Dolecek <>  
-=- We should be mindful of the potential goal, but as the Buddhist -=-
-=- masters say, ``You may notice during meditation that you        -=-
-=- sometimes levitate or glow.   Do not let this distract you.''   -=-