lslebodn / certmonger

Forked from certmonger 6 years ago
Clone

9f5a288 Don't use O_NOFOLLOW

Authored and Committed by nalin 8 years ago
1 file changed. 12 lines added. 2 lines removed.
    Don't use O_NOFOLLOW
    
    Switch to using a before/after lstat()/fstat() check instead of
    O_NOFOLLOW to ensure there aren't any shenanigans going on when we go to
    tweak permissions on an NSS database's individual files.  O_NOFOLLOW
    isn't as portable as we'd need.
    
        
file modified
+12 -2