[libvirt] [PATCH v8 09/18] security: Label the external swtpm with SELinux labels

Stefan Berger stefanb at linux.vnet.ibm.com
Mon Jun 4 13:58:36 UTC 2018


On 06/02/2018 09:18 AM, Ján Tomko wrote:
> On Thu, May 24, 2018 at 04:26:05PM -0400, Stefan Berger wrote:
>> +/*
>> + * _virSecuritySELinuxRestoreFileLabels:
>> + *
>> + * @mgr: the virSecurityManager
>> + * @path: path to a directory or a file
>> + *
>> + * Restore the file labels on the given path; if the path is a 
>> directory
>> + * we restore all file labels found there, including the label of the
>> + * directory itself, otherwise we just restore the label on the file.
>> + */
>> +static int
>> +_virSecuritySELinuxRestoreFileLabels(virSecurityManagerPtr mgr,
>
> here too

Fixed.

>
>> + const char *path)
>
> Reviewed-by: Ján Tomko <jtomko at redhat.com>
>
> Jano





More information about the libvir-list mailing list