]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rtld: add a test for RTLD_DEEPBIND
authorKyle Evans <kevans@FreeBSD.org>
Fri, 1 Dec 2023 01:26:09 +0000 (19:26 -0600)
committerKyle Evans <kevans@FreeBSD.org>
Fri, 1 Dec 2023 01:26:09 +0000 (19:26 -0600)
commitd9c543b6b0cabea6e6679d70b4e701018e7eab80
tree6622e39b86d2f2105ec8b46d7c808e2a410bc921
parent82506f26c03aa312b91e01a797f31e061749a76d
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
libexec/rtld-elf/tests/Makefile
libexec/rtld-elf/tests/Makefile.inc [new file with mode: 0644]
libexec/rtld-elf/tests/libdeep/Makefile [new file with mode: 0644]
libexec/rtld-elf/tests/libdeep/libdeep.c [new file with mode: 0644]
libexec/rtld-elf/tests/libval/Makefile [new file with mode: 0644]
libexec/rtld-elf/tests/libval/libval.c [new file with mode: 0644]
libexec/rtld-elf/tests/libval2/Makefile [new file with mode: 0644]
libexec/rtld-elf/tests/rtld_deepbind/Makefile [new file with mode: 0644]
libexec/rtld-elf/tests/rtld_deepbind/rtld_deepbind.c [new file with mode: 0644]
libexec/rtld-elf/tests/target/Makefile