Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754026AbZICCUe (ORCPT ); Wed, 2 Sep 2009 22:20:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753431AbZICCUe (ORCPT ); Wed, 2 Sep 2009 22:20:34 -0400 Received: from tundra.namei.org ([65.99.196.166]:33242 "EHLO tundra.namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752959AbZICCUd (ORCPT ); Wed, 2 Sep 2009 22:20:33 -0400 Date: Thu, 3 Sep 2009 12:20:32 +1000 (EST) From: James Morris To: Mimi Zohar cc: linux-kernel@vger.kernel.org, David Safford , Mimi Zohar Subject: Re: [PATCH 1/1] IMA: open new file for read In-Reply-To: <66fbda5f63fbb20bfccf6fd3f8006718f7994ec6.1251901838.git.zohar@linux.vnet.ibm.com> Message-ID: References: <66fbda5f63fbb20bfccf6fd3f8006718f7994ec6.1251901838.git.zohar@linux.vnet.ibm.com> User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) 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: 677 Lines: 22 On Wed, 2 Sep 2009, Mimi Zohar wrote: > When creating a new file, ima_path_check() assumed the new file > was being opened for write. Call ima_path_check() with the > appropriate acc_mode so that the read/write counters are > incremented correctly. > > Signed-off-by: Mimi Zohar Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next -- 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/