From nobody Fri Dec 01 01:27:13 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 4ShFm11gwXz5346v for ; Fri, 1 Dec 2023 01:27:13 +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 4ShFm10bjlz4VKD for ; Fri, 1 Dec 2023 01:27:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701394033; 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=qemrgwZxvC+AAoLlN4PJ+RPt+foqi85sURh6nD6Yzhk=; b=tuWdMn3k4E/wSdw6c8Y6MCwi24BX+dFyaNH6QY+YoIyKmIu0ByBbqWCoomgarBNX7hhS9D EFOuGNgrr6CPlUKzIJWiCitYBMJQuK2pcP/pKbbYuJwYRM4EtfgcmErvtioViAsje5KlZH lJvZZF6gMr9TDyZCef25OrIQTfBxM3YJvYm9qrSBw3zcLSqABFDV8WB62Wkbr8D0aGU/Qm fuO5J9ql1CcmtPpS/YsqMSUp1yArymKzOwn685FJXRF4A6E9y9n7yuVHESo+5Ejpo4CSJU 5DlCZ6Nmi4fVOERQrqRUrAwrw2jl4NA41pY21yqgoftiA2cFQKIRQjxH0l1kDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701394033; a=rsa-sha256; cv=none; b=O1f2yOfOqcye07ylp0PhUXzOLKnjUg3P0ZIC6xZC6Ff1kA3C0H4KKWjhwlJ02T02Z5i5ab fJweW8UWWa43Bt3UWOme57+DLRuaR0UTv+SgBylBoxsxe8C0TM/LmwmjDo1EFv4r3++rHt GYBHNSR9/9hDXud/3gQVcCXRbdzUF9wrPMojpD0FFmX90rXaf1xD0YFXVH6QTNRladJKf2 XWEEvSDm1lA0xMBB6yLoaIiotd1MjuYpc+agAC6UYHF2LZdly0usTBWHqQJIcwb80d7KK3 z4jPe2DzldSkeKK7JucHvov4yr0ejsOIHdlTdqYxe2FPnFRK5ZlRV0wY6dUfEA== 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 4ShFm06gKlz1CVm for ; Fri, 1 Dec 2023 01:27:12 +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 3B11RC4s019796 for ; Fri, 1 Dec 2023 01:27:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B11RCSe019795 for bugs@FreeBSD.org; Fri, 1 Dec 2023 01:27:12 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, 01 Dec 2023 01:27:13 +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 #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dd9c543b6b0cabea6e6679d70b4e701018= e7eab80 commit d9c543b6b0cabea6e6679d70b4e701018e7eab80 Author: Kyle Evans AuthorDate: 2023-12-01 01:26:09 +0000 Commit: Kyle Evans CommitDate: 2023-12-01 01:26:09 +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. Differential Revision: https://reviews.freebsd.org/D42843 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.=