Skip to content

main/linux-pam: avoid deadlock with opendir and fork/exec

Clayton Craft requested to merge craftyguy/aports:pam_opendir into master

This adds a patch to conditionally disable calling opendir in pam_modutil_sanitize. Some applications (Phosh) run PAM with fork/exec and end up deadlocking on this. The upstream patch that changed this behavior between PAM 1.3.1 and 1.4.0 is here: https://github.com/linux-pam/linux-pam/commit/1b087edc7f05237bf5eccc405704cd82b848e761

Edited by Clayton Craft

Merge request reports