From: Doug Goldstein Subject: Re: XSM denials with 4.7.0 RC1 Date: Wed, 4 May 2016 14:35:55 -0500 Message-ID: <9da3149a-30a6-6fbf-fe53-b24d2dc788ec@cardoe.com> References: <37c4c8fe-c803-dcd1-4934-0674628b2c45@cardoe.com> <572A2F5A.1080800@tycho.nsa.gov> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8381281838441519179==" Return-path: In-Reply-To: <572A2F5A.1080800@tycho.nsa.gov> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Daniel De Graaf , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============8381281838441519179== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="i60fRJ3i3axdGcGSc4NDdolDvqi37Jhw2" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --i60fRJ3i3axdGcGSc4NDdolDvqi37Jhw2 Content-Type: multipart/mixed; boundary="8OrpwANovgk1A1IsNi13wk91NVNBU635H" From: Doug Goldstein To: Daniel De Graaf , "xen-devel@lists.xen.org" Cc: Konrad Rzeszutek Wilk Message-ID: <9da3149a-30a6-6fbf-fe53-b24d2dc788ec@cardoe.com> Subject: Re: [Xen-devel] XSM denials with 4.7.0 RC1 References: <37c4c8fe-c803-dcd1-4934-0674628b2c45@cardoe.com> <572A2F5A.1080800@tycho.nsa.gov> In-Reply-To: <572A2F5A.1080800@tycho.nsa.gov> --8OrpwANovgk1A1IsNi13wk91NVNBU635H Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 5/4/16 12:20 PM, Daniel De Graaf wrote: > On 05/04/2016 09:52 AM, Doug Goldstein wrote: >> Hi all, >> >> Sometime after d4cd5a205973171475b8c63bc250c2803e0f51fa, I get the >> following denials for any domU that attempts to run "xl". In my >> situation my domU needs to run "xl devd" because its a driver domain. >> >> (XEN) avc: denied { xen_extraversion } for domid=3D1 >> scontext=3Dsystem_u:system_r:domU_t tcontext=3Dsystem_u:system_r:xen_t= >> tclass=3Dversion >> (XEN) avc: denied { xen_extraversion } for domid=3D1 >> scontext=3Dsystem_u:system_r:domU_t tcontext=3Dsystem_u:system_r:xen_t= >> tclass=3Dversion >> (XEN) avc: denied { xen_compile_info } for domid=3D1 >> scontext=3Dsystem_u:system_r:domU_t tcontext=3Dsystem_u:system_r:xen_t= >> tclass=3Dversion >> (XEN) avc: denied { xen_capabilities } for domid=3D1 >> scontext=3Dsystem_u:system_r:domU_t tcontext=3Dsystem_u:system_r:xen_t= >> tclass=3Dversion >> (XEN) avc: denied { xen_changeset } for domid=3D1 >> scontext=3Dsystem_u:system_r:domU_t tcontext=3Dsystem_u:system_r:xen_t= >> tclass=3Dversion >> (XEN) avc: denied { xen_pagesize } for domid=3D1 >> scontext=3Dsystem_u:system_r:domU_t tcontext=3Dsystem_u:system_r:xen_t= >> tclass=3Dversion >=20 > These 6 denials should not happen with the policy in 4.7.0-rc1; are > you using an older policy? Well it turns out yes I was using a bad policy. I grabbed the policy updates from master and not from 4.7.0-rc1 when I merged them with my policy. So yes the above are incorrect and noise on my part. master wasn't (and still isn't) at the same point that 4.7.0-rc1 was at. >=20 >> (XEN) avc: denied { xen_commandline } for domid=3D1 >> scontext=3Dsystem_u:system_r:domU_t tcontext=3Dsystem_u:system_r:xen_t= >> tclass=3Dversion >> (XEN) avc: denied { xen_build_id } for domid=3D1 >> scontext=3Dsystem_u:system_r:domU_t tcontext=3Dsystem_u:system_r:xen_t= >> tclass=3Dversion >=20 > If these show up for domUs in normal operation (and I think using > "xl devd" probably qualifies for that), then they probably need > dontaudit rules. >=20 These are still happening for any domD running "xl devd". --=20 Doug Goldstein --8OrpwANovgk1A1IsNi13wk91NVNBU635H-- --i60fRJ3i3axdGcGSc4NDdolDvqi37Jhw2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0 iQJ8BAEBCgBmBQJXKk8dXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNTM5MEQ2RTNFMTkyNzlCNzVDMzIwOTVB MkJDMDNEQzg3RUQxQkQ0AAoJEKK8A9yH7RvUa9sQAI6kEzNOcjsAFZhYT0xAJ8Ly pJIaWPhvChWMJUTm3nlg3Ba3kGP13WtiJEKY0pPt1tCQXO3JIA4VTA+A0wTD87Nq gJJ6ep2sdsYko6qgklyZBspqyWDpf7wgUUiugHI9DiSwsmX4K3cP768BA6eRoOyL YFm9uQwwfmPblI9oNnmCTgcDIDZr27tUI3j6hmwiSF6ZvUSH7wC9HvfvZWRuViBR cZe4SuNkbduZBbEpFb/jHSg58Il34LP101V0c+YNcMZ1fNiS7yxHQ3BxxflCrhc+ BndS/ksYcxGZQA4+C/SQKCYuF6T6jnREJv4qgyto4CODG6cWrFV0HPWtS9Bf63G9 f49xz0sY9sA0ezt/9cYCE0+qlEmTdx1Ytd2wJzglS/4bTGq8HC497QJjCkSJ0x9o hbrbLo0As2OhNIxmx1dWLIOa2Bo8UL+AqoEVacoyUbXdKYmpTWBWT5dxlz9fKmoD Poxy3OlEqpleOSn0us/6/0oDuCcKUAGBWGCwv9Hgm6suTfq1Oe1TJiYNNtXmwHyz 3FJCTjAPJH3Xv338VC5VogiqkrP2Z3Zti2NRMfEItERRfU5pM2IaVd67jlNbm7CL SrMkt9ctn931AXRMjSnfvFoakQ313qapUhK41QVSTP/feQJfLqk3YBWgFTSOgWvu kzOmKVb9rNKQw/gT/ZXC =jQ7+ -----END PGP SIGNATURE----- --i60fRJ3i3axdGcGSc4NDdolDvqi37Jhw2-- --===============8381281838441519179== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwOi8vbGlzdHMueGVuLm9y Zy94ZW4tZGV2ZWwK --===============8381281838441519179==--