From: Doug Goldstein Subject: Re: [PATCH] XSM-docs: Flask operates on domain types and not on individual domain. Updated the documentation to reflect this. Date: Tue, 19 Jul 2016 08:30:04 -0500 Message-ID: <0efeb3d2-5f0d-1201-6916-418a7fb61260@cardoe.com> References: <1468919134-7603-1-git-send-email-anshul.makkar@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8663323295709974909==" Return-path: In-Reply-To: <1468919134-7603-1-git-send-email-anshul.makkar@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Anshul Makkar , xen-devel@lists.xen.org Cc: dgdegra@tycho.nsa.gov List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============8663323295709974909== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rAemhDcoAV3FvNkBT3Xr9bvmtBVeK96rk" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --rAemhDcoAV3FvNkBT3Xr9bvmtBVeK96rk Content-Type: multipart/mixed; boundary="3MaAgkqt2DuXSX9INi4etSgGkfcHBugEb" From: Doug Goldstein To: Anshul Makkar , xen-devel@lists.xen.org Cc: dgdegra@tycho.nsa.gov Message-ID: <0efeb3d2-5f0d-1201-6916-418a7fb61260@cardoe.com> Subject: Re: [Xen-devel] [PATCH] XSM-docs: Flask operates on domain types and not on individual domain. Updated the documentation to reflect this. References: <1468919134-7603-1-git-send-email-anshul.makkar@citrix.com> In-Reply-To: <1468919134-7603-1-git-send-email-anshul.makkar@citrix.com> --3MaAgkqt2DuXSX9INi4etSgGkfcHBugEb Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 7/19/16 4:05 AM, Anshul Makkar wrote: > Signed-off-by: Anshul Makkar > --- > * Resending the patch due to incomplete subject in the previous patch.= >=20 > docs/misc/xsm-flask.txt | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > --- > diff --git a/docs/misc/xsm-flask.txt b/docs/misc/xsm-flask.txt > index 62f15dd..bf8bb6e 100644 > --- a/docs/misc/xsm-flask.txt > +++ b/docs/misc/xsm-flask.txt > @@ -9,8 +9,8 @@ controls over Xen domains, allowing the policy writer t= o define what > interactions between domains, devices, and the hypervisor are permitte= d. > =20 > Some examples of what FLASK can do: > - - Prevent two domains from communicating via event channels or grants= > - - Control which domains can use device passthrough (and which devices= ) > + - Prevent two domains types from communicating via event channels or = grants > + - Control which type of domains can use device passthrough (and which= devices) I disagree with this snippet. This is an example of what you can do with FLASK. You can use flask to do those two actions. Adding the word "types" in there takes it from being a concrete example to being more ambiguous. > - Restrict or audit operations performed by privileged domains > - Prevent a privileged domain from arbitrarily mapping pages from oth= er domains > =20 > @@ -160,10 +160,10 @@ the policy can be reloaded using "xl loadpolicy".= > The example policy included with Xen demonstrates most of the features= of FLASK > that can be used without dom0 disaggregation. The main types for domUs= are: > =20 > - - domU_t is a domain that can communicate with any other domU_t > + - domU_t is a domain type that can communicate with any other domU_t = types. "A domain labeled with domU_t can communicate with any other domain labeled with type domU_t." > - isolated_domU_t can only communicate with dom0 > - prot_domU_t is a domain type whose creation can be disabled with a = boolean > - - nomigrate_t is a domain that must be created via the nomigrate_t_bu= ilding > + - nomigrate_t is a domain type that must be created via the nomigrate= _t_building > type, and whose memory cannot be read by dom0 once created "A domain labeled with nomigeate_t is a domain that" > =20 > HVM domains with stubdomain device models also need a type for the stu= b domain. >=20 --=20 Doug Goldstein --3MaAgkqt2DuXSX9INi4etSgGkfcHBugEb-- --rAemhDcoAV3FvNkBT3Xr9bvmtBVeK96rk 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 iQJ8BAEBCgBmBQJXjiteXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNTM5MEQ2RTNFMTkyNzlCNzVDMzIwOTVB MkJDMDNEQzg3RUQxQkQ0AAoJEKK8A9yH7RvUmhIP/3LIQ1UrdAVGreCZlQFicH58 GV9KvrvlK5p+cb//jdgCRRl93ewkXd2xRHhgS2+UjqrRtP4tF8xqLI3cSRO07ZrJ AUZpvEdJJThSKI3UMaLTj3/BHB60CMqSl4ObSfZme9CWq9jmj4UTh996aCstB+iL dkrSuPnurkfT1S3xJm9aVqEL6MIgVVPUOOEP/2rYB850JyjALQzVWnhodrNt8ZFa dxr4OgtAw/jfrxsB/c/34Iwjbw8s7ZdIP52J3Kj3ne7rJ9XInDECu0FyNPDUp3WS RHbS0BBc+lIIaZ15PxFdo9+0dp8An5Ogo5ddX+RaW9WTiq9HVYnNkI/xE5dEsflU BdQWD4mKBdSuLbYflC0JmPxBzMLLyb6jcgEvb3i46QmSVDFMulVw56ecOodBxYV2 Sk2tP+CdlsFbuneKHB+oLzbT8nDbk6H8ux+mKmnpUorKH/Rt1fbYutLyfIt+DMRU L8g3qmhKwWpg1TaJeiXWlOQTN9cEClE8A+lZKl0Rzvpo0Jh1DGbqByYti0Kbq0kd ylnci8djSQbqV+oSxKubqkRksbdxUiu67X/hsGIM4GkQAoA8/44dirxq3kG1psbn Q0nnYfgfUgDsTGhqXJbOJruB0+Z8V8wjyomgToQEIkPZxHNvm904r3XL+xvrLElb pw67ub2bDEgDIOZE1/Ru =mB9H -----END PGP SIGNATURE----- --rAemhDcoAV3FvNkBT3Xr9bvmtBVeK96rk-- --===============8663323295709974909== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============8663323295709974909==--