swt2c / rpms / fcoe-utils

Forked from rpms/fcoe-utils 5 years ago
Clone

9fb2e54 fcoemon: Do not create a world and group writable PID file

Authored and Committed by psabata 13 years ago
    fcoemon: Do not create a world and group writable PID file
    
    Currently fcoemon creates a world and group writable PID file which could be
    locally exploited. This patch sets umask to 177 before the PID file creation.
    
        
file modified
+6 -2