Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761393AbXEZSpl (ORCPT ); Sat, 26 May 2007 14:45:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757803AbXEZSpf (ORCPT ); Sat, 26 May 2007 14:45:35 -0400 Received: from mail4.sea5.speakeasy.net ([69.17.117.6]:35845 "EHLO mail4.sea5.speakeasy.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753674AbXEZSpe (ORCPT ); Sat, 26 May 2007 14:45:34 -0400 Date: Sat, 26 May 2007 14:45:32 -0400 (EDT) From: James Morris X-X-Sender: jmorris@d.namei To: Kyle Moffett cc: casey@schaufler-ca.com, Andreas Gruenbacher , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [AppArmor 01/41] Pass struct vfsmount to the inode_create LSM hook In-Reply-To: Message-ID: References: <309300.41401.qm@web36615.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 584 Lines: 20 On Sat, 26 May 2007, Kyle Moffett wrote: > AppArmor). On the other hand, if you actually want to protect the _data_, > then tagging the _name_ is flawed; tag the *DATA* instead. Bingo. (This is how traditional Unix DAC has always functioned, and is what SELinux does: object labeling). - James -- James Morris - 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/