From patchwork Thu Nov 20 22:19:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 124902 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AF6FE385AC29 for ; Thu, 20 Nov 2025 22:19:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF6FE385AC29 X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from sonata.ens-lyon.org (domu-toccata.ens-lyon.fr [140.77.166.138]) by sourceware.org (Postfix) with ESMTPS id 5BC7F3858D1E for ; Thu, 20 Nov 2025 22:19:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5BC7F3858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bounce.ens-lyon.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5BC7F3858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=140.77.166.138 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1763677147; cv=none; b=ZBL7kL0PT8NMuOiS7N8M5GeGTKRUUaY+tTezTVtjpCeDxHmG8NfWibGggBLpcyoYFiWdmveDw+Z9iAkZBNVG8wXby271x3DmHeZsQW4VLFudrW8CNrFD2xvwDymc/M/8y3Ftj/5D66ZGWogJnC89YcICq4Aw1zGmrlLj2xhaq7k= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1763677147; c=relaxed/simple; bh=iuRDiaOBlyeC6z9jRwVWXQ8rTXf2wNy/db7wZpWjDKo=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=sVDzfo75BVtArt0FqnxhbLNgJU1GJR6DeYU4o6CS5i/uCxjNoT+eaE8kJOvybF0+jyEBOp83kre0rs/hanY7Bfh5wF5PEgvTCma6ZjbvtQFTSZk9AzZd3Il2AWBEuAmt02Xp1Tv5PP3dJajhRwMRw35m9FTwZPR6DTKOQj5sgWg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5BC7F3858D1E Received: from localhost (localhost [127.0.0.1]) by sonata.ens-lyon.org (Postfix) with ESMTP id 1CDADA05D3; Thu, 20 Nov 2025 23:19:06 +0100 (CET) Received: from sonata.ens-lyon.org ([127.0.0.1]) by localhost (sonata.ens-lyon.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U-_tWxKjq_qp; Thu, 20 Nov 2025 23:19:06 +0100 (CET) Received: from end (aamiens-653-1-40-48.w83-192.abo.wanadoo.fr [83.192.199.48]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by sonata.ens-lyon.org (Postfix) with ESMTPSA id F2F24A0551; Thu, 20 Nov 2025 23:19:05 +0100 (CET) Received: from samy by end with local (Exim 4.99) (envelope-from ) id 1vMCzZ-00000000MPy-1xo2; Thu, 20 Nov 2025 23:19:05 +0100 From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault , commit-hurd@gnu.org Subject: [hurd, commited] htl: Move pthread_atfork compatibility symbol to libc Date: Thu, 20 Nov 2025 23:19:05 +0100 Message-ID: <20251120221905.86167-1-samuel.thibault@ens-lyon.org> X-Mailer: git-send-email 2.51.0 MIME-Version: 1.0 X-Spam-Status: No, score=-13.0 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~patchwork=sourceware.org@sourceware.org There is no new symbol version because of the compatibility symbol status. --- htl/Versions | 4 ++-- sysdeps/mach/hurd/i386/libc.abilist | 1 + sysdeps/mach/hurd/i386/libpthread.abilist | 1 - sysdeps/pthread/Makefile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htl/Versions b/htl/Versions index 25b79f0824..2228f8fdd9 100644 --- a/htl/Versions +++ b/htl/Versions @@ -8,6 +8,7 @@ libc { __pthread_kill; __pthread_mutex_transfer_np; __pthread_self; + pthread_atfork; pthread_attr_getdetachstate; pthread_attr_getinheritsched; pthread_attr_getschedparam; @@ -342,9 +343,8 @@ libpthread { GLIBC_2.2.6 { __libpthread_version_placeholder; } - GLIBC_2.12 { - pthread_atfork; + __libpthread_version_placeholder; } GLIBC_2.21 { __libpthread_version_placeholder; diff --git a/sysdeps/mach/hurd/i386/libc.abilist b/sysdeps/mach/hurd/i386/libc.abilist index 032ef39d22..dbbb399feb 100644 --- a/sysdeps/mach/hurd/i386/libc.abilist +++ b/sysdeps/mach/hurd/i386/libc.abilist @@ -36,6 +36,7 @@ GLIBC_2.12 __pthread_self F GLIBC_2.12 flockfile F GLIBC_2.12 ftrylockfile F GLIBC_2.12 funlockfile F +GLIBC_2.12 pthread_atfork F GLIBC_2.12 pthread_attr_destroy F GLIBC_2.12 pthread_attr_getdetachstate F GLIBC_2.12 pthread_attr_getguardsize F diff --git a/sysdeps/mach/hurd/i386/libpthread.abilist b/sysdeps/mach/hurd/i386/libpthread.abilist index 75636d8478..ff9c273218 100644 --- a/sysdeps/mach/hurd/i386/libpthread.abilist +++ b/sysdeps/mach/hurd/i386/libpthread.abilist @@ -1,4 +1,3 @@ -GLIBC_2.12 pthread_atfork F GLIBC_2.32 call_once F GLIBC_2.32 cnd_broadcast F GLIBC_2.32 cnd_destroy F diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile index 1a6e835efc..1da3a9f55f 100644 --- a/sysdeps/pthread/Makefile +++ b/sysdeps/pthread/Makefile @@ -27,6 +27,7 @@ headers += \ routines += \ pthread_atfork \ + pthread_atfork_compat \ thrd_current \ thrd_equal \ thrd_sleep \ @@ -47,7 +48,6 @@ $(libpthread-routines-var) += \ mtx_timedlock \ mtx_trylock \ mtx_unlock \ - pthread_atfork_compat \ thrd_create \ thrd_detach \ thrd_exit \