Re: [PATCH v2 1/3] audit: Audit information about watchdog devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 27, 2017 at 11:10:31 +0200, Michal Privoznik wrote:
> On 09/27/2017 10:41 AM, Peter Krempa wrote:
> > On Wed, Sep 27, 2017 at 09:33:15 +0200, Michal Privoznik wrote:
> >> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> >> ---
> >>  src/conf/domain_audit.c  | 46 ++++++++++++++++++++++++++++++++++++++++++++++
> >>  src/conf/domain_audit.h  |  5 +++++
> >>  src/libvirt_private.syms |  1 +
> >>  3 files changed, 52 insertions(+)
> >>
> >> diff --git a/src/conf/domain_audit.c b/src/conf/domain_audit.c
> >> index 4afc22019..026fafe0c 100644
> >> --- a/src/conf/domain_audit.c
> >> +++ b/src/conf/domain_audit.c

[...]

> > 
> >> +    VIR_AUDIT(VIR_AUDIT_RECORD_RESOURCE, success,
> >> +              "virt=%s resrc=dev reason=%s %s uuid=%s %s",
> >> +              virt, reason, vmname, uuidstr, device);
> > 
> > The audit message should identify the host resource which is used by the
> > VM. I doubt that the alias is a good reference to the host device in use.
> > 
> > 
> 
> There's no host resource to report. Watchdogs are purely virtual.
> Therefore I went with the alias. But feel free to suggest a better option.

Ah, in that case NACK. We don't audit purely virtual resources.

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux