From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) by sourceware.org (Postfix) with ESMTPS id 639C53851C24 for ; Wed, 24 Mar 2021 12:29:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 639C53851C24 Received: by mail-qv1-xf2a.google.com with SMTP id x16so12144862qvk.3 for ; Wed, 24 Mar 2021 05:29:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=aByQvg3ysNf3Lo/0bGGu6zxY/1HzHEsAHkz5crf57QY=; b=f19nHe40mFuWv3ghRj6uOjYvnk6OwaCNGMIZAhlqz97euxQKh3plTwTXLeAOEP40I+ S8XNb9kuhRms/UsgMAzBE5Jwkg+pI0mslgtG1ji+Ltpf2dN10Yd9mA4qLcptcCjaVD04 8BZX9zt9yt8RSrPKrfYvElrNRN5EQ8vCpPSJQxgyQ887GhCKnFIGBf3wBlE2e0ipde2a 207rYk5vEUTxW6Ax28XndrWF/3YeVS4UtE43SBK4EnUZUcsB1hpVvroLN75RJovSG/ur r99JQpEkqUuNfO81y8hazwX9mP8jcoN1h53sDRs4+NiKZnvm3AmKkRBahzP9L08ySa1g nJug== X-Gm-Message-State: AOAM532HOe5CoV9sj/pxkIiRmFTsNME9/zuJAsYZtm7nGbWeWItAvTQi fnLPk5pkP5j8qlbnZgE1FijMkH2Y7PiHPA== X-Google-Smtp-Source: ABdhPJyihygoKU+R5iA9Dkwi3X0pL0liTUJnSllfAQqVn7WXh3i6rpiunCUt8RddqaPCqI+osDA43g== X-Received: by 2002:a05:6214:80d:: with SMTP id df13mr2975821qvb.55.1616588986830; Wed, 24 Mar 2021 05:29:46 -0700 (PDT) Received: from [192.168.1.132] ([177.194.41.149]) by smtp.gmail.com with ESMTPSA id a19sm1504242qkl.126.2021.03.24.05.29.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 Mar 2021 05:29:46 -0700 (PDT) Subject: Re: [hurd,commited] htl: Add missing fork.h To: libc-alpha@sourceware.org, Samuel Thibault References: <20210324002015.338244-1-samuel.thibault@ens-lyon.org> From: Adhemerval Zanella Message-ID: Date: Wed, 24 Mar 2021 09:29:44 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210324002015.338244-1-samuel.thibault@ens-lyon.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, 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: Wed, 24 Mar 2021 12:29:48 -0000 On 23/03/2021 21:20, Samuel Thibault wrote: > 2b47727c68b6 ("posix: Consolidate register-atfork") introduced a fork.h > header to declare the atfork unregister hook, but was missing adding it > for htl. > > This fixes tst-atfork2. Both lowlevellock.h and register-atfork.h are common headers, I think it would be better to just add them to generic fork.h header. > --- > sysdeps/htl/fork.h | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > create mode 100644 sysdeps/htl/fork.h > > diff --git a/sysdeps/htl/fork.h b/sysdeps/htl/fork.h > new file mode 100644 > index 0000000000..9d0d1d2b41 > --- /dev/null > +++ b/sysdeps/htl/fork.h > @@ -0,0 +1,20 @@ > +/* Copyright (C) 2002-2021 Free Software Foundation, Inc. > + This file is part of the GNU C Library. > + Contributed by Ulrich Drepper , 2002. > + > + The GNU C Library is free software; you can redistribute it and/or > + modify it under the terms of the GNU Lesser General Public > + License as published by the Free Software Foundation; either > + version 2.1 of the License, or (at your option) any later version. > + > + The GNU C Library is distributed in the hope that it will be useful, > + but WITHOUT ANY WARRANTY; without even the implied warranty of > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > + Lesser General Public License for more details. > + > + You should have received a copy of the GNU Lesser General Public > + License along with the GNU C Library; if not, see > + . */ > + > +#include > +#include >