[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for e
From: |
Rich Felker |
Subject: |
bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems |
Date: |
Mon, 21 Dec 2015 13:01:01 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Dec 21, 2015 at 03:10:04AM -0800, Paul Eggert wrote:
> Rich Felker wrote:
> >In practice it_might_ work to varying degrees, but it's fundamentally
> >fragile and wrong.
>
> Yes, of course. But I don't see how it's any more fundamentally
> fragile and wrong than what we're doing already, as we cannot
> prevent library functions from calling library allocators.
Unless the library code is static-linked to emacs, there's only an
issue if emacs actually saves a direct/indirect reference to the
allocated memory. If the library allocates it internally (e.g. in its
global ctors or init functions, with the pointer(s) saved to static
storage in the library) then all such references will be lost during
dumping and it doesn't matter whatsoever whether the memory is
properly dumped and available at runtime later.
Rich
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, (continued)
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Rich Felker, 2015/12/17
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Wolfgang Jenkner, 2015/12/17
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Eli Zaretskii, 2015/12/18
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Wolfgang Jenkner, 2015/12/18
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Eli Zaretskii, 2015/12/18
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Paul Eggert, 2015/12/20
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Rich Felker, 2015/12/20
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Paul Eggert, 2015/12/20
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Rich Felker, 2015/12/20
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Paul Eggert, 2015/12/21
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems,
Rich Felker <=
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Paul Eggert, 2015/12/23
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Ken Brown, 2015/12/20
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Rich Felker, 2015/12/20
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Ken Brown, 2015/12/21
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Daniel Colascione, 2015/12/21
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Rich Felker, 2015/12/21
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Daniel Colascione, 2015/12/21
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Eli Zaretskii, 2015/12/20
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Paul Eggert, 2015/12/21
- bug#22086: 25.1.50; [PATCH] Integrate the musl hybrid malloc patch for elf systems, Eli Zaretskii, 2015/12/21