sumenon / certmonger

Forked from certmonger 3 years ago
Clone

205775f Don't close STDERR when submitting request

Authored and Committed by rcritten 4 years ago
    Don't close STDERR when submitting request
    
    cm_subproc_mark_most_cloexec() now closes all open file
    descriptors except for up to three requested for stdin, stdout
    and stderr. Before the optimization those three were always
    left open.
    
    This was causing errors in the IPA helper ipa-server-guard
    because it tries to display the contents of stderr which was
    always being closed, causing ipa-server-guard to blow up.
    
        
file modified
+2 -2