[lkml]   [2009]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] mm/nommu.c: Fix improperly call of security API in mmap
On Fri, 2009-11-20 at 11:50 -0800, Andrew Morton wrote:
> On Fri, 20 Nov 2009 14:32:02 -0500

> > security: do not check mmap_min_addr on nommu systems
> >
> > nommu systems can do anything with memory they please and so they already
> > win. mmap_min_addr is the least of their worries. Currently the
> > mmap_min_addr implementation is problamatic on such systems. This patch
> > changes the addr_only argument to be a flags which can take the arguments
> > for addr_only or not_addr. LSMs then need to properly implement these two
> > flags.
> >
> > Signed-off-by: Eric Paris <>
> Patch doesn't apply to current mainline for some reason. I fixed that
> up and checked that the affected files compile OK on superh.

It was against my linux-next devel tree, probably something new in
James' for-next tree. Are people hoping for this in stable or should we
just queue for -next? This is a pretty old bug I guess people are just
hitting for the first time...

> The patch adds trailing whitespace. If only we had a tool for that ;)


 \ /
  Last update: 2009-11-20 21:03    [W:0.080 / U:2.900 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site