lkml.org 
[lkml]   [2010]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH -mm 1/2] umh && creds: convert call_usermodehelper_keys() to use subprocess_info->init()
Date
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...

You need to create, modify and commit a new set of creds.

David


\
 
 \ /
  Last update: 2010-02-26 19:03    [W:0.122 / U:0.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site