]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/firstboot/firstboot.c
user-util: add new wrappers for reading/writing {passwd,shadow,gshadow} database...
authorFranck Bui <fbui@suse.com>
Wed, 21 Mar 2018 14:26:02 +0000 (15:26 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 21 Mar 2018 14:26:02 +0000 (15:26 +0100)
commit100d5f6ee6ec53ecc20160cd4d6656cacf57db4f
treed2ded6a49a7f45b91fd8f5d8a4c1d7ad10fef723
parented47df8967f68e28ad965f256919583874ecd6d4
user-util: add new wrappers for reading/writing {passwd,shadow,gshadow} database files (#8521)

The API povided by the glibc is too error-prone as one has to deal directly
with errno in order to detect if errors occured.

Suggested by Zbigniew.
src/basic/user-util.c
src/basic/user-util.h
src/firstboot/firstboot.c
src/sysusers/sysusers.c