[<prev] [next>] [day] [month] [year] [list]
Message-ID: <9932.1245252122@jrobl>
Date: Thu, 18 Jun 2009 00:22:02 +0900
From: hooanon05@...oo.co.jp
To: zohar@...ibm.com
cc: linux-kernel@...r.kernel.org
Subject: Q. IMA and mark_files_ro()
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists