[Bug 275393] RTLD_DEEPBIND semantics not quite right
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 275393] RTLD_DEEPBIND semantics not quite right"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Dec 2023 18:57:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275393
--- Comment #9 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=9986fd59d855234cbb999b2a4099ad3cd094aa49
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(-)
--
You are receiving this mail because:
You are the assignee for the bug.