From: Colin Walters <walters@verbum.org>
To: Daniel J Walsh <dwalsh@redhat.com>
Cc: eparis@redhat.com, selinux@tycho.nsa.gov
Subject: Re: [PATCH 43/73] libselinux: avc_netlink_recieve handle EINTR FIXME
Date: Tue, 27 Mar 2012 11:57:22 -0400 [thread overview]
Message-ID: <1332863842.15547.25.camel@lenny> (raw)
In-Reply-To: <4F71E1DD.4040803@redhat.com>
On Tue, 2012-03-27 at 11:50 -0400, Daniel J Walsh wrote:
> This patch looks good to me. acked.
>
> I think we should do this rather then have applications like dbus
> randomly crash, and people not notice it for years.
Handling of EINTR is a very interesting thing in operating systems.
For example, the Python interpreter relies on receiving EINTR
from system calls when you press Control-C at the toplevel.
However in this case the AVC thread is hidden from the consumer, so
it's clearly correct to retry on EINTR.
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
prev parent reply other threads:[~2012-03-27 15:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-27 15:50 [PATCH 43/73] libselinux: avc_netlink_recieve handle EINTR FIXME Daniel J Walsh
2012-03-27 15:57 ` Colin Walters [this message]
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=1332863842.15547.25.camel@lenny \
--to=walters@verbum.org \
--cc=dwalsh@redhat.com \
--cc=eparis@redhat.com \
--cc=selinux@tycho.nsa.gov \
/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.