308c0c5 Convert polkit code to use DBus API instead of CLI helper

Authored and Committed by berrange 9 years ago
    Convert polkit code to use DBus API instead of CLI helper
    
    Spawning the pkcheck program every time a permission check is
    required is hugely expensive on CPU. The pkcheck program is just
    a dumb wrapper for the DBus API, so rewrite the code to use the
    DBus API directly. This also simplifies error handling a bit.
    
    Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
    
        
file modified
+3 -0
file modified
+1 -0
file modified
+57 -65
file modified
+10 -1
file added
+360