[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240611194312.6048eba27c9ff3869040a35c@linux-foundation.org>
Date: Tue, 11 Jun 2024 19:43:12 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Rafael Aquini <aquini@...hat.com>
Cc: linux-kernel@...r.kernel.org, Arnd Bergmann <arnd@...db.de>, Heiko
Carstens <hca@...ux.ibm.com>, Petr Mladek <pmladek@...e.com>, Mike Rapoport
<rppt@...nel.org>, Paul McKenney <paulmck@...nel.org>, Samuel Holland
<samuel.holland@...ive.com>
Subject: Re: [PATCH v2] mm: mmap: allow for the maximum number of bits for
randomizing mmap_base by default
On Tue, 11 Jun 2024 21:35:24 -0400 Rafael Aquini <aquini@...hat.com> wrote:
> > Shouldn't we make this the default (at least for 32-bit) so the
> > regressed kernels are fixed simply by applying this patch?
> >
>
> That is a fair take, indeed. I guess we could do something like
>
> config FORCE_MAX_MMAP_RND_BITS
> bool "Force maximum number of bits to use for ASLR of mmap base address"
> - default n
> + default y if !64BIT
"something like" != "exhaustively tested" ;)
I'll toss that in there, but please do let me know when it is suitable
for an upstream merge.
I also added cc:stable.
Powered by blists - more mailing lists