From nobody Mon Apr 22 20:29:11 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VNcKh1JrLz5Hqhv; Mon, 22 Apr 2024 20:29:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VNcKh0lkRz4wmL; Mon, 22 Apr 2024 20:29:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713817752; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sypu2JfLx+ZIpFOqUgGWuKeS5gUgKpbGeo/O0+Mp7as=; b=Vviv0fltW7NYNPnMj3yKPywqzxkZ0tq/6Xez8Z2sUlKKewU37Q7IE5RaaoZhfByNTW1/SN jlboZ2LVWOpxW1hP1DiuPC7N+i961DuTHg6ih/GjQHxHdprGXnX8kDGbq5Mx2V5kNwW5NS hKT73ztZZCdSvTR4HCbFHO4etsZ0t3kvmNq861wICW97cEaMlsjax2jN5uqzyKrJDkSDsS N/OEHhCeVI3aHRDszu/LV6FOacZia5VgizJogcUmvwuSYfbe3xB9KJIMgoyNY9E4ImPIRU x7FDR85k0ahhu/appUakg87xtzilffytVkQ9VYv3TgVwInEyR0KsIykZZgongA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713817752; a=rsa-sha256; cv=none; b=gGTADiNfzF3wjw8gp6uPBv4ObluObF1+HNqmFCwsLLuO29tE3EPLyqIVEGn7/Pbax+RXeI hFsShiJ6bHNRPB5myTdyP2CMb614LZLB568fbqfSmtXF+jrVuR2xp5tp8lUhvK6Kaq5a+U K9Y0t0YWAgvqgJmoq39+s8FgqB19ksTEhVFP3MqP7ycR9AzRUUSHSRPoJ9UE83rvPd2PhP NYpBgXwwWHf2I00gWSoel+HqTes5Dzuzy47A4Q9jevJ5Z52UVgaZsxR+ngWVED3hAMOnWD RmfP+PxhGe49KAHERVaVa09RkqqlzTjJtPIp68f0k0HlEc31zNXjpt7mwoYktQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713817752; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sypu2JfLx+ZIpFOqUgGWuKeS5gUgKpbGeo/O0+Mp7as=; b=ZAIwi4LEqKGWA0qmSk26ksIgI0DZIbUU48KqlRX8B3OT5386SIi8MXKIL85Q8XQ83OwCmg 3IR5I1CZQ0CpzCZDP+SQ2WxF/GTZHUGweQJxmhBT5eZIW/gGIKmim/bbVlRL7bzugH24Nb fl0UYI6xBzq/Sar2tKIRI+1Z2aLRVJc6F8G4oaIuBYZvUUqOybiUkgaO939/V0VPIGvjud 8ZUda8MsAs08Ft+5DC9ab+Df684MtUTFxA2eC0jLYjBym0wwi53uKuZjDazbJZbGEq7P8v 5bdRkfi2J/avcFTsxqpuDYgTQ1fWJPMsF2ki795M0AtZRS2Bmd9Cs9OS99ZAwA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VNcKh0MKVz12tK; Mon, 22 Apr 2024 20:29:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43MKTBI8000930; Mon, 22 Apr 2024 20:29:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43MKTBTV000927; Mon, 22 Apr 2024 20:29:11 GMT (envelope-from git) Date: Mon, 22 Apr 2024 20:29:11 GMT Message-Id: <202404222029.43MKTBTV000927@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: 672464f756e8 - main - libthr: always use __libc_interposing_slot() List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 672464f756e8e2f723789f27df62704725e9fb82 Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=672464f756e8e2f723789f27df62704725e9fb82 commit 672464f756e8e2f723789f27df62704725e9fb82 Author: Brooks Davis AuthorDate: 2024-04-22 18:24:26 +0000 Commit: Brooks Davis 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);