mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Chris Wright <chrisw@osdl.org>
Cc: akpm@osdl.org, torvalds@osdl.org,
	Andrea Arcangeli <andrea@novell.com>,
	johansen@immunix.com, Stephen Smalley <sds@epoch.ncsc.mil>,
	Thomas Bleher <bleher@informatik.uni-muenchen.de>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] delay rq_lock acquisition in setscheduler
Date: Sat, 23 Oct 2004 12:40:26 +0200	[thread overview]
Message-ID: <20041023104026.GA31448@elte.hu> (raw)
In-Reply-To: <20041022125950.X2357@build.pdx.osdl.net>


* Chris Wright <chrisw@osdl.org> wrote:

> Doing access control checks with rq_lock held can cause deadlock when
> audit messages are created (via printk or audit infrastructure) which
> trigger a wakeup and deadlock, as noted by both SELinux and SubDomain
> folks.  This patch will let the security checks happen w/out lock held,
> then re-sample the p->policy in case it was raced.  Originally from John
> Johansen <johansen@immunix.com>, reworked by me.  AFAIK, this version
> drew no objections from Ingo or Andrea.  Please let me know if there's
> any issue with the patch.
> 
> From: John Johansen <johansen@immunix.com>
> Signed-off-by: Chris Wright <chrisw@osdl.org>

Acked-by: Ingo Molnar <mingo@elte.hu>

	Ingo

      reply	other threads:[~2004-10-23 10:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-22 19:59 Chris Wright
2004-10-23 10:40 ` Ingo Molnar [this message]

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=20041023104026.GA31448@elte.hu \
    --to=mingo@elte.hu \
    --cc=akpm@osdl.org \
    --cc=andrea@novell.com \
    --cc=bleher@informatik.uni-muenchen.de \
    --cc=chrisw@osdl.org \
    --cc=johansen@immunix.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sds@epoch.ncsc.mil \
    --cc=torvalds@osdl.org \
    /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

all inboxes | Powered by JetHome®