Re: [RFC/PATCH] revoke/frevoke system calls V2

From: Theodore Tso
Date: Tue Aug 08 2006 - 17:52:54 EST


On Tue, Aug 08, 2006 at 07:02:15PM +0300, Kari Hurtta wrote:
> "Pekka Enberg" <penberg@xxxxxxxxxxxxxx> writes:
>
> > On 8/8/06, Chase Venters <chase.venters@xxxxxxxxxxxx> wrote:
> > > IIRC, it returns EBADF because the file actually gets closed. The file
> > > descriptor, on the other hand, is permanently leaked.
> > >
> > > Have these details changed?
> >
> > No. Your description is accurate.
> >
> > Pekka
>
> So application can not close() it and recover file description?

That would be correct behavior, IMHO, and matches what happens with a
tty hangup.

- Ted
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/