From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13601 Path: news.gmane.org!.POSTED!not-for-mail From: "A. Wilcox" Newsgroups: gmane.linux.lib.musl.general Subject: function: fgetspent_r Date: Wed, 16 Jan 2019 13:21:39 -0600 Organization: =?UTF-8?Q?Ad=c3=a9lie_Linux?= Message-ID: <4ac5ac1b-217f-442f-fc35-bfbf015287bb@adelielinux.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kTPUcosJFRinm4udESWHUinRBbH9KefAG" X-Trace: blaine.gmane.org 1547666373 18557 195.159.176.226 (16 Jan 2019 19:19:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 16 Jan 2019 19:19:33 +0000 (UTC) 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-13617-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jan 16 20:19:29 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.84_2) (envelope-from ) id 1gjqim-0004hH-V6 for gllmg-musl@m.gmane.org; Wed, 16 Jan 2019 20:19:29 +0100 Original-Received: (qmail 26223 invoked by uid 550); 16 Jan 2019 19:21:38 -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 26186 invoked from network); 16 Jan 2019 19:21:37 -0000 Openpgp: preference=signencrypt Xref: news.gmane.org gmane.linux.lib.musl.general:13601 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kTPUcosJFRinm4udESWHUinRBbH9KefAG Content-Type: multipart/mixed; boundary="E6VGtRGvkkfzDCbXSLUftHN2poKNLxppE"; protected-headers="v1" From: "A. Wilcox" To: musl@lists.openwall.com Message-ID: <4ac5ac1b-217f-442f-fc35-bfbf015287bb@adelielinux.org> Subject: function: fgetspent_r --E6VGtRGvkkfzDCbXSLUftHN2poKNLxppE Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi muslers, fgetspent_r[1] is a re-entrant version of fgetspent which stores all strings in a caller-provided buffer to ensure that the memory is owned by the caller instead of by the system. It is present in Solaris 9[2] and higher, and glibc[3] Linux. It is used by AccountsService[4]. Is it possible to add this API to musl? I could try to write it, if so. Best, --arw [1]: https://docs.oracle.com/cd/E88353_01/html/E37843/getspent-r-3c.html [2]: https://docs.oracle.com/cd/E19683-01/816-5214/6mbcfdl0v/index.html [3]: https://linux.die.net/man/3/getspnam_r [4]: https://cgit.freedesktop.org/accountsservice/commit/?id=3D14ca4245 --=20 A. Wilcox (awilfox) Project Lead, Ad=C3=A9lie Linux https://www.adelielinux.org --E6VGtRGvkkfzDCbXSLUftHN2poKNLxppE-- --kTPUcosJFRinm4udESWHUinRBbH9KefAG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjNyWOYPU1SaTSMHHyynLUZIrnRQFAlw/hEMACgkQyynLUZIr nRTTvQ/9EmqPj/w4riLX29nNvYqgx1XeOlGdahPwiYKyFIxYy7+JEMGvRyP+ADZK owThnKSJaQLGrDi7A79KFDPukq3ZrUUhsL7NJaUaemBIXhOCLBLOSfVYB/trrHVU YprbWpu2iU+JSNF8BXMqdCGYgsVkjprXwHdzPL3f0Zs+RpMHYntJigtbJWVu9QMw fCOXbBQ5ms6fEc8XGrPALk6ZJx+rkTqOmQ29OQ7F4GvlHxHqtUjTuVvp+nJuLX0H DZfMmHkX1ynz7zK6OJZgqD5Oi2HCnh9LvfE+QrO3Mvd3i11YZMG+Zx880CIqmwRv UaLjuOD/I2aM59iIp9tse/5bA8hyRfnc/gXsReK3nFUg6hZ1V15vGuNlWoGf7PCj L6jwr7vruKfQKnHBKGbJJqIddu2OjMGmdbd8tUqGXVWAVOd/pIvPvlMYTOCnRMvO GOOnGl6l1ljUdLC7BaN4wknhiaVBd2azbaTRDt8xdPP8olXTzOjy1Yqlc0MVagsc nD7QHskTnVMFS4HDYJ3k7klpfGkkOfHkRpc2r9UX7vrDigy3r4MBwxFr9RtCX/PF sVUDD4W/IUwRkQTUT4Ibzn8Ae7wch0bWOVtx4jCc0M5P16lyhIGHkDKDUtadq6dy Axwu8lzMXMKqx/czFUmBUBtFu4LxwDx4bMeXD/Fr0JbQrhTDK4M= =/zWI -----END PGP SIGNATURE----- --kTPUcosJFRinm4udESWHUinRBbH9KefAG--