From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Cox Subject: Re: [RFC/PATCH] revoke/frevoke system calls V2 Date: Wed, 09 Aug 2006 11:42:07 +0100 Message-ID: <1155120128.5729.143.camel@localhost.localdomain> References: <20060805122936.GC5417@ucw.cz> <20060807101745.61f21826.froese@gmx.de> <84144f020608070251j2e14e909v8a18f62db85ff3d4@mail.gmail.com> <20060807224144.3bb64ac4.froese@gmx.de> <1155040157.5729.34.camel@localhost.localdomain> <20060809104155.48ad3c77.froese@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Pekka Enberg , Pavel Machek , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, akpm@osdl.org, viro@zeniv.linux.org.uk, tytso@mit.edu, tigran@veritas.com Return-path: Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:661 "EHLO lxorguk.ukuu.org.uk") by vger.kernel.org with ESMTP id S1030650AbWHIKWT (ORCPT ); Wed, 9 Aug 2006 06:22:19 -0400 To: Edgar Toernig In-Reply-To: <20060809104155.48ad3c77.froese@gmx.de> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Ar Mer, 2006-08-09 am 10:41 +0200, ysgrifennodd Edgar Toernig: > > If I own the file I can make it a symlink to a pty/tty pair > > I can revoke a pty/tty pair > > With the EIO/EOF behaviour that's not a problem - apps that deal > with ttys have to expect that condition. Think about it a moment - I can symlink any file to a tty/pty pair so any file I own you open might be a tty. > Hmm... which apps have an open fd on block devices? Usually a cdrecord, cd audio players, eject, ....