From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CC73E385782D; Tue, 5 Jul 2022 14:59:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CC73E385782D From: "64.delta at proton dot me" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/29317] dlsym with RTLD_DEFAULT causes library to be marked as NODELETE (preventing unloading) Date: Tue, 05 Jul 2022 14:59:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: 64.delta at proton dot me X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2022 14:59:43 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29317 --- Comment #2 from Matt <64.delta at proton dot me> --- > Could you share more context why this is problematic for your application= , please? This isn't a particularly problematic issue; rather something I stumbled up= on when testing another dynamic linker. I just think it's fair for users to as= sume that dlclose() would unload the library here. > (The log message is misleading, it should say =E2=80=9Creference FROM mai= n program=E2=80=9D, I'll post a patch to fix that.) Much appreciated. --=20 You are receiving this mail because: You are on the CC list for the bug.=