[Bug 275393] RTLD_DEEPBIND semantics not quite right

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 01 Dec 2023 01:27:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275393

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=d9c543b6b0cabea6e6679d70b4e701018e7eab80

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(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.