From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id DBF97384803A for ; Tue, 9 Mar 2021 11:09:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org DBF97384803A Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-166-QCW6I3JAOsaN360x5VwC3Q-1; Tue, 09 Mar 2021 06:09:09 -0500 X-MC-Unique: QCW6I3JAOsaN360x5VwC3Q-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B4BF226860; Tue, 9 Mar 2021 11:09:08 +0000 (UTC) Received: from oldenburg.str.redhat.com (ovpn-112-77.ams2.redhat.com [10.36.112.77]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D66FF6062F; Tue, 9 Mar 2021 11:09:07 +0000 (UTC) From: Florian Weimer To: Adhemerval Zanella via Libc-alpha Subject: Re: [PATCH 6/8] Consolidate pthread_atfork References: <20210202151134.2123748-1-adhemerval.zanella@linaro.org> <20210202151134.2123748-6-adhemerval.zanella@linaro.org> Date: Tue, 09 Mar 2021 12:09:13 +0100 In-Reply-To: <20210202151134.2123748-6-adhemerval.zanella@linaro.org> (Adhemerval Zanella via Libc-alpha's message of "Tue, 2 Feb 2021 12:11:32 -0300") Message-ID: <87k0qg4m92.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2021 11:09:13 -0000 * Adhemerval Zanella via Libc-alpha: > diff --git a/sysdeps/htl/pthread_atfork_compat.h b/sysdeps/htl/pthread_atfork_compat.h > new file mode 100644 > index 0000000000..8943a148e8 > --- /dev/null > +++ b/sysdeps/htl/pthread_atfork_compat.h > @@ -0,0 +1,2 @@ > +#define PTHREAD_ATFORK_COMPAT_INTRODUCED GLIBC_2_12 > +#define PTHREAD_ATFORK_COMPAT_OBSOLETED GLIBC_2_23 > diff --git a/sysdeps/nptl/pthread_atfork_compat.h b/sysdeps/nptl/pthread_atfork_compat.h > new file mode 100644 > index 0000000000..d3ab9373b3 > --- /dev/null > +++ b/sysdeps/nptl/pthread_atfork_compat.h > @@ -0,0 +1,2 @@ > +#define PTHREAD_ATFORK_COMPAT_INTRODUCED GLIBC_2_0 > +#define PTHREAD_ATFORK_COMPAT_OBSOLETED GLIBC_2_3 These files should have comments. We need to move the pthread_atfork compatibility symbol eventually, but that can wait. Thanks, Florian