]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Refactor some daemon code to facilitate introduction of static probes
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 14 Sep 2010 16:50:25 +0000 (17:50 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 22 Sep 2010 16:52:20 +0000 (17:52 +0100)
commite8066d532c38d55cf1d6bcc5732e75e1640fae90
tree5811c951fac538acd58cd7d7158391b04e0f557a
parentbe026480f9cdc729f0c35f4d861a5dcda2388098
Refactor some daemon code to facilitate introduction of static probes

Refactor some daemon code to facilitate the introductioin of static
probes, sanitizing function exit paths in many places

* daemon/libvirtd.c: Pass the dname string into remoteCheckDN
  to let caller deal with failure paths. Add separate exit paths
  to remoteCheckCertificate for auth failure vs denial. Merge
  all exit paths in qemudDispatchServer to one cleanup block
* daemon/remote.c: Add separate exit paths to SASL & PolicyKit
  functions for auth failure vs denial
daemon/libvirtd.c
daemon/remote.c