This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Removal of unexec support from glibc malloc


[[[ 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. ]]]

  > I think the dump-and-reload cycle resets global variables defined in
  > libraries as long as they are not referenced by the main program.  This
  > means libraries have difficulties to retain references to objects
  > allocated before the dump.

Variables allocated by static libraries are stored like variables
allocated in any other file.  Their value should be dumped.

I don't know what happens with shared libraries, but

  >   This
  > means libraries have difficulties to retain references to objects
  > allocated before the dump.

if that were true, we would see enormous problems, so I think it
must not be true.

-- 
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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]