freebsd-src/lib/libc/sys
Brooks Davis b59aecef03 libc: stop trying to create __<syscall> symbols
When we switched to an interposing table (commit 8495e8b1e9) for
cancelation points we stopped having concrete implementations of
__<syscall> and instead use __sys_<syscall> and __thr_<syscall>.
These entries of the form:

	__weak_reference(__sys_<syscall>, __<syscall>);

seem to be intended to preserve these symbols, but they have no effect
as __sys_<syscall> isn't defined in the translation units in question.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D51668
2025-08-06 12:31:24 +01:00
..
accept.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
accept4.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
aio_suspend.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
brk.c lib{c,sys}: return wrapped syscall APIs to libc 2024-03-13 18:36:02 +00:00
clock_nanosleep.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
close.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
closefrom.c closefrom: always use close_range(2) 2025-06-06 22:58:29 +01:00
compat-stub.c lib{c,sys}: return wrapped syscall APIs to libc 2024-03-13 18:36:02 +00:00
connect.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
creat.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
fcntl.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
fdatasync.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
fork.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
fsync.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
getdents.c lib{c,sys}: return wrapped syscall APIs to libc 2024-03-13 18:36:02 +00:00
kevent.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
lockf.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
lstat.c lib{c,sys}: return wrapped syscall APIs to libc 2024-03-13 18:36:02 +00:00
Makefile.inc lib{c,sys}: return wrapped syscall APIs to libc 2024-03-13 18:36:02 +00:00
mknod.c lib{c,sys}: return wrapped syscall APIs to libc 2024-03-13 18:36:02 +00:00
msync.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
nanosleep.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
open.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
openat.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
pdfork.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
pipe.c lib{c,sys}: return wrapped syscall APIs to libc 2024-03-13 18:36:02 +00:00
poll.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
POSIX2x_Fork.c lib{c,sys}: return wrapped syscall APIs to libc 2024-03-13 18:36:02 +00:00
ppoll.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
pselect.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
read.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
readv.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
recv.c include: ssp: fortify <sys/socket.h> 2024-07-13 00:16:26 -05:00
recvfrom.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
recvmsg.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
select.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
send.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
sendmsg.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
sendto.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
setcontext.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
shm_open.c lib{c,sys}: return wrapped syscall APIs to libc 2024-03-13 18:36:02 +00:00
sigaction.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
sigprocmask.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
sigsuspend.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
sigtimedwait.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
sigwait.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
sigwaitinfo.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
stat.c lib{c,sys}: return wrapped syscall APIs to libc 2024-03-13 18:36:02 +00:00
swapcontext.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
Symbol.map lib{c,sys}: return wrapped syscall APIs to libc 2024-03-13 18:36:02 +00:00
vadvise.c lib{c,sys}: return wrapped syscall APIs to libc 2024-03-13 18:36:02 +00:00
wait.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
wait3.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
wait4.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
wait6.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
waitid.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
waitpid.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
write.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00
writev.c libc: stop trying to create __<syscall> symbols 2025-08-06 12:31:24 +01:00