On Tue, 2020-11-03 at 14:13 +0100, Michal Privoznik wrote:
> +++ b/tests/qemusecuritymock.c
> @@ -71,6 +82,10 @@ virHashTablePtr xattr_paths = NULL;
> * the lower half is UID and the higher is GID. */
> virHashTablePtr chown_paths = NULL;
>
> +/* The SELinux label is stored in a hash table.
The qemusecuritytest checks for random domain XMLs from
qemuxml2argvdata/ whether set+restore seclabels leaves something
behind. It can be an XATTR that we forgot to remove or a file
that the owner was not restored on. But so far only DAC driver is
checked. Implement missing pieces and enable