[libvirt] [PATCH v3 0/2] selinux: Only create the selabel_handle once.

Richard W.M. Jones rjones at redhat.com
Thu Jan 24 10:10:56 UTC 2013


Version 3 of this patch.  Because I now have to pass the 'mgr' pointer
around, the patch is considerably more complicated than before.

Patch 1/2 is required so that I can use virReportSystemError when I
don't need to have any optional arguments, ie. the equivalent of:

  printf ("foo\n");

I have tested these two patches against the libguestfs test suite, and
it works for me and removes the memory leak.

Rich.




More information about the libvir-list mailing list