Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758006AbZLEU1M (ORCPT ); Sat, 5 Dec 2009 15:27:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757925AbZLEU1I (ORCPT ); Sat, 5 Dec 2009 15:27:08 -0500 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:57315 "EHLO www.etchedpixels.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757906AbZLEU1H (ORCPT ); Sat, 5 Dec 2009 15:27:07 -0500 Date: Sat, 5 Dec 2009 20:28:38 +0000 From: Alan Cox To: Miklos Szeredi Cc: Andy Lutomirski , miklos@szeredi.hu, akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] vfs: new O_NODE open flag Message-ID: <20091205202838.3456b6fc@lxorguk.ukuu.org.uk> In-Reply-To: References: <20091202191549.1dbffa2e@lxorguk.ukuu.org.uk> <20091202204828.4fa0c108@lxorguk.ukuu.org.uk> <4B1A7159.3070101@mit.edu> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.16.6; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 670 Lines: 14 > Maybe alan was worried about the O_NODE | O_RDWR, etc. case? That > simply doesn't make any sense for special files. I am concerned primarily about the lack of ability to get rid of such a handle in a controlled fashion. The udev/device unload case is simply one obvious way to exploit it. I still don't believe O_NODE makes sense without revoke(), and even then needs huge amounts of care on the device side of things. -- 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/