From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id D474C385DC1F for ; Tue, 28 Apr 2020 20:27:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D474C385DC1F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joseph_myers@mentor.com IronPort-SDR: EHgmTGxBRcpd/81aXxHGtcJ79PnXHHBKqLSG+tC0I4ACzWvHndna/dNvAXxwi7TGlrMcxH00tE uvVzUlFkgPi8V9XRJpXtxplEbryFjypgGyYZEFl1I0vu1Llwyms143Ekj8wzcLQcAYmfIUljeN 2BSbxn1iFRzi28AjYzE2/WhcVKl1ORYjmTuOBFLHmXGS5iGxG1/5nbRTfMSakR5U0KDOxhn1Vh 11+YKitgu9Gq5/CRK12EprbAJcVVPTN/57tPiSJgN7RyUERVjRq1I0FVylTClFe60/JNjwTs+8 JII= X-IronPort-AV: E=Sophos;i="5.73,328,1583222400"; d="scan'208";a="50335739" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 28 Apr 2020 12:27:01 -0800 IronPort-SDR: hwKtAUPzPCSt9qr+FWbMnx2QPaIcOqEnxObT47jn2d45YQxLoPbLJAXQx0nPgoKxC5/Mw4MW/r 1M6YatxzGla6fsDCxjMato1FifzhqBT+xi66yHtXZZxoAjPcRDX50vEmv6Y6lZ/e1uYNULeQxP FECajaPLFHZOdq5RnI2cwGEX2UMXI2vTJZz+nWn9HhhrlK4re2pTcnDHsUL4wFBJWf41AHkORS zKa/+voDUnUc2oOGyCscEn2CYuDxcej1Ms71YqixuJf6AUBuI9i16B5CBVvQ1nYIfPaW29ErNU NY0= Date: Tue, 28 Apr 2020 20:26:55 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Adhemerval Zanella CC: Subject: Re: [PATCH 3/5] signal: Move sys_errlist to a compat symbol In-Reply-To: <79be57ce-0147-20f1-19a9-3b610b790aaf@linaro.org> Message-ID: References: <20200427214855.2523259-1-adhemerval.zanella@linaro.org> <20200427214855.2523259-3-adhemerval.zanella@linaro.org> <79be57ce-0147-20f1-19a9-3b610b790aaf@linaro.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-06.mgc.mentorg.com (139.181.222.6) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no 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, 28 Apr 2020 20:27:17 -0000 On Tue, 28 Apr 2020, Adhemerval Zanella via Libc-alpha wrote: > > If we remove this generation from the manual, then I think it needs to be > > replaced with a test that fails if an error number is added to the errno > > tables without being documented in the manual. (Ideally we'd similarly > > check that errno.h and the errno table have the same set of values listed, > > but consistency between the manual and the errno table is what the present > > scripts should achieve and thus what should be maintained when removing > > the scripts.) > > Alright, I think we should feasible to match the error number defined in > the manual the and the ones provided by internal table. However I think the > second goal as an extension (and a different patch) of current scheme, since > afaiu the errlist.awk does not enforce the consistency between the included > kernel errno definitions and the defined table. Indeed, checking consistency with the kernel errno definitions is a separate matter (and would need a kernel version check to allow new errno numbers added in new kernel headers that glibc doesn't yet know about, as in tst-mman-consts.py). -- Joseph S. Myers joseph@codesourcery.com