opnsense-src/libexec/rtld-elf
Brooks Davis cdb24fbb0a libsys: Don't create or expose __realpathat
Previously, __realpathat was in libc and libsys (as is currently
standard), but not exported from libc which meant the stub in libc was
not filtered and thus libc's copy of the syscall was used.  This broke
an upcoming change to CheriBSD limiting syscalls to libsys.

The realpath(3) implementation now uses __sys___realpathat so there are no
consumers of __realpathat.  Switch it to PSEUDO (only _foo and __sys_foo
symbols) and remove __realpathat from Symbol.map.

This is a corrected version of 58d43a3cd7.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D49049
2025-02-19 20:05:47 +00:00
..
aarch64 rtld-elf: Pass parsed aux_info to ifunc_init 2024-08-22 20:36:44 +01:00
amd64 rtld-elf/amd64/reloc.c: apply clang-format 2025-01-21 03:44:49 +02:00
arm rtld-elf: Pass parsed aux_info to ifunc_init 2024-08-22 20:36:44 +01:00
i386 rtld-elf/i386/reloc.c: apply clang-format 2025-01-21 03:44:58 +02:00
powerpc rtld-elf: Pass parsed aux_info to ifunc_init 2024-08-22 20:36:44 +01:00
powerpc64 rtld-elf: Pass parsed aux_info to ifunc_init 2024-08-22 20:36:44 +01:00
riscv rtld-elf: Add CFI annotation for .rtld_start on RISC-V 2024-08-25 21:51:55 -07:00
rtld-libc libsys: Don't create or expose __realpathat 2025-02-19 20:05:47 +00:00
tests Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
debug.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
debug.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libmap.c Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:23 -06:00
libmap.conf Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
libmap.h Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:23 -06:00
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.depend Update Makefile.depend files 2024-10-14 10:26:17 -07:00
map_object.c rtld-elf/map_object.c: apply clang-format 2025-01-21 03:44:35 +02:00
rtld.1 rtld.1: cross-reference rtld_get_var.3 2024-11-07 07:15:30 +02:00
rtld.c rtld: clear any holes in the struct utrace_rtld passed to kernel logger 2025-02-05 12:33:29 +02:00
rtld.h rtld: Support multiple PT_GNU_RELRO program headers 2024-12-06 17:37:50 -05:00
rtld_lock.c rtld: add LD_NO_DL_ITERATE_PHDR_AFTER_FORK env var 2024-07-30 02:57:33 +03:00
rtld_lock.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
rtld_malloc.c libexec: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
rtld_malloc.h Remove "All Rights Reserved" from FreeBSD Foundation copyrights 2024-07-30 12:16:36 -04:00
rtld_paths.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
rtld_printf.c rtld: Catch up to 07d90ee0a6 in subr_prf.c: Fix '+' conversion handling 2024-09-22 10:52:11 -06:00
rtld_printf.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
rtld_tls.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
rtld_utrace.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Symbol.map rtld: implement _dl_iterate_phdr_locked 2024-11-13 19:33:59 -06:00
xmalloc.c rtld: switch from malloc_aligned() to __crt_aligned_alloc() 2023-08-21 17:16:42 +03:00