Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753757AbZFQPWQ (ORCPT ); Wed, 17 Jun 2009 11:22:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752549AbZFQPWE (ORCPT ); Wed, 17 Jun 2009 11:22:04 -0400 Received: from mtoichi14.ns.itscom.net ([219.110.2.184]:53338 "EHLO mtoichi14.ns.itscom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752646AbZFQPWD (ORCPT ); Wed, 17 Jun 2009 11:22:03 -0400 From: hooanon05@yahoo.co.jp To: zohar@us.ibm.com cc: linux-kernel@vger.kernel.org Subject: Q. IMA and mark_files_ro() Date: Thu, 18 Jun 2009 00:22:02 +0900 Message-ID: <9932.1245252122@jrobl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 784 Lines: 20 I have a question about IMA. IMA tracks file-open and open for read/write individually based upon MAY_READ/WRITE or FMODE_READ/WRITE. But FMODE_WRITE may be dropped by mark_files_ro() which is called by emergency_remount(). In this case, 'readcount' and 'writecount' in IMA will be incorrect. And IMA will produce wrong messages. It may not be necessary to support such case (because it is "emergency"), so I don't say it is a big problem. But I'd like to ask whether it is an intended behaviour or not. Thanks in advance J. R. Okajima -- 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/