Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754954AbZF1WuL (ORCPT ); Sun, 28 Jun 2009 18:50:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752262AbZF1WuA (ORCPT ); Sun, 28 Jun 2009 18:50:00 -0400 Received: from tundra.namei.org ([65.99.196.166]:33359 "EHLO tundra.namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752106AbZF1WuA (ORCPT ); Sun, 28 Jun 2009 18:50:00 -0400 Date: Mon, 29 Jun 2009 08:50:00 +1000 (EST) From: James Morris To: Mimi Zohar cc: linux-kernel@vger.kernel.org, "J.R. Okajima" , David Safford , Mimi Zohar Subject: Re: [PATCH] integrity: add ima_counts_put (updated) In-Reply-To: <1246039527.4809.18.camel@dyn9002018117.watson.ibm.com> Message-ID: References: <1246029874-6860-1-git-send-email-zohar@linux.vnet.ibm.com> <1246039527.4809.18.camel@dyn9002018117.watson.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: 731 Lines: 22 On Fri, 26 Jun 2009, Mimi Zohar wrote: > This patch fixes an imbalance message as reported by J.R. Okajima. > The IMA file counters are incremented in ima_path_check. If the > actual open fails, such as ETXTBSY, decrement the counters to > prevent unnecessary imbalance messages. > > Signed-off-by: Mimi Zohar Don't forget to use "Reported-by:" lines for the bug reporter. Have you tested this using the original test case? -- 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/