[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1304101650210.27541@chino.kir.corp.google.com>
Date: Wed, 10 Apr 2013 16:50:51 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Rasmus Villemoes <linux@...musvillemoes.dk>
cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH] mm: madvise: complete input validation before taking
lock
On Wed, 10 Apr 2013, 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>
Acked-by: David Rientjes <rientjes@...gle.com>
Would be nice to do s/out_plug/out/ now if you have a chance.
--
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