]> err.no Git - util-linux/commit
login: close PAM session after failed pam_setcred
authorKarel Zak <kzak@redhat.com>
Tue, 6 Mar 2007 14:08:58 +0000 (15:08 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 7 Mar 2007 09:14:13 +0000 (10:14 +0100)
commitf2c7ae1ddd5973c578d73ec929f29205e84aa47a
tree6fc5873f4080e12f238f34fd394e87974f6fb917
parent7ab59baf58c317662afaa3ae83537ccd4c4aea65
login: close PAM session after failed pam_setcred

If for some reason the pam set credential call fails, it does not close the pam
session. pam open can mount drives, so calling pam close is important.

From: Steve Grubb <sgrubb@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/login.c