lkml.org 
[lkml]   [2009]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/1] exec: do not sleep in TASK_TRACED under ->cred_guard_mutex
Date
Oleg Nesterov <oleg@redhat.com> wrote:

> - install_exec_creds() drops the mutex after commit_creds(),
> and thus before tracehook_report_exec()->ptrace_stop().

Thanks!

> -
> - /* cred_guard_mutex must be held at least to this point to prevent
> - * ptrace_attach() from altering our determination of the task's
> - * credentials; any time after this it may be unlocked */
> -

Why are you removing this comment, btw? In what way does your patch
invalidate it?

David


\
 
 \ /
  Last update: 2009-09-04 16:53    [from the cache]
©2003-2011 Jasper Spaans