lkml.org 
[lkml]   [2004]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] delay rq_lock acquisition in setscheduler

* 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.030 / U:4.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site