e16099a Restore SELinux context for p11-kit config overrides

1 file Authored by abbra 4 years ago, Committed by cheimes 4 years ago,
    Restore SELinux context for p11-kit config overrides
    
    When 74e09087 started disabling softshm2 module in p11-kit-proxy,
    we missed to restore SELinux context on the configuration override
    creation.
    
    We don't need an explicit restore_context() when removing the override
    because restore_file() already calls restore_context().
    
    Related: https://pagure.io/freeipa/issue/7810
    Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>
    (cherry picked from commit 8f969a5929e8a2f54fd732ea0c8d0a4931250d23)
    
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    
        
file modified
+1 -0