[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <653873ef-2a57-37e0-1ac3-fba763652b35@redhat.com>
Date: Fri, 2 Oct 2020 19:52:19 +0200
From: David Hildenbrand <david@...hat.com>
To: Topi Miettinen <toiwoton@...il.com>, akpm@...ux-foundation.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: optionally disable brk()
On 02.10.20 19:19, Topi Miettinen wrote:
> The brk() system call allows to change data segment size (heap). This
> is mainly used by glibc for memory allocation, but it can use mmap()
> and that results in more randomized memory mappings since the heap is
> always located at fixed offset to program while mmap()ed memory is
> randomized.
Want to take more Unix out of Linux?
Honestly, why care about disabling? User space can happily use mmap() if
it prefers.
--
Thanks,
David / dhildenb
Powered by blists - more mailing lists