Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <878qguw3s7.fsf@quade.local.mail-host-address-is-not-set>
Date: Wed, 29 Oct 2025 08:44:24 +0100
From: Sebastien Marie <semarie@...ouay.eu.org>
To: musl@...ts.openwall.com
Subject: about getpwent functions family

Hi,

I am using alpine linux (which is using musl libc) and I am trying to
build xen-api [1].

xen-api is using getpwent_r (and getspent_r but let's focus on
getpwent_r) function in unixpwd [2], a simple C library with OCaml
bindings to support updating Unix account passwords in /etc/passwd and
/etc/shadow.

I am looking for rational or previous discussion about inclusion or not
of such GNU extension functions in musl.

fgetpwent and putpwent, which are also GNU extension, are already
present.

If there is no objection, I would look to provide patches for adding
getpwent_r() and/or fgetpwent_r() (and {,f}getspent_r counterpart).

Thanks.
-- 
Sebastien Marie

[1] https://github.com/xapi-project/xen-api
[2] https://github.com/xapi-project/xen-api/tree/master/unixpwd

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.