public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Q. IMA and mark_files_ro()
@ 2009-06-17 15:22 hooanon05
  0 siblings, 0 replies; only message in thread
From: hooanon05 @ 2009-06-17 15:22 UTC (permalink / raw)
  To: zohar; +Cc: linux-kernel


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-17 15:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-17 15:22 Q. IMA and mark_files_ro() hooanon05

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox