Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753525AbZFGXJt (ORCPT ); Sun, 7 Jun 2009 19:09:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751722AbZFGXJl (ORCPT ); Sun, 7 Jun 2009 19:09:41 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:53641 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750955AbZFGXJk (ORCPT ); Sun, 7 Jun 2009 19:09:40 -0400 Date: Sun, 7 Jun 2009 16:09:27 -0700 (PDT) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain To: Mimi Zohar cc: Hugh Dickins , Mimi Zohar , Andrew Morton , Serge Hallyn , James Morris , Al Viro , linux-kernel@vger.kernel.org Subject: Re: [PATCH] integrity: fix IMA inode leak In-Reply-To: <1244354901.3963.23.camel@dyn9002018117.watson.ibm.com> Message-ID: References: <1244354901.3963.23.camel@dyn9002018117.watson.ibm.com> User-Agent: Alpine 2.01 (LFD 1184 2008-12-16) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 857 Lines: 24 On Sun, 7 Jun 2009, Mimi Zohar wrote: > > Mandatory Access Control(MAC) modules (i.e. SELinux, smack, etc) and > integrity (i.e IMA) are two different aspects of security. The LSM > hooks, which includes security_inode_free(), are used to implement MAC, > not integrity. So? It's under security/integrity. And it's a level of detail that fs/inode.c really doesn't care about. The VFS layer cares NOT AT ALL about your "different aspects of security", nor should it. The fact that security people think SELinux and IMA are different is irrelavant - fs/inode.c just doesn't care. Why should it? Linus -- 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/