Re: [libvirt] [PATCH v1 01/10] locking: Allow seclabel remembering

2014-09-19 Thread Daniel P. Berrange
On Wed, Sep 10, 2014 at 03:26:07PM +0200, Michal Privoznik wrote: To keep original seclabel for files libvirt is touching we need a single point where the original seclabels can be stored. Instead of inventing a new one we can misuse virtlockd which already has nearly all the infrastructure we

Re: [libvirt] [PATCH v1 01/10] locking: Allow seclabel remembering

2014-09-19 Thread Daniel P. Berrange
On Wed, Sep 10, 2014 at 03:26:07PM +0200, Michal Privoznik wrote: To keep original seclabel for files libvirt is touching we need a single point where the original seclabels can be stored. Instead of inventing a new one we can misuse virtlockd which already has nearly all the infrastructure we

[libvirt] [PATCH v1 01/10] locking: Allow seclabel remembering

2014-09-10 Thread Michal Privoznik
To keep original seclabel for files libvirt is touching we need a single point where the original seclabels can be stored. Instead of inventing a new one we can misuse virtlockd which already has nearly all the infrastructure we need. As nice feature, it keeps its internal state between virtlockd