Bug 1871391

Summary: glibc: Improve dynamic loader implementation
Product: Red Hat Enterprise Linux 8 Reporter: Carlos O'Donell <codonell>
Component: glibcAssignee: glibc team <glibc-bugzilla>
Status: CLOSED WONTFIX QA Contact: qe-baseos-tools-bugs
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.4CC: ashankar, codonell, dj, fweimer, mnewsome, pfrankli, sipoyare, skolosov
Target Milestone: rcKeywords: Triaged
Target Release: 8.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-28 14:52:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Carlos O'Donell 2020-08-23 02:13:08 UTC
Backport the following commits to improve the dynamic loader:

ad78d702757a189b1fa552d607e8aaa22252a45f
elf: Remove redundant add_to_global_resize_failure  call from dl_open_args

7b5bfe77836442b9aeb75cc520f0d1eb7f82be67
elf: Assert that objects are relocated before their constructors run

3ad5dab476205d6e16156cf0511fa6884b3b0fc4
elf: Do not signal LA_ACT_CONSISTENT for an empty namespace [BZ #26076]

Comment 5 Carlos O'Donell 2022-01-28 14:52:16 UTC
The first commit was backported as part of the fixes for the dl-tls.c assert issue (Bug 1991001).
The second commit is not really required since the assert hasn't triggered in a long time (belt-and-suspenders).
The third commit will come in with the LD_AUDIT fixes when they are completed upstream.

I'm closing out this proactive backport bug for ld.so improvements.