Thread (4 messages) 4 messages, 4 authors, 2020-12-03

Re: [PATCH v5] mm: Optional full ASLR for mmap(), mremap(), vdso and stack

flat view

From: Joseph Myers <hidden>
Date: 2020-12-03 19:27:45
Also in: linux-hardening, linux-mm, lkml

On Thu, 3 Dec 2020, Florian Weimer wrote:
My knowledge of probability theory is quite limited, so I have to rely
on simulations.  But I think you would see a 40 GiB gap somewhere for a
47-bit address space with 32K allocations, most of the time.  Which is
not too bad.
This is very close to a Poisson process (if the number of small 
allocations being distributed independently in the address space is 
large), so the probability that any given gap is at least x times the mean 
gap is about exp(-x).

-- 
Joseph S. Myers
joseph@codesourcery.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help