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 A3DBF3858D35 for ; Wed, 5 Aug 2020 19:28:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A3DBF3858D35 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: 77M9BFd6/3QvpN5hTlDXDFbgoyXKNwX2foChdwKiIUajXU8yOv2FvU+Q8tBawa9FV8iJAdHB3j XiWeKudHYGerjssKtExUI00+Jmg4Lpe4O4vTcGxZ6NN/VRYkb9KsSffHjTb+eoe/JP3tzCl5qF tJXc1f5bXyhadX9+GVs0xVw4tfBk+pc23qxo9Dik7QBjhGF2xcSPFXH1TohbGo21ih8uRmmL7C GWmxkaC8U9SWyY5WtvW4mEykwRk5qehg4zwlkr5FwjnR2ZON7zfdptxcPNe3QRWxDTk3aANcn6 TaU= X-IronPort-AV: E=Sophos;i="5.75,438,1589270400"; d="scan'208";a="53811138" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 05 Aug 2020 11:28:33 -0800 IronPort-SDR: irrjY1YH6HW0AfM96pJM2UNyWfafGQSTvZC8AMPxo8FZS4e7G096R76pBiI3miCt/TjhmK23/U igTPjASKFOJzH/l7gH7B0Ri8Fg/yG/aNF5N2NyQP4Djh/Hh2A4RjybPwj/Cfm3X4CmN6x+uHOl eHMSkKV89saA/j8x1tY4Sy0tVuRcaBDqaXinQHntUbdAM2hyTRRNIyb2/bkJEQCHR30ouGVSKB OMoP4qhxJwFZvZGK2Z9b7krZ/VDRp98SDbRAQLwoiAOlTWasWFJc+s40ftgdyyNqrdMzi2CTN/ ODY= Date: Wed, 5 Aug 2020 19:28:27 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Adhemerval Zanella CC: Subject: Re: [PATCH v2 4/7] login: Add 64-bit time support to utmp/utmpx In-Reply-To: <20200805185915.2025314-4-adhemerval.zanella@linaro.org> Message-ID: References: <20200805185915.2025314-1-adhemerval.zanella@linaro.org> <20200805185915.2025314-4-adhemerval.zanella@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-04.mgc.mentorg.com (139.181.222.4) To SVR-IES-MBX-03.mgc.mentorg.com (139.181.222.3) X-Spam-Status: No, score=-3128.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, 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, 05 Aug 2020 19:28:36 -0000 On Wed, 5 Aug 2020, Adhemerval Zanella via Libc-alpha wrote: > - New file names are defined for _PATH_UTMP, _PATH_WTMP, and > _PATH_UTMP_DB (if applicable) and used as default for the new 2.33 > utmp{x} symbols. On architectures that already have 64-bit time in these files, I think it would be best to keep the same names as at present (and likewise for lastlog). (I'm not particularly concerned with whether such architectures get (unnecessary) new symbol versions, though ideally we'd avoid code size increase by ensuring there is no translation logic.) If any such architectures are using a different layout from the new generic one, despite using 64-bit times, maybe they could keep their own version of the layout to avoid needing multiple versions of the files? Additions to the NEWS file are also needed to discuss these changes and what distributions should do on glibc upgrade. -- Joseph S. Myers joseph@codesourcery.com