From: Ian Jackson Subject: Re: [OSSTEST PATCH v2 11/12] ts-debian-install: add in seclabel if XSM is enabled Date: Tue, 14 Oct 2014 15:04:02 +0100 Message-ID: <21565.11602.668015.689518@mariner.uk.xensource.com> References: <1411592677-2632-1-git-send-email-wei.liu2@citrix.com> <1411592677-2632-12-git-send-email-wei.liu2@citrix.com> <21560.757.424255.492365@mariner.uk.xensource.com> <20141010162907.GD12970@zion.uk.xensource.com> <21560.3108.262893.925977@mariner.uk.xensource.com> <20141010171105.GF12970@zion.uk.xensource.com> <21560.5857.765851.730435@mariner.uk.xensource.com> <1413271571.1497.5.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1413271571.1497.5.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: dgdegra@tycho.nsa.gov, Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [OSSTEST PATCH v2 11/12] ts-debian-install: add in seclabel if XSM is enabled"): > On Fri, 2014-10-10 at 18:26 +0100, Ian Jackson wrote: > > Maybe it should be documented, or configurable. > > It will have to be configurable since the user is at liberty to use > whatever policy they want, including writing their own from scratch, and > could give their domain labels any name they like, so there is no > universal sensible default. We could set a default relating to the > example policy which we ship but that is about all we can do. Yes, indeed. > There also needs to be an option to force the seclabel to be explicitly > specified for every domain, to allow people who have more complex setups > to not worry about some domain getting the default policy/permissions. Indeed. In the case where this forces creation failure it would be nice to detect it a bit earlier than when the hypervisor says `no'. Ian.