[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFz3JW6HnTC-4xqOBsgQNboLbjvZnQ0h7KfaZjQVinAt2g@mail.gmail.com>
Date: Tue, 26 Feb 2013 16:30:50 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Heiko Carstens <heiko.carstens@...ibm.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Gerald Schaefer <gerald.schaefer@...ibm.com>,
Martin Schwidefsky <schwidefsky@...ibm.com>
Subject: Re: bug in generic strncpy_from_user
On Tue, Feb 26, 2013 at 3:43 PM, Linus Torvalds
<torvalds@...ux-foundation.org> wrote:
>
> So I'll need to extend on that logic a bit more.
Ok, here's the fleshed-out patch. Also fixed to use "expand_stack()",
which is what the page fault handling actually uses. And it has the
GROWSUP case as well as a comment about this all.
So it all looks good. But it's still totally and entirely untested.
Because that's how I roll. Gangsta life!
Linus
Download attachment "patch.diff" of type "application/octet-stream" (1520 bytes)
Powered by blists - more mailing lists