Re: [libvirt] [PATCH v4 19/23] security_dac: Lock metadata when running transaction

2018-09-17 Thread John Ferlan
On 09/10/2018 05:36 AM, Michal Privoznik wrote: > Lock all the paths we want to relabel to mutually exclude other > libvirt daemons. > > The only culprit here hitch here is that directories can't be reread the above and fix and fix ;-) > locked. Therefore, when relabeling a directory do not l

[libvirt] [PATCH v4 19/23] security_dac: Lock metadata when running transaction

2018-09-10 Thread Michal Privoznik
Lock all the paths we want to relabel to mutually exclude other libvirt daemons. The only culprit here hitch here is that directories can't be locked. Therefore, when relabeling a directory do not lock it (this happens only when setting up some domain private paths anyway, e.g. huge pages director