From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 98E3B1F463 for ; Mon, 25 Nov 2019 12:42:58 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:from:to:cc:references:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=JHoI+95M7GXM+SVt gEYqqvXd2xyoRXKxBSK8m4dqSXj4e3npvuJYvd2gA8eBXVAXyGCp0esqOm7UJyj4 2pukj1vfBHZpt28KC25xnew5CpoFqwebHC9OUGPdmco7P0wJd7zwXRu4/ybRniyr JDLLOPG/PlZYXkUH5easGnFEwcg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:from:to:cc:references:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=eGqGwcHbJzpqntGGw2U1hl l2Pd4=; b=prtpO9oM7S4ZxoGzFDZBpFV59oJiaf3cequOvSl86dYZV6I8Gs2TMQ y5T7nU797634nN5HgX5qBrXkiyRBH9Q2uZrZjMf6JLC5bRKy0p1ic6YXe27eyyW/ 8j97NlDRQmZqcO4sYHWk85wqZkAzkWCs3dFXnBh5vwFjoM/1NfkbA= Received: (qmail 96732 invoked by alias); 25 Nov 2019 12:42:56 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 96724 invoked by uid 89); 25 Nov 2019 12:42:56 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mail-qk1-f193.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:from:to:cc:references:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=bPYEGYZzHOyKtmh5d47PWO6jSq6YZrPCf7inCDwj58w=; b=yTCGKfJyNqaKAm42OyGTn1wO90SEZu1JMv+Myg5ZXKcw/QP1xo37BBmRJ6ufl9inmq OygcsFJK17GciwmwT6M7Gcky1NUdk//YBIHxUIeDXMPKYQcqbwR0RjkHqTqzxxA2xWZz ApRBpsrTHRAz+VvLjRFkklvFoDq/TS6uQfXWZGgX7gmbiHOwThAkS2FcBAqnxdsrAohT RrKUE6cHUDYDjjRJx6LnMBKZsx+9tyxXdzbX/qmE17Wj8rzGXQW0/LGIRWA5l7uciRi3 9JSxBZN4exUZdxtuzX2fdqZd84VESXfA4xjU24UocqhyckLpswZa3qbgwNpdr+FjkVFJ Oi2w== Subject: Re: [PATCH 5/7] linux: Use waitid on wait4 if __NR_wait4 is not defined From: Adhemerval Zanella To: Alistair Francis Cc: GNU C Library References: <20191114144704.19002-1-adhemerval.zanella@linaro.org> <20191114144704.19002-5-adhemerval.zanella@linaro.org> <21e43b69-28a4-2d38-1faa-a4432f3cf255@linaro.org> Openpgp: preference=signencrypt Message-ID: Date: Mon, 25 Nov 2019 09:42:49 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <21e43b69-28a4-2d38-1faa-a4432f3cf255@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 25/11/2019 09:39, Adhemerval Zanella wrote: > So it seems that __ASSUME_WAITID_PID0_P_PGID should be a safe call to > avoid such theoretical scenarios. I will rework how the flag is used > to mimic other assume usage where newer kernel version undef the flag, > so it should be simpler to remove it once the minimum kernel is lifted. > In fact I think change the __ASSUME_WAITID_PID0_P_PGID won't be much a improvement