]> git.ipfire.org Git - thirdparty/systemd.git/commit
user-util: modernize get_user_creds() + get_group_creds()
authorLennart Poettering <lennart@poettering.net>
Mon, 15 Jan 2024 16:00:40 +0000 (17:00 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 16 Jan 2024 13:55:45 +0000 (14:55 +0100)
commit83e9b584dba1352493d8d2337bfe20d923d5163b
treedd746ec740bba5663e45791066ba2be6c9bf374d
parentc5ff54c40ff416c9fff08af906f9c26881b6acaa
user-util: modernize get_user_creds() + get_group_creds()

Let's rename return parameters to ret_xyz, and let's guarantee the usual
rule to initialize all return parameters on success, and not touch any
on failure.
src/basic/user-util.c
src/basic/user-util.h