[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: PATCH [1/1]: audit: acquire creds selectively to reduce atomic op overhead



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]