lkml.org 
[lkml]   [2010]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH -mm 1/2] umh && creds: convert call_usermodehelper_keys() to use subprocess_info->init()
    On 02/26, David Howells wrote:
    >
    > Oleg Nesterov <oleg@redhat.com> wrote:
    >
    > > + /*
    > > + * This is called in context of freshly forked kthread before
    > > + * kernel_execve(), we can just change our ->session_keyring.
    > > + */
    >
    > Ummmm.... What gives you that idea?
    >
    > You may be sharing init_cred...

    How? Without CLONE_THREAD copy_creds() always creates the new
    struct cred for the child?

    Oleg.



    \
     
     \ /
      Last update: 2010-02-26 19:27    [W:0.041 / U:32.196 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site