Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2023 18:57:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 275393] RTLD_DEEPBIND semantics not quite right
Message-ID:  <bug-275393-227-45K39UW7Mm@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-275393-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-275393-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kevans@FreeBSD.org>
AuthorDate: 2023-12-01 01:26:09 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275393-227-45K39UW7Mm>