git: 672464f756e8 - main - libthr: always use __libc_interposing_slot()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Apr 2024 20:29:11 UTC
The branch main has been updated by brooks:
URL: https://cgit.FreeBSD.org/src/commit/?id=672464f756e8e2f723789f27df62704725e9fb82
commit 672464f756e8e2f723789f27df62704725e9fb82
Author: Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2024-04-22 18:24:26 +0000
Commit: Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-04-22 20:28:26 +0000
libthr: always use __libc_interposing_slot()
Use __libc_interposing_slot() in favor of __libsys_interposing_slot() so
that the interposing interface is entierly between libc and libthr with
libsys only involved as an implementation detail.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D44880
---
lib/libthr/thread/thr_syscalls.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/libthr/thread/thr_syscalls.c b/lib/libthr/thread/thr_syscalls.c
index 348825cd6198..ba07c92576c2 100644
--- a/lib/libthr/thread/thr_syscalls.c
+++ b/lib/libthr/thread/thr_syscalls.c
@@ -651,7 +651,7 @@ __thr_interpose_libc(void)
#undef SLOT
#define SLOT(name) \
- *(__libsys_interposing_slot(INTERPOS_##name)) = \
+ *(__libc_interposing_slot(INTERPOS_##name)) = \
(interpos_func_t)__thr_##name;
SLOT(accept);
SLOT(accept4);