Re: [PATCH] proc/pid/cmdline: Handle invalid cmdline changefailures correctly.

From: Timo Sirainen
Date: Fri Oct 16 2009 - 17:59:29 EST


On Fri, 2009-10-16 at 14:54 -0700, Andrew Morton wrote:
> On Sat, 03 Oct 2009 00:07:12 -0400
> Timo Sirainen <tss@xxxxxx> wrote:
>
> > Handle access_process_vm() failures correctly in /proc/pid/cmdline.
> > This bug might have leaked kernel memory to userspace.
> >
>
> And I don't see what it is. afacit the current code is correct.

It is, sorry. Someone had mentioned access_process_vm() could fail by
returning negative values and I didn't verify that myself before sending
this "fix".

Attachment: signature.asc
Description: This is a digitally signed message part