chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commitbe4e039d977bcee04fedcdb7a6a4b5c18cfaca38
treead48f23d74388d38c734ea6b2d2fdcd1ecc163cb
parent74d8433aa68dd73a1ea04363d4d4fd30d90c49a2
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