From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH 1/2] xen: Implement ioctl to restrict privcmd to a specific domain Date: Thu, 31 Jul 2014 15:58:02 +0100 Message-ID: References: <1406814787.10395.2.camel@kazak.uk.xensource.com> <1406817823.6753.4.camel@hamster.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XCro1-00006F-Cn for xen-devel@lists.xenproject.org; Thu, 31 Jul 2014 14:58:09 +0000 In-Reply-To: <1406817823.6753.4.camel@hamster.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: Frediano Ziglio Cc: xen-devel , Boris Ostrovsky , David Vrabel , linux-kernel , linux-api@vger.kernel.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-07-31 at 15:43 +0100, Frediano Ziglio wrote: > The code just require that: > - sizeof(struct xen_domctl) does not increase; > - position and size of cmd, domain and interface_version does not > change; > - XEN_DOMCTL_createdomain is 1. This is not a stable interface, so you cannot actually rely on any of those. For the first one in particular its not that hard to imagine someone needing a larger subop struct at some point. Ian.