748b38a selinux: Begin and end the transaction on the same nesting level

Authored and Committed by jhrozek 9 years ago
    selinux: Begin and end the transaction on the same nesting level
    
    Transaction should be started and commited on the same code nesting or
    abstraction level. Also, transactions are really costly with libselinux
    and splitting them from initialization will make init function reusable
    by read-only libsemanage functions.
    
    Reviewed-by: Michal Židek <mzidek@redhat.com>
    
        
file modified
+14 -6