freebsd-src/libexec/rtld-elf/tests
Kyle Evans c5796f1572 rtld: add some dlopen tests
dlopen_basic just tests that libthr.so can be dlopen()ed, which will
just serve as a sanity check that "libthr.so" is a thing that can be
dlopened in case we get a weird failure in dlopen_recursing.

dlopen_recursing tests a regression reported after the libsys split,
where some dlopen() may cause infinite recursion and a resulting crash.
This case is inspired by bdrewery's description of what seemed to be
causing his issue.

The corresponding fix landed in commit
968a18975a ("rtld: ignore load_filtees() calls if we already [...]")

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D43859
2024-02-13 09:38:02 -06:00
..
libdeep rtld: add a test for RTLD_DEEPBIND 2023-11-30 19:26:09 -06:00
libpythagoras Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
libval rtld: add a test for RTLD_DEEPBIND 2023-11-30 19:26:09 -06:00
libval2 rtld: add a test for RTLD_DEEPBIND 2023-11-30 19:26:09 -06:00
rtld_deepbind rtld: add a test for RTLD_DEEPBIND 2023-11-30 19:26:09 -06:00
target rtld: add a test for RTLD_DEEPBIND 2023-11-30 19:26:09 -06:00
common.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
common.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
dlopen_test.c rtld: add some dlopen tests 2024-02-13 09:38:02 -06:00
ld_library_pathfds.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ld_preload_fds.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Makefile rtld: add some dlopen tests 2024-02-13 09:38:02 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.inc rtld: add a test for RTLD_DEEPBIND 2023-11-30 19:26:09 -06:00