From: Ian Campbell Subject: Re: [PATCH] libxl: set permissions for xs frontend entry pointing to xs backend Date: Tue, 10 Sep 2013 16:23:09 +0100 Message-ID: <1378826589.10928.28.camel@kazak.uk.xensource.com> References: <1378823007.10928.12.camel@kazak.uk.xensource.com> <1378824892-20789-1-git-send-email-roger.pau@citrix.com> <21039.14046.599923.505120@mariner.uk.xensource.com> <1378826180.10928.25.camel@kazak.uk.xensource.com> <21039.14446.361093.475425@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VJPmc-0007mN-Ib for xen-devel@lists.xenproject.org; Tue, 10 Sep 2013 15:23:14 +0000 In-Reply-To: <21039.14446.361093.475425@mariner.uk.xensource.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 Jackson Cc: xen-devel@lists.xenproject.org, security@xen.org, Roger Pau Monne List-Id: xen-devel@lists.xenproject.org On Tue, 2013-09-10 at 16:19 +0100, Ian Jackson wrote: > Ian Campbell writes ("Re: [PATCH] libxl: set permissions for xs frontend entry pointing to xs backend"): > > On Tue, 2013-09-10 at 16:12 +0100, Ian Jackson wrote: > > > Is it sufficient to set the permissions on "backend" - does that > > > prevent the guest deleting the whole subtree ? > > > > Yes. See the rest of this thread. > > > > > Really it would be better to make the unplug not depend on this path. > > > > Given the above, why? > > I think it's conceptually wrong. We should be iterating over devices > using information in our own part of the xenstore tree. So we need /libxl/domain//devices/vdb/ then? Ian.