[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1259956912.2722.47.camel@localhost>
Date: Fri, 04 Dec 2009 15:01:52 -0500
From: Eric Paris <eparis@...hat.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org,
uclinux-dist-devel@...ckfin.uclinux.org, dhowells@...hat.com,
gyang@...ckfin.uclinux.org, john.johansen@...onical.com,
Mike Frysinger <vapier.adi@...il.com>, stable@...nel.org
Subject: Re: [PATCH] security: do not check mmap_min_addr on nommu systems
On Thu, 2009-12-03 at 11:58 -0800, Andrew Morton wrote:
> On Thu, 03 Dec 2009 14:43:01 -0500
> Eric Paris <eparis@...hat.com> wrote:
>
> > 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.
>
> This replaces David's
> nommu-ignore-the-address-parameter-in-the-file_mmap-security-check.patch,
> which missed 2.6.32.
>
> What are our thoughts wrt backporting this fix in some form into
> 2.6.32.x and earlier?
It would be very simple to do if anyone really wanted it. Seems the
only people who hit the problem already are happy with their temporary
hack. If anyone is actually hitting this bug, would actually update to
a stable kernel to get the fix, and would like me to send it that way
let me know and I will.
-Eric
--
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