Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030202AbWHHVzE (ORCPT ); Tue, 8 Aug 2006 17:55:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030303AbWHHVzD (ORCPT ); Tue, 8 Aug 2006 17:55:03 -0400 Received: from thunk.org ([69.25.196.29]:21142 "EHLO thunker.thunk.org") by vger.kernel.org with ESMTP id S1030261AbWHHVzB (ORCPT ); Tue, 8 Aug 2006 17:55:01 -0400 Date: Tue, 8 Aug 2006 17:54:50 -0400 From: Theodore Tso To: Kari Hurtta Cc: linux-kernel@vger.kernel.org Subject: Re: [RFC/PATCH] revoke/frevoke system calls V2 Message-ID: <20060808215450.GA12365@thunk.org> Mail-Followup-To: Theodore Tso , Kari Hurtta , linux-kernel@vger.kernel.org References: <20060807225642.GA31752@nevyn.them.org> <200608071813.18661.chase.venters@clientec.com> <84144f020608080516k183072efmdcc8a4dfc334b2fe@mail.gmail.com> <5dpsfbrzaw.fsf@attruh.keh.iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5dpsfbrzaw.fsf@attruh.keh.iki.fi> User-Agent: Mutt/1.5.11 X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on thunker.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 867 Lines: 24 On Tue, Aug 08, 2006 at 07:02:15PM +0300, Kari Hurtta wrote: > "Pekka Enberg" writes: > > > On 8/8/06, Chase Venters 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/