All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Alexandre Raymond <cerbere@gmail.com>
Cc: "Andreas Färber" <andreas.faerber@web.de>,
	qemu-devel@nongnu.org, "Damjan Marion" <damjan.marion@gmail.com>
Subject: Re: [Qemu-devel] qemu crashes on Mac OS X
Date: Tue, 26 Jul 2011 10:46:53 +0200	[thread overview]
Message-ID: <4E2E7EFD.7030703@redhat.com> (raw)
In-Reply-To: <CAHWZs7XABZWY_pSY0JdNNGx7jfavYhkS-Lm_+MSbWuaeaKYXZQ@mail.gmail.com>

On 07/26/2011 06:58 AM, Alexandre Raymond wrote:
> +#ifdef __APPLE__
> +            if (sig == 0) continue;
> +#endif

>From looking at the code this should not happen:

http://fxr.watson.org/fxr/source/bsd/kern/kern_sig.c?v=xnu-792#L986

 1046         sigw = (ut->uu_sigwait & siglist);
...
 1053                 signum = ffs((unsigned int)sigw);
 1054                 if (!signum)
 1055                         panic("sigwait with no signal wakeup");
 1056                 ut->uu_siglist &= ~(sigmask(signum));
 1057                 if (uap->sig != USER_ADDR_NULL)
 1058                                 error = copyout(&signum, uap->sig, sizeof(int));

??

Paolo

  reply	other threads:[~2011-07-26  8:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-01  9:17 [Qemu-devel] qemu crashes on Mac OS X Damjan Marion (damarion)
2011-07-01 14:56 ` Damjan Marion
2011-07-04 16:59   ` Alexandre Raymond
2011-07-04 22:35     ` Damjan Marion
2011-07-05 19:03       ` Alexandre Raymond
2011-07-26  4:58         ` Alexandre Raymond
2011-07-26  8:46           ` Paolo Bonzini [this message]
2011-07-26 13:08             ` Alexandre Raymond
2011-07-26 14:25               ` Alexandre Raymond
2011-07-27 13:24           ` Damjan Marion

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E2E7EFD.7030703@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=andreas.faerber@web.de \
    --cc=cerbere@gmail.com \
    --cc=damjan.marion@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.