Re: epoll and shared fd's

From: Valdis . Kletnieks
Date: Thu Feb 28 2008 - 10:05:36 EST


On Tue, 26 Feb 2008 19:16:30 +0100, Bodo Eggert said:
> Michael Kerrisk <mtk.manpages@xxxxxxxxxxxxxx> wrote:

> > file handle have been closed. This means that
> > even after a file descriptor that is part of an
> > epoll set has been closed, events may be reported
> > for that file descriptor if other file descriptors
> > referring to the same underlying file description
> > remain open.

Is it worth making special mention of the case where a process gets events
for a FD that it has closed, because a parent or child process still has
an inherited copy of the FD still open?

Attachment: pgp00000.pgp
Description: PGP signature