Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Dec 2023 01:27:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 275393] RTLD_DEEPBIND semantics not quite right
Message-ID:  <bug-275393-227-7wALSTdk4o@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 #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 <kevans@FreeBSD.org>
AuthorDate: 2023-12-01 01:26:09 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
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.=



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