* [PATCH -mm 0/2] umh && creds: kill sub_info->cred
@ 2010-02-25 18:14 Oleg Nesterov
2010-02-26 15:24 ` David Howells
0 siblings, 1 reply; 3+ messages in thread
From: Oleg Nesterov @ 2010-02-25 18:14 UTC (permalink / raw)
To: Andrew Morton, David Howells; +Cc: Andi Kleen, Neil Horman, linux-kernel
(on top of kmod-replace-call_usermodehelper_pipe-with-use-of-umh-init-function-and-resolve-limit.patch)
David, all.
I was going to do some minor fixes in kmod.c, but looking at this
code I am really puzzled by subprocess_info->cred complications.
I know absoulutely nothing about creds/keys, but at first glance
this all looks completely unnecessary?
IOW, please review these 2 simple patches. And sorry, I have no
idea how to really test these changes.
In case you are not aware of recent call_usermodehelper() changes
in -mm: struct subprocess_info has the new members,
int (*init)(struct subprocess_info *info);
void (*cleanup)(struct subprocess_info *info);
void *data;
info->init() is called by ____call_usermodehelper() right before kernel_execve(),
info->cleanup() is called by call_usermodehelper_freeinfo().
info->data is obvious.
And we have the new helper, call_usermodehelper_setfns(init, cleanup, data)
which merely initializes these members.
Oleg.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -mm 0/2] umh && creds: kill sub_info->cred
2010-02-25 18:14 [PATCH -mm 0/2] umh && creds: kill sub_info->cred Oleg Nesterov
@ 2010-02-26 15:24 ` David Howells
2010-02-26 16:33 ` Oleg Nesterov
0 siblings, 1 reply; 3+ messages in thread
From: David Howells @ 2010-02-26 15:24 UTC (permalink / raw)
To: Oleg Nesterov
Cc: dhowells, Andrew Morton, Andi Kleen, Neil Horman, linux-kernel
Oleg Nesterov <oleg@redhat.com> wrote:
> (on top of kmod-replace-call_usermodehelper_pipe-with-use-of-umh-init-function-and-resolve-limit.patch)
Can you send me this patch? Your patches as they stand don't apply to the
latest Linus tree.
David
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -mm 0/2] umh && creds: kill sub_info->cred
2010-02-26 15:24 ` David Howells
@ 2010-02-26 16:33 ` Oleg Nesterov
0 siblings, 0 replies; 3+ messages in thread
From: Oleg Nesterov @ 2010-02-26 16:33 UTC (permalink / raw)
To: David Howells; +Cc: Andrew Morton, Andi Kleen, Neil Horman, linux-kernel
On 02/26, David Howells wrote:
>
> Oleg Nesterov <oleg@redhat.com> wrote:
>
> > (on top of kmod-replace-call_usermodehelper_pipe-with-use-of-umh-init-function-and-resolve-limit.patch)
>
> Can you send me this patch? Your patches as they stand don't apply to the
> latest Linus tree.
I guess you need 5 patches from -mm, I'll send you them privately
in a minute...
Oleg.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-26 16:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-25 18:14 [PATCH -mm 0/2] umh && creds: kill sub_info->cred Oleg Nesterov
2010-02-26 15:24 ` David Howells
2010-02-26 16:33 ` Oleg Nesterov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox