Skip to content
  • Florian Weimer's avatar
    aa3d7bd5
    elf: Keep using minimal malloc after early DTV resize (bug 32412) · aa3d7bd5
    Florian Weimer authored
    
    
    If an auditor loads many TLS-using modules during startup, it is
    possible to trigger DTV resizing.  Previously, the DTV was marked
    as allocated by the main malloc afterwards, even if the minimal
    malloc was still in use.  With this change, _dl_resize_dtv marks
    the resized DTV as allocated with the minimal malloc.
    
    The new test reuses TLS-using modules from other auditing tests.
    
    Reviewed-by: default avatarDJ Delorie <dj@redhat.com>
    aa3d7bd5
    elf: Keep using minimal malloc after early DTV resize (bug 32412)
    Florian Weimer authored
    
    
    If an auditor loads many TLS-using modules during startup, it is
    possible to trigger DTV resizing.  Previously, the DTV was marked
    as allocated by the main malloc afterwards, even if the minimal
    malloc was still in use.  With this change, _dl_resize_dtv marks
    the resized DTV as allocated with the minimal malloc.
    
    The new test reuses TLS-using modules from other auditing tests.
    
    Reviewed-by: default avatarDJ Delorie <dj@redhat.com>
Loading