[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5165FC42.6060304@gmail.com>
Date: Wed, 10 Apr 2013 19:56:50 -0400
From: KOSAKI Motohiro <kosaki.motohiro@...il.com>
To: Rasmus Villemoes <linux@...musvillemoes.dk>
CC: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
kosaki.motohiro@...il.com
Subject: Re: [PATCH] mm: madvise: complete input validation before taking
lock
(4/10/13 7:45 PM), Rasmus Villemoes wrote:
> In madvise(), there doesn't seem to be any reason for taking the
> ¤t->mm->mmap_sem before start and len_in have been
> validated. Incidentally, this removes the need for the out: label.
>
>
> Signed-off-by: Rasmus Villemoes <linux@...musvillemoes.dk>
Looks good.
Acked-by: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
--
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