6a63007 Add SANLOCK_PRIVILEGED environment variable

2 files Authored by nsoffer 6 years ago, Committed by teigland 6 years ago,
    Add SANLOCK_PRIVILEGED environment variable
    
    Setting this variable to 0, sanlock daemon will skip operations that
    requires privileges. This allows running sanlock daemon as regular user
    in the tests.
    
    When running the daemon, we log a warning if this variable is set to to
    non default value.
    
    Signed-off-by: Nir Soffer <nsoffer@redhat.com>
    
        
file modified
+11 -2
file modified
+1 -0