The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Bodo Eggert <7eggert@gmx.de>
To: Michael Kerrisk <mtk.manpages@googlemail.com>
Cc: 7eggert@gmx.de, Davide Libenzi <davidel@xmailserver.org>,
	Pierre Habouzit <madcoder@debian.org>,
	lkml <linux-kernel@vger.kernel.org>,
	Eric Dumazet <dada1@cosmosbay.com>,
	Marc Lehmann <schmorp@schmorp.de>,
	David Schwartz <davids@webmaster.com>
Subject: Re: epoll and shared fd's
Date: Thu, 28 Feb 2008 20:17:07 +0100 (CET)	[thread overview]
Message-ID: <alpine.LSU.0.999.0802281942420.2968@be1.lrz> (raw)
In-Reply-To: <cfd18e0f0802280410wccefb42ja66a2f4ee7513183@mail.gmail.com>

On Thu, 28 Feb 2008, Michael Kerrisk wrote:

> On Tue, Feb 26, 2008 at 7:16 PM, Bodo Eggert <7eggert@gmx.de> wrote:
> > Michael Kerrisk <mtk.manpages@googlemail.com> wrote:
> >
> >  > b) It seems to me that you text doesn't quite make the point explicit
> >  > enough.  I've tried to rewrite it; could you please check:
> >  >
> >  >        A6     Yes, but be aware of the following point.  A  file
> >  >               descriptor is a reference to an open file descrip-
> >  >               tion (see  open(2)).   Whenever  a  descriptor  is
> >  >               duplicated  via dup(2), dup2(2), fcntl(2) F_DUPFD,
[.........]

> >  > Does that seem okay?  I plan to include the text in man-pages-2.79.
> >
> >  It's hard to read for me, and probably very hard to read for others.
> 
> Bodo,
> 
> I'm just reviewing this text, trying to see if I can improve it.  At
> the moment, I'm a little stuck.  can you say a little more about why
> you find it hard to read?  that may help me improve it.

I think it's enough to mention that the last copy of the file descriptor 
(e.g. by dup or fork) must be closed *or* the file must be explicitely 
unregistered (As far as I understand by now).
-- 
"Aim towards the Enemy."
-Instruction printed on US Rocket Launcher

  reply	other threads:[~2008-02-28 19:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9MZLT-1YO-33@gated-at.bofh.it>
     [not found] ` <9N6Ng-5tn-21@gated-at.bofh.it>
     [not found]   ` <9P5WE-33i-11@gated-at.bofh.it>
     [not found]     ` <9Pk9l-1KA-1@gated-at.bofh.it>
     [not found]       ` <9PNNZ-b0-5@gated-at.bofh.it>
     [not found]         ` <a19Lb-1F0-13@gated-at.bofh.it>
     [not found]           ` <a19Lb-1F0-11@gated-at.bofh.it>
2008-02-26 18:16             ` epoll and shared fd's Bodo Eggert
2008-02-28 12:10               ` Michael Kerrisk
2008-02-28 19:17                 ` Bodo Eggert [this message]
2008-02-28 19:30                   ` Davide Libenzi
2008-02-28 13:53               ` Valdis.Kletnieks
2008-02-28 15:08                 ` Michael Kerrisk
2008-02-28 19:27                 ` Davide Libenzi
2008-01-18 13:43 Pierre Habouzit
2008-01-18 21:10 ` Davide Libenzi
2008-01-24  8:40   ` Pierre Habouzit
2008-01-24 23:57     ` Davide Libenzi
2008-01-26  7:37       ` Michael Kerrisk
     [not found]         ` <Pine.LNX.4.64.0801261308270.10472@alien.or.mcafeemobile.com>
2008-02-26 15:13           ` Michael Kerrisk
2008-02-26 19:04             ` Davide Libenzi
2008-02-26 19:14               ` Michael Kerrisk
2008-02-26 19:31                 ` Davide Libenzi

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=alpine.LSU.0.999.0802281942420.2968@be1.lrz \
    --to=7eggert@gmx.de \
    --cc=dada1@cosmosbay.com \
    --cc=davidel@xmailserver.org \
    --cc=davids@webmaster.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=madcoder@debian.org \
    --cc=mtk.manpages@googlemail.com \
    --cc=schmorp@schmorp.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox