From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755112Ab0CHRiB (ORCPT ); Mon, 8 Mar 2010 12:38:01 -0500 Received: from ppp173-197.broadband.gorge.net ([209.216.173.197]:38633 "EHLO localhost.localdomain" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754550Ab0CHRh5 (ORCPT ); Mon, 8 Mar 2010 12:37:57 -0500 Date: Mon, 8 Mar 2010 17:30:08 +0000 From: Alan Cox To: Ingo Molnar Cc: James Morris , linux-kernel@vger.kernel.org, Linus Torvalds , Kyle McMartin , Alexander Viro Subject: Re: Upstream first policy Message-ID: <20100308173008.7ae389ab@lxorguk.ukuu.org.uk> In-Reply-To: <20100308094647.GA14268@elte.hu> References: <20100308094647.GA14268@elte.hu> X-Mailer: Claws Mail 3.7.4 (GTK+ 2.18.7; i686-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 > In that sense it appears to me that it's pretty much a universal truth that > 'pathnames' are a far more fitting abstraction to any 'human based security Ingo - just about all the serious security work disagrees with you. Pathnames are references to objects and keep changing. What matters is the object itself. This is also how Unix has always worked Imagine if chmod applied to the path not the inode ? > Also, why was/(is?) AppArmor considered as a 'hostile competitor' I don't believe it was. It was perceived as a technical failure, and then the file system people shredded the bits the security folks didn't. There are certain things path name bases security works quite nicely for, primarily systems that have no concept of links. It's why it works ok-ish for httpd but for the general case nobody has ever really made it work properly. Alan