Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2024 20:29:11 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 672464f756e8 - main - libthr: always use __libc_interposing_slot()
Message-ID:  <202404222029.43MKTBTV000927@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404222029.43MKTBTV000927>