jmoellers / pam_krb5

Forked from pam_krb5 6 years ago
Clone

9f4419b Don't close descriptors for fork-without-exec

Authored and Committed by nalin 8 years ago
    Don't close descriptors for fork-without-exec
    
    When we fork to call kuserok() with target user privs, don't close all
    of our open file descriptors, since library APIs that are using them
    (like nsswitch) won't know that we've done that to any that they have
    open.  Based on a report from Roshni Pattath.
    
        
file modified
+1 -9