Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Complete Linux-PAM compliance for forked child in su and login.
As documented here: http://www.linux-pam.org/Linux-PAM-html/adg-interface-by-app-expected.html#adg-pam_end The child that is about to exec*() the user shell is supposed to pam_end() with PAM_DATA_SILENT. This gives the modules a last chance to do a minor cleanup of the module state before the user's shell is launched. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=2037212 Upstream: http://github.com/util-linux/util-linux/commit/4660286e9cdff6d95b49295674b96f83af10ea36 Signed-off-by: Andrew G. Morgan <[email protected]>
- Loading branch information