public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Cc: linux-security-module@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	crispin@crispincowan.com
Subject: Re: Problem with accessing namespace_sem from LSM.
Date: Tue, 6 Nov 2007 13:35:59 +0000	[thread overview]
Message-ID: <20071106133559.GA13366@infradead.org> (raw)
In-Reply-To: <200711060400.lA640fuE078356@www262.sakura.ne.jp>

On Tue, Nov 06, 2007 at 01:00:41PM +0900, Tetsuo Handa wrote:
> Hello.
> 
> I found that accessing namespace_sem from security_inode_create()
> causes lockdep warning when compiled with CONFIG_PROVE_LOCKING=y .

Any code except VFS internals has no business using it at all and doesn't
do that in mainline either.  I'd start looking for design bugs in whatever
code you have using it first.


  parent reply	other threads:[~2007-11-06 13:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-06  4:00 Problem with accessing namespace_sem from LSM Tetsuo Handa
2007-11-06  4:11 ` Arjan van de Ven
2007-11-06  7:18   ` Toshiharu Harada
2007-11-06 13:35 ` Christoph Hellwig [this message]
2007-11-06 14:52   ` Tetsuo Handa
2007-11-07 17:30     ` Christoph Hellwig
2007-11-07 22:04       ` Tetsuo Handa
2007-11-07 22:45         ` Christoph Hellwig
2007-11-08  0:14           ` Tetsuo Handa
2007-11-08 18:58           ` Crispin Cowan

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=20071106133559.GA13366@infradead.org \
    --to=hch@infradead.org \
    --cc=crispin@crispincowan.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=penguin-kernel@i-love.sakura.ne.jp \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox