[libvirt] virSecurityLabel

Michal Privoznik mprivozn at redhat.com
Wed Dec 17 08:55:58 UTC 2014


On 16.12.2014 23:09, Claudio Bley wrote:
> Hi.
>
> Looking at the API docs, the virSecurityLabel is one of the
> undisclosed structs, making its members not publicly available.

I don't think it is. It's defined in include/libvirt/libvirt-host.h:

typedef struct _virSecurityLabel {
     char label[VIR_SECURITY_LABEL_BUFLEN];
     int enforcing;
} virSecurityLabel;

typedef virSecurityLabel *virSecurityLabelPtr;

In fact, the commit that added virDomainGetSecurityLabel() API 
(0b7860ecdd855251f1) exposed the virSecurityLabel struct too.

Michal




More information about the libvir-list mailing list