1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-28 08:02:54 +00:00
freebsd/lib/libc/sys
Kyle Evans d5f8270917 libc: switch to __weak_symbol for fortified interpose stubs
GCC doesn't like `#pragma weak macro(foo)`, but that's fine; just slap
a __weak_symbol on the definition to more reliably make it weak
anyways.

Reviewed by:	kib (earlier version), markj
Sponsored by:	Klara, Inc.
Sponsored by:	Stormshield
Differential Revision:	https://reviews.freebsd.org/D45976
2024-07-16 00:12:28 -05:00
..
accept4.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
accept.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
aio_suspend.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +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: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
close.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
closefrom.c lib{c,sys}: return wrapped syscall APIs to libc 2024-03-13 18:36:02 +00:00
compat-stub.c lib{c,sys}: return wrapped syscall APIs to libc 2024-03-13 18:36:02 +00:00
connect.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +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: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
fsync.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
getdents.c lib{c,sys}: return wrapped syscall APIs to libc 2024-03-13 18:36:02 +00:00
kevent.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +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: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
nanosleep.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
open.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
openat.c Revert "lib{c,sys}: normalize export of openat, setcontext, and swapcontext" 2024-04-19 22:25:04 +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: switch to __weak_symbol for fortified interpose stubs 2024-07-16 00:12:28 -05:00
POSIX2x_Fork.c lib{c,sys}: return wrapped syscall APIs to libc 2024-03-13 18:36:02 +00:00
ppoll.c libc: switch to __weak_symbol for fortified interpose stubs 2024-07-16 00:12:28 -05:00
pselect.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
read.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
readv.c libc: switch to __weak_symbol for fortified interpose stubs 2024-07-16 00:12:28 -05:00
recv.c include: ssp: fortify <sys/socket.h> 2024-07-13 00:16:26 -05:00
recvfrom.c libc: switch to __weak_symbol for fortified interpose stubs 2024-07-16 00:12:28 -05:00
recvmsg.c libc: switch to __weak_symbol for fortified interpose stubs 2024-07-16 00:12:28 -05:00
select.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
send.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
sendmsg.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
sendto.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
setcontext.c Revert "lib{c,sys}: normalize export of openat, setcontext, and swapcontext" 2024-04-19 22:25:04 +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: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
sigprocmask.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
sigsuspend.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
sigtimedwait.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
sigwait.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
sigwaitinfo.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
stat.c lib{c,sys}: return wrapped syscall APIs to libc 2024-03-13 18:36:02 +00:00
swapcontext.c Revert "lib{c,sys}: normalize export of openat, setcontext, and swapcontext" 2024-04-19 22:25:04 +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
wait3.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
wait4.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
wait6.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
wait.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +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: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00
writev.c libc: INTERPOS_SYS macro for interposed syscalls 2024-04-16 17:48:08 +01:00