From: Frediano Ziglio <frediano.ziglio@citrix.com>
To: David Vrabel <david.vrabel@citrix.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>,
Boris Ostrovsky <boris.ostrovsky@oracle.com>,
Ian Campbell <Ian.Campbell@citrix.com>,
linux-kernel <linux-kernel@vger.kernel.org>,
linux-api@vger.kernel.org
Subject: Re: [PATCH 1/2] xen: Implement ioctl to restrict privcmd to a specific domain
Date: Thu, 31 Jul 2014 15:43:43 +0100 [thread overview]
Message-ID: <E1XCraR-00083r-MZ@lists.xen.org> (raw)
In-Reply-To: <E1XCr4q-0007Nh-3J@lists.xen.org>
On Thu, 2014-07-31 at 15:11 +0100, David Vrabel wrote:
> On 31/07/14 14:53, Ian Campbell wrote:
> > On Thu, 2014-07-31 at 14:16 +0100, Frediano Ziglio wrote:
> >
> >> include/xen/interface/domctl.h | 1090 ++++++++++++++++++++++++++++++++++++
> >
> > domctl is an stable toolstack only hypervisor interface, so the kernel
> > cannot use it because it would then break.
>
> Ok. I guess we'll have to resurrect the idea to do something with XSM.
>
> David
>
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.
For safety there is a check on interface_version.
Frediano
next prev parent reply other threads:[~2014-07-31 14:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1XCqEY-0005zn-RQ@lists.xen.org>
2014-07-31 13:53 ` [PATCH 1/2] xen: Implement ioctl to restrict privcmd to a specific domain Ian Campbell
[not found] ` <1406814787.10395.2.camel@kazak.uk.xensource.com>
2014-07-31 14:11 ` David Vrabel
[not found] ` <E1XCr4q-0007Nh-3J@lists.xen.org>
2014-07-31 14:43 ` Frediano Ziglio [this message]
[not found] ` <1406817823.6753.4.camel@hamster.uk.xensource.com>
2014-07-31 14:58 ` Ian Campbell
[not found] ` <E1XCr4p-0007Nh-Qu@lists.xen.org>
[not found] ` <E1XCr4p-0007Nh-Qu-GuqFBffKawuEi8DpZVb4nw@public.gmane.org>
2014-07-31 17:49 ` [Xen-devel] " George Dunlap
[not found] ` <CAFLBxZYnaeEGTbuU5QoKJOU62Ck9p_B53bjAd46Z7uVgOxXH8g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-07-31 17:58 ` David Vrabel
[not found] <201407311317.s6VDHJV9013633@aserp1020.oracle.com>
2014-08-04 20:26 ` Konrad Rzeszutek Wilk
2014-08-05 9:10 ` Frediano Ziglio
2014-08-05 13:42 ` Konrad Rzeszutek Wilk
[not found] ` <20140805134220.GD13057-0iZWjJA6G8GSPmnEAIUT9EEOCMrvLtNR@public.gmane.org>
2014-08-05 13:45 ` David Vrabel
[not found] ` <53E0DFFE.9090202-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org>
2014-08-06 10:52 ` Frediano Ziglio
2014-07-31 13:16 Frediano Ziglio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1XCraR-00083r-MZ@lists.xen.org \
--to=frediano.ziglio@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=boris.ostrovsky@oracle.com \
--cc=david.vrabel@citrix.com \
--cc=linux-api@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).