LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Sean Reifschneider <jafo@tummy.com>
To: David Miller <davem@davemloft.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: select() setting ERESTARTNOHAND (514).
Date: Thu, 11 Jan 2007 01:25:16 -0700	[thread overview]
Message-ID: <20070111082516.GU7121@tummy.com> (raw)
In-Reply-To: <20070110.171520.23015257.davem@davemloft.net>

On Wed, Jan 10, 2007 at 05:15:20PM -0800, David Miller wrote:
>If you're only seeing it in strace, that's expected due to some

Nope, I haven't looked in strace at all.  It's definitely making it to
user-space.  The code in question is (abbreviated):

   if (select(0, (fd_set *)0, (fd_set *)0, (fd_set *)0, &t) != 0) {
      PyErr_SetFromErrno(PyExc_IOError);
      return -1;
      }

which causes the Python interpreter to raise an IOError exception, including
the value of errno, which is 514.

Thanks,
Sean
-- 
 This mountain is PURE SNOW!  Do you know what the street value of this
 mountain is!?!                -- Better Off Dead
Sean Reifschneider, Member of Technical Staff <jafo@tummy.com>
tummy.com, ltd. - Linux Consulting since 1995: Ask me about High Availability


  reply	other threads:[~2007-01-11  8:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-10 23:42 Sean Reifschneider
2007-01-11  0:27 ` David Miller
2007-01-11  1:04   ` Sean Reifschneider
2007-01-11  1:15     ` David Miller
2007-01-11  8:25       ` Sean Reifschneider [this message]
2007-01-11 22:22         ` bert hubert
2007-01-24  0:50           ` Sean Reifschneider
2007-01-11  0:37 ` PATCH - x86-64 signed-compare bug, was " Neil Brown
2007-01-11  0:40   ` Andi Kleen
2007-01-11  1:02     ` Neil Brown
2007-01-11  1:37       ` Andi Kleen
2007-01-11  4:09       ` Sean Reifschneider
2007-01-11 19:38       ` Denis Vlasenko
2007-01-11  0:43   ` David Miller

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=20070111082516.GU7121@tummy.com \
    --to=jafo@tummy.com \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: select() setting ERESTARTNOHAND (514).' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).