[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F0EA367.8060105@cn.fujitsu.com>
Date: Thu, 12 Jan 2012 17:09:59 +0800
From: Li Zefan <lizf@...fujitsu.com>
To: Pekka Enberg <penberg@...nel.org>
CC: David Rientjes <rientjes@...gle.com>,
Sasha Levin <levinsasha928@...il.com>,
akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org
Subject: Re: [PATCH] mm: Don't warn if memdup_user fails
Pekka Enberg wrote:
> On Thu, Jan 12, 2012 at 8:43 AM, Pekka Enberg <penberg@...nel.org> wrote:
>> Sasha, I suppose strndup_user() has the same kind of issue?
>
> Oh, it uses memdup_user() internally. Sorry for the noise.
>
Before memdup_user() was introduced, strndup_user() called kmalloc()
directly, without specifying __GFP_NOWARN.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists