From: Ian Jackson Subject: Re: [PATCH] [Xend] Move some backend configuration Date: Thu, 2 Oct 2008 11:21:57 +0100 Message-ID: <18660.41157.41727.193987@mariner.uk.xensource.com> References: <18660.38289.438076.522504@mariner.uk.xensource.com> <20081002101617.GA81623@bar.gandi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20081002101617.GA81623@bar.gandi.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Pascal Bouchareine Cc: xen-devel@lists.xensource.com, "Daniel P. Berrange" , Keir Fraser , John Levon List-Id: xen-devel@lists.xenproject.org Pascal Bouchareine writes ("Re: [Xen-devel] [PATCH] [Xend] Move some backend configuration"): > On Thu, Oct 02, 2008 at 10:49:34AM +0100, Keir Fraser wrote: > > An update on this: I solved this issue by fiddling permissions in xenstore > > after all! /local/domain/ is now read-only to the guest, and specific > > subdirs only are writable (currently device, error and control). > > writing into device allows the guest to rewrite it's backend > location, this should be protected too i guess ? We will arrange for the backend location not to be trusted by anything important. In fact, it is entirely formulaic: if you know which domain the backend is supposed to be in, you can simply shuffle the path components. And you can double check against the backend's frontend path. Ian.