From nobody Fri Dec 15 18:57:51 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 4SsJPq4R2wz53wsv for ; Fri, 15 Dec 2023 18:57:51 +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 4SsJPq2vqRz3NHY for ; Fri, 15 Dec 2023 18:57:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702666671; a=rsa-sha256; cv=none; b=m7DG23FjjcEmD4uLjbJl3kXBrqsb9AbbRphcEJBHdokQp2VFv5yXZU843B2MHpbCsdsjyZ fhkRfpbIHqEEYSBcIWc+At1aMogJwzRNeHxDL2Fz5CfpjFVBmnD83wcNhGrA1OCglfRqMc 7c0MePnjP4/GT+RC2TUi6RKYw4FDUactRaozn4c7T3qr9yP38KIn4JEa5OzitgIcFGPgxX vsg8t7GeB9Rem0BWjGo8Ms2wVhTCO/vs16AB/+/GQjfV3egTKlTdZaf60tgVyehV87LkqY +zkY3FYaRjiRFpPBcvFMrv0UpgAoKMA8CR2kwbLNVc4AY7XgwvZGvdg3OLM90g== 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=1702666671; 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=Yk+glm/iB/p/Ji/k+oI05hbQIqC/L0zg8vNSjJl8Zws=; b=lIvNULvFXJQ1VJNZQZ7Pqr0oj4jQdRsQ+y09fGhK+yWyyYST8Cq9vo3Sa+/ozmErlcZe6e v4/AMryc8ZA6P02k7WroE+Z9Y4WJ/3JjbalyHGwjnSq7O28mo1lHHXVbP4wYg38Xov+njK +FdjshWhv0rEzbsmtXKswLxhmktXwHB3MXh41i8NeFjMIZRsLE7Z4XNwgk6M7VEza6uTx+ WmBalubxGq+el5vQ4TJ6UuZj6iiDfGJGuF67rOMJ0+7+rj1DZ6vPfL4Cv+Xp9CZDCx3tNg yufqN8LFsPyL8dfwmHOWVs4NJZ8Cxlf+OT/DDpkf9C0Bux0N1WcTaXTSQkoebw== 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 4SsJPq1nF8z7fZ for ; Fri, 15 Dec 2023 18:57:51 +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 3BFIvpWW049519 for ; Fri, 15 Dec 2023 18:57:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BFIvpQb049518 for bugs@FreeBSD.org; Fri, 15 Dec 2023 18:57:51 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 18:57:51 +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 #9 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D9986fd59d855234cbb999b2a4099ad3cd= 094aa49 commit 9986fd59d855234cbb999b2a4099ad3cd094aa49 Author: Kyle Evans AuthorDate: 2023-12-01 01:26:09 +0000 Commit: Kyle Evans CommitDate: 2023-12-15 16:56:59 +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. ATF_REQUIRE_INTEQ was added after stable/13 branched, so we shim it out here. 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) | 72 ++++++++++++++++++= ++++ libexec/rtld-elf/tests/target/Makefile | 2 +- 11 files changed, 179 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=