From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14342 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "A. Wilcox" Newsgroups: gmane.linux.lib.musl.general Subject: Re: time_t assessment of what needs to be done Date: Mon, 1 Jul 2019 17:36:43 -0500 Organization: =?UTF-8?Q?Ad=c3=a9lie_Linux?= Message-ID: <1f99e482-5eaf-34e0-b2ec-025f0b4f4078@adelielinux.org> References: <20190701201107.GA6060@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1buUmE6ZUVjtUJlk3MFa6KhWPRZdJ2AsF" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="58059"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux ppc64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 To: musl@lists.openwall.com Original-X-From: musl-return-14358-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jul 02 00:37:07 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1hi4v5-000F1R-Bf for gllmg-musl@m.gmane.org; Tue, 02 Jul 2019 00:37:07 +0200 Original-Received: (qmail 26346 invoked by uid 550); 1 Jul 2019 22:37:05 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 26328 invoked from network); 1 Jul 2019 22:37:04 -0000 Openpgp: preference=signencrypt In-Reply-To: <20190701201107.GA6060@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:14342 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --1buUmE6ZUVjtUJlk3MFa6KhWPRZdJ2AsF Content-Type: multipart/mixed; boundary="SvTMUIt1pyGICvuWCWWtmntwsV7RV9s5c"; protected-headers="v1" From: "A. Wilcox" To: musl@lists.openwall.com Message-ID: <1f99e482-5eaf-34e0-b2ec-025f0b4f4078@adelielinux.org> Subject: Re: [musl] time_t assessment of what needs to be done References: <20190701201107.GA6060@brightrain.aerifal.cx> In-Reply-To: <20190701201107.GA6060@brightrain.aerifal.cx> --SvTMUIt1pyGICvuWCWWtmntwsV7RV9s5c Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 07/01/19 15:11, Rich Felker wrote: > The utmp structure has just enough reserved space to move ut_tv to the > end and make it unconditionally 64-bit-time_t. This is also nice for > mixed 32/64-bit systems. Of course musl's utmp stuff is nopped out > anyway but the types should be fixed for users of third-party utmp > tooling/libraries. Alternatively we could just change it, since it's > not an app-libc ABI at this point as far as I can tell. Matching the > current 64-bit layout might be more useful than changing both. With my official distro hat on, I can say that we have no preference: [quoting system/musl/APKBUILD] # replaced by utmps - don't allow apps to sneak use of no-ops rm "$pkgdir"/usr/include/utmp.h rm "$pkgdir"/usr/include/utmpx.h With my official distro hat off, I don't know if musl is trying to be compatible with glibc ABI here as well. If so, you should see what they're doing to the layout of the utmp structure, because most apps will write the structure directly to the disk. Best, --arw --=20 A. Wilcox (awilfox) Project Lead, Ad=C3=A9lie Linux https://www.adelielinux.org --SvTMUIt1pyGICvuWCWWtmntwsV7RV9s5c-- --1buUmE6ZUVjtUJlk3MFa6KhWPRZdJ2AsF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjNyWOYPU1SaTSMHHyynLUZIrnRQFAl0aivwACgkQyynLUZIr nRTybxAAitZS3/PuJrEnZm97TXgD2sdSBC5amBkFiAr7/WVW9gOMRDl8cz5h3jGr 6t/9ajVJS3idOAAgyfOhZ8pYf/Pc36qMs0s/hrgnFTdnENpvSuZ5riVoBU8UW4+i JkwsAk5V34DZRfX4I+VX/biSfw2x2DyfLKsDsOJNXissr5BygesBXmladMu1LzsE O/V9Xe5qLGr11bbYDXO3U5JmLZbY3iYgsCgW7YaDO/ccKOVho6vt21EWzvIZsCyf rsVYAoOiJWF3o3YojHQkzMe2q2bD/8eFkjvF1GogMLPvpCIkrrd4AOM5DnH1YgWE wily72T2BISqYFumPP5mjWBV4KeW/vXEp+KKjzzbnCU4yJVm5L5p1jBrttHESY9B 2NdX6hk8wItKm4iOvJmcmYfBUf1uG400OoMZbcoF5lyKLY1vzormFmC8fisHTugn srL4uzwn3/6k98A47iLa6F+gsCCk4QKKjHW882wxxEU5Pa5hcnX/yu/6PyDjtHM6 nI413tmLiYgI8Nd694kDVlxv3v8T7M+yexcKVXVHnknpnxv4qTIw5zrq327qnCyO 7ES/NDRapbMP5c6F0v4tUGnpkXPdgvJ3eNqYglvwJuVxWekVb+d1+eW6OFyjIhgv xk0ikzfp3wHPh5VNuvUgX/CjbZpiYmDtUu52TtFyftfvl1njBtM= =5ZtZ -----END PGP SIGNATURE----- --1buUmE6ZUVjtUJlk3MFa6KhWPRZdJ2AsF--