All of lore.kernel.org
 help / color / mirror / Atom feed
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	[thread overview]
Message-ID: <9932.1245252122@jrobl> (raw)


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

                 reply	other threads:[~2009-06-17 15:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9932.1245252122@jrobl \
    --to=hooanon05@yahoo.co.jp \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zohar@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.