Skip to content

die quickly upon mkdir failure

Jan Kundrát requested to merge jktjkt/pam_wrapper:die-on-mkdir-failure into master

We just had this failure in our CI system that's currently running just three PAM-wrapped tests in parallel. Since this is a classic TOCTOU race (albeit in a test code, and therefore with little to no security implications), the mkdir can fail, and when that happens it's much better to just die quickly rather than continuing as if nothing happened.

Signed-off-by: Jan Kundrát jan.kundrat@cesnet.cz

Merge request reports