From nobody Fri Dec 15 16:51:26 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SsFby4bfXz53nfm for ; Fri, 15 Dec 2023 16:51:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SsFby2wxsz4cj5 for ; Fri, 15 Dec 2023 16:51:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702659086; a=rsa-sha256; cv=none; b=JmPpGlMZ0GmsAyK4n4dR2Xi3Ao1VN15QHzG1E9F1oH0E+IOo9To/sdTFKZ6FkGPBScevk1 ATQ6KYE1P6pYLbTXdaoy3s2Ptg6RyYY3ABwkeQo+E7D0O3Qt8fg8xicf+1JpqBHJ3pmE6k b22rocVsiIiKki1Exdqch19SuriRvHtEFlDubW3XtjZVpWfa23TJkFOv+MsasONlBN+PCx fjIo9vVR/N8wAQMxlYQmgrRMezAsSmDDJKMF4wWzighlrh4ld2fR3zcYG2mFals3oDdHNq 16FwvXOlkqgHZYcTvkDxc6rdoShsUJ/Yhs9GlHEHS90xpMkCBUnM98WiIb0xXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702659086; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TOsb9lIUzzQkCHabfTWkIVOADy44KZWq1LvRsaod8c4=; b=BFGFTKudka1bhWkOOK0U/ZekRbmCJnAhQe2/0UjRyQ+ZIXB2NLlHPqcM2LUEDiHFnvDYvi HfAhwNgo7tx3Htt+PERhneOcqBawOeIaBcfk54izPUD4lYIxNtj5FvqFbQk2Pw82ZJjjua fB1ramTistMz6q/SH9XgtY0EAaVaLYhxRHJMrPnOhJ8sn3ns0Dpr1awcX3lBaTTzk87vzn p232K1ZNgrcmKu0FWlrDQGlyWV9Dg/Q8p5JTpy+oTjwCu/VuGQhXyfFzGDnEMLGIxKE2i0 UQ+FCScp2URBtda3aFumqqR4whAyehSpIMbHEi/Efbd4s2Fbk2mS1cLLiu4+GA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SsFby1sZmz3tB for ; Fri, 15 Dec 2023 16:51:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3BFGpQAa065212 for ; Fri, 15 Dec 2023 16:51:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BFGpQoi065211 for bugs@FreeBSD.org; Fri, 15 Dec 2023 16:51:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 275393] RTLD_DEEPBIND semantics not quite right Date: Fri, 15 Dec 2023 16:51:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: 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: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275393 --- Comment #8 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D2ef9079ece5a97aba7a288040fea805d8= 599a6f4 commit 2ef9079ece5a97aba7a288040fea805d8599a6f4 Author: Kyle Evans AuthorDate: 2023-12-01 01:26:09 +0000 Commit: Kyle Evans CommitDate: 2023-12-15 00:58:36 +0000 rtld: add a test for RTLD_DEEPBIND This tests that with RTLD_DEEPBIND, symbols are looked up in all of the object's needed objects before the global object. PR: 275393 Reviewed by: kib Sponsored by: NetApp, Inc. Sponsored by: Klara, Inc. (cherry picked from commit d9c543b6b0cabea6e6679d70b4e701018e7eab80) etc/mtree/BSD.tests.dist | 2 + libexec/rtld-elf/tests/Makefile | 5 +- libexec/rtld-elf/tests/Makefile.inc (new) | 3 + libexec/rtld-elf/tests/libdeep/Makefile (new) | 15 +++++ libexec/rtld-elf/tests/libdeep/libdeep.c (new) | 28 ++++++++++ libexec/rtld-elf/tests/libval/Makefile (new) | 10 ++++ libexec/rtld-elf/tests/libval/libval.c (new) | 26 +++++++++ libexec/rtld-elf/tests/libval2/Makefile (new) | 8 +++ .../rtld-elf/tests/rtld_deepbind/Makefile (new) | 10 ++++ .../tests/rtld_deepbind/rtld_deepbind.c (new) | 65 ++++++++++++++++++= ++++ libexec/rtld-elf/tests/target/Makefile | 2 +- 11 files changed, 172 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=