lkml.org 
[lkml]   [2011]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: PATCH [1/1]: audit: acquire creds selectively to reduce atomic op overhead
Date
Eric Paris <eparis@redhat.com> wrote:

> WARN_ON(cred != current->cred && cred->refcnt != 1)

'tsk->parent == current' perhaps? Or audit_alloc() could pass a flag
indicating the state, or just look to see if tsk->audit_context is still NULL.

David


\
 
 \ /
  Last update: 2011-03-15 21:13    [W:0.420 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site