[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LSU.0.999.0802281942420.2968@be1.lrz>
Date: Thu, 28 Feb 2008 20:17:07 +0100 (CET)
From: Bodo Eggert <7eggert@....de>
To: Michael Kerrisk <mtk.manpages@...glemail.com>
cc: 7eggert@....de, Davide Libenzi <davidel@...ilserver.org>,
Pierre Habouzit <madcoder@...ian.org>,
lkml <linux-kernel@...r.kernel.org>,
Eric Dumazet <dada1@...mosbay.com>,
Marc Lehmann <schmorp@...morp.de>,
David Schwartz <davids@...master.com>
Subject: Re: epoll and shared fd's
On Thu, 28 Feb 2008, Michael Kerrisk wrote:
> On Tue, Feb 26, 2008 at 7:16 PM, Bodo Eggert <7eggert@....de> wrote:
> > Michael Kerrisk <mtk.manpages@...glemail.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists