lkml.org 
[lkml]   [2009]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [patch 2/9] fs: Add missing rcu protection for __task_cred() in sys_ioprio_get
    Date
    Thomas Gleixner <tglx@linutronix.de> wrote:

    > sys_ioprio_get() accesses __task_cred() without being in a RCU read
    > side critical section. tasklist_lock is not protecting that when
    > CONFIG_TREE_PREEMPT_RCU=y.
    >
    > Add a rcu_read_lock/unlock() section around the code which accesses
    > __task_cred().
    >
    > Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

    Acked-by: David Howells <dhowells@redhat.com>


    \
     
     \ /
      Last update: 2009-12-11 14:49    [W:0.020 / U:61.272 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site