From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.comp.lib.glibc.alpha,gmane.emacs.devel Subject: Re: Removal of unexec support from glibc malloc Date: Wed, 27 Jan 2016 17:52:53 -0500 Message-ID: References: <569CDB81.6040600@redhat.com> <569D3BE0.6050103@cs.ucla.edu> <569D4207.4060209@cs.ucla.edu> <569D6AE6.1060008@redhat.com> <83bn8icjqu.fsf@gnu.org> <83r3h86aqf.fsf@gnu.org> <56A7F07F.9000109@redhat.com> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: ger.gmane.org 1453935200 28093 80.91.229.3 (27 Jan 2016 22:53:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Jan 2016 22:53:20 +0000 (UTC) Cc: eliz@gnu.org, libc-alpha@sourceware.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Florian Weimer Original-X-From: libc-alpha-return-66749-glibc-alpha=m.gmane.org@sourceware.org Wed Jan 27 23:53:09 2016 Return-path: Envelope-to: glibc-alpha@plane.gmane.org Original-Received: from server1.sourceware.org ([209.132.180.131] helo=sourceware.org) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aOYxZ-0001rQ-2L for glibc-alpha@plane.gmane.org; Wed, 27 Jan 2016 23:53:09 +0100 DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:from:to:cc:in-reply-to:subject :reply-to:references:message-id:date; q=dns; s=default; b=JxWcA2 jwRWQkd/KGweQO9+j6RA7UmQNR+1rAOul7FnXPKBhHq2yO1wT3BmrUbZXtb/eTMU GVc96EfrZqUOp1s6u0UWdhEp/NoFxU5/HFxqnAzyNMqZxah1qKkKXL8h5tk7koP9 a2DmQpPVnV3GfEYiSECh4+xFkKKEnh/A8SkKI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:from:to:cc:in-reply-to:subject :reply-to:references:message-id:date; s=default; bh=agG28B0G46zn QsVZesetBHeCrk0=; b=gBRHxsVkV9Sg6/L1EALqZ/A6iBuWQe+3vopwDaammX4j vW1j7u+G/wAO40pRl+3MZSIqcQy+kQcFehWireFquOL3r+rTgAuSkFckYjchOjGq HQJuZbbTXabvtzqULAAFj4JPqifsaJRm+nVUZU3Za2WOVgO1mBMZrKjlbrTL2vA= Original-Received: (qmail 3638 invoked by alias); 27 Jan 2016 22:53:02 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Original-Sender: libc-alpha-owner@sourceware.org Original-Received: (qmail 3622 invoked by uid 89); 27 Jan 2016 22:53:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=enormous, President, president, FBI X-HELO: eggs.gnu.org In-reply-to: <56A7F07F.9000109@redhat.com> (message from Florian Weimer on Tue, 26 Jan 2016 23:17:35 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e Xref: news.gmane.org gmane.comp.lib.glibc.alpha:59037 gmane.emacs.devel:198931 [[[ 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.