lkml.org 
[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
    From
    Date
    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 <eparis@redhat.com>
    >
    > 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 ;)

    Fixed.



    \
     
     \ /
      Last update: 2009-11-20 21:03    [W:0.031 / U:30.304 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site