]> git.ipfire.org Git - thirdparty/util-linux.git/commit
login-utils/auth: Drop pam_setcred
authorTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 7 Apr 2026 17:53:09 +0000 (19:53 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Wed, 8 Apr 2026 10:14:08 +0000 (12:14 +0200)
commitfa97b45aa2680e4e2f955cf4805a76146b7b46a3
tree12672f547709ce26dbb2591d0f49ee75284ad599
parentff376bb595e803b7444de4dcfb6b4f4f4409ca38
login-utils/auth: Drop pam_setcred

The credentials are not needed right before pam_end. Drop the call,
which avoids the requirement of cleaning them up again.

While at it, supply the last retcode into pam_end, even though it's
always 0 anyway.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
login-utils/auth.c