From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id A350C3856DE3 for ; Wed, 1 Jun 2022 22:22:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A350C3856DE3 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.91,269,1647331200"; d="scan'208";a="76560428" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa3.mentor.iphmx.com with ESMTP; 01 Jun 2022 14:22:20 -0800 IronPort-SDR: Ml9WtBvYtaXcATULEI/ESAhCs0CKkEzcVYTipysQFVWvt1HQ5jjCItNjsfhlAEY0qm2qgMrrHp +1Pxp3O3AxWv8qNR4+N/aHUgpeWMrCTfYGPyr48daId+xfCC8fNZppnGqj1zU3r+dGEF5/NKzK rLq8I882pzL/uH7OqhAwPyuxup6Kz01o6diE0YWA8j21y6JxHYpLhQY3BZmdXORtJuxxgmdrgF c2fDkp4dC7v4BiYvFkiBoCn9eECSbZubLTtBpN8G5fR4kmSgRggbg17u/fye5m5lacrjRtlyfc 5eM= Date: Wed, 1 Jun 2022 22:22:15 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Matheus Castanho CC: Adhemerval Zanella , Subject: Re: [PATCH v2 01/15] linux: Add pidfd_open In-Reply-To: <87tu942jbf.fsf@linux.ibm.com> Message-ID: References: <20220207174431.360355-1-adhemerval.zanella@linaro.org> <20220207174431.360355-2-adhemerval.zanella@linaro.org> <87y1yg2r6n.fsf@linux.ibm.com> <33467020-1749-e30e-5f38-8d046525e1dc@linaro.org> <87tu942jbf.fsf@linux.ibm.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-15.mgc.mentorg.com (139.181.222.15) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-3113.1 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no 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.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2022 22:22:27 -0000 On Wed, 1 Jun 2022, Matheus Castanho via Libc-alpha wrote: > I don't think there's much else to do besides returning UNSUPPORTED. Of > course this will mark the test as UNSUPPORTED for any failure in the > internal gcc call, but I don't see it as a problem today since this > function seems to be used only for macro processing. I *do* think it's a problem to return UNSUPPORTED if the compilation fails unexpectedly with current kernel headers. However, it would be OK to hardcode a minimum kernel headers version below which the test is UNSUPPORTED. -- Joseph S. Myers joseph@codesourcery.com