Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761994AbYB1Ta3 (ORCPT ); Thu, 28 Feb 2008 14:30:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750759AbYB1TaU (ORCPT ); Thu, 28 Feb 2008 14:30:20 -0500 Received: from x35.xmailserver.org ([64.71.152.41]:34442 "EHLO x35.xmailserver.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753503AbYB1TaU (ORCPT ); Thu, 28 Feb 2008 14:30:20 -0500 X-AuthUser: davidel@xmailserver.org Date: Thu, 28 Feb 2008 11:30:18 -0800 (PST) From: Davide Libenzi X-X-Sender: davide@alien.or.mcafeemobile.com To: Bodo Eggert <7eggert@gmx.de> cc: Michael Kerrisk , Pierre Habouzit , lkml , Eric Dumazet , Marc Lehmann , David Schwartz Subject: Re: epoll and shared fd's In-Reply-To: Message-ID: References: <9MZLT-1YO-33@gated-at.bofh.it> <9N6Ng-5tn-21@gated-at.bofh.it> <9P5WE-33i-11@gated-at.bofh.it> <9Pk9l-1KA-1@gated-at.bofh.it> <9PNNZ-b0-5@gated-at.bofh.it> X-GPG-FINGRPRINT: CFAE 5BEE FD36 F65E E640 56FE 0974 BF23 270F 474E X-GPG-PUBLIC_KEY: http://www.xmailserver.org/davidel.asc MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1638 Lines: 44 On Thu, 28 Feb 2008, Bodo Eggert wrote: > 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 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). Exactly! Michael, I noticed that there's a reference to it in Q6. We better clarify that one. - Davide -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/