[PATCH 1/3] csu: randomize location of TCB

Adhemerval Zanella adhemerval.zanella@linaro.org
Wed Nov 25 13:18:54 GMT 2020



On 25/11/2020 08:36, Topi Miettinen via Libc-alpha wrote:
> Use mmap() for allocating TCB except if instructed by tunable
> glibc.malloc.use_sbrk. This makes the location of TCB random instead
> of always staying predictably next to data segment. When using mmap(),
> improve the logic so that allocation of TCB can be assumed to fail
> insted of segfaulting.
> 
> --
> v2: introduce a tunable to use sbrk()
> 
> Signed-off-by: Topi Miettinen <toiwoton@gmail.com>

Could you address the points I raised on your first version [1]
first?

[1] https://sourceware.org/pipermail/libc-alpha/2020-November/119988.html


More information about the Libc-alpha mailing list