From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Kletzander Subject: What fields should be used for reporting shared memory? Date: Tue, 14 Mar 2017 12:42:27 +0100 Message-ID: <20170314114227.GB6248@wheatley> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9179713973841316581==" Return-path: Received: from caroline.localdomain (dhcp129-198.brq.redhat.com [10.34.129.198]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v2EBgSPx021031 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 14 Mar 2017 07:42:29 -0400 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com List-Id: linux-audit@redhat.com --===============9179713973841316581== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ADZbWkCsHQ7r3kzd" Content-Disposition: inline --ADZbWkCsHQ7r3kzd Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Hi, I am going through the fields in the dictionary and I can't find any name to use for the following scenario. We (libvirt) are running virtual machines and there's a thing nowadays, that people like to use, called ivshmem (Inter-VM SHared MEMory). From host's point of view this is just a shared memory region accessed by multiple VMs (and possibly to host as well). The machine maps the shared memory given a name (e.g. name "asdf" results in /dev/shm/asdf to be mapped) *or* it can communicate with a server over UNIX socket and that server handles interrupts and also tells the client which shared memory region to map. Talking about information we have; in server-less setup it's the shared memory region that is shared, in the server scenario it is the socket. That's information we can output. So my question is, when starting a domain or hot-(un)plugging, what naming should we use for this kind of device and what are the things that we should describe about it? Basically, how would you like the message to look? Thanks in advance for any info. Have a nice day, Martin --ADZbWkCsHQ7r3kzd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEiXAnXDYdKAaCyvS1CB/CnyQXht0FAljH1yIACgkQCB/CnyQX ht2KOg/+Mm2vRp7YLuNuwu9PNm/Oj88AVeiVEMIJPYqmddFgKZzy6otdjMGG90DM rlKIhiWN4TzckKYSzLy2v/ASsaIxXVeqEAgvFcf1CrGq9miZ7aKN4ebETnHG+Nb/ x3hLsz3MgTnSAHy7tttwjKGk2T5S0kh7TEZF2M4WDukUOrfPg7Ss2aH02SLtdBfx 93PgnUQboeqqVteBce30mCn5wedqb+zj+4lnBDjLv9tYi/Uyyk6H25ukAg5QVjJe 3Lxc7o/pvyUGq0TaV8oapq1TdVyDGBGW76qqAsTDSUPwGy20MQg7U/Q40kRL16YZ jaXlkTgu9S/7U9h7uMiB2GVzOleN4QYNLrGqNwgS4EJPvkJe1LXyKelXNfRvvyea 9Z2KzCA4EPojkbb89lcAo4uU5CXvEk5gR7IQ3Q6mWKkUIl79J1X4/X8oNBtHhkbP eLSZ3DAtWLTXriMvkcc3IvVqMMlDSRBZM49NfK0Z4WCe2JRBL86WMs5/uaukY7/S 4OntXQxswXAFjFIAikaLWkjO3DKzfHInJ+NAIXFoNQuXSJjzNt8bXgUPKLtUQoVn j7MeiW7N3BVme1PZz78AAFvOWf8o8m34rswDHs6AkokeezoMbLDr3HGDoDlsTXjE qRGrjOC1ZiZ/7hvhXVvA7VBW762zSZ8aD0CqplNpKh0c5Flyh8I= =UrCn -----END PGP SIGNATURE----- --ADZbWkCsHQ7r3kzd-- --===============9179713973841316581== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============9179713973841316581==--