elf: Add ld.so test with non-existing program name
commitae7468a7b0bcf22e9cd5fcae42bb9e4f65de83ee
authorFlorian Weimer <fweimer@redhat.com>
Mon, 8 Apr 2024 17:19:09 +0000 (8 19:19 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 8 Apr 2024 17:19:09 +0000 (8 19:19 +0200)
tree0836229f9c1eb413669ac6e43c8886d570728ab9
parent1cce91d8aed5c3eca2b6f47767c82d9ed3e9e33f
elf: Add ld.so test with non-existing program name

None of the existing tests seem to cover the case where
_dl_signal_error is called without an active error handler.
The new elf/tst-rtld-does-not-exist test triggers such a
_dl_signal_error call from _dl_map_object.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
elf/Makefile
elf/tst-rtld-does-not-exist.sh [new file with mode: 0644]