Removal of unexec support from glibc malloc
Richard Stallman
rms@gnu.org
Sat Jan 23 22:52:00 GMT 2016
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> AFAICS, it happens due to the following:
> . We call regex.c functions, which reuse an allocated buffer,
> extending it (via realloc) as needed; that buffer gets frozen with
> malloc arena used during dumping
> . We delete the terminal frame used by temacs and free its resources
> . Not 100% sure, but I think we also release/reallocate some
> font-related stuff
> It's easy to catch all those cases by setting a breakpoint on realloc
> and free during startup.
It may be a pain to fix them if they happen inside libraries.
--
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.
More information about the Libc-alpha
mailing list