From: George Dunlap <george.dunlap@eu.citrix.com>
To: Keir Fraser <Keir.Fraser@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: DOMID_XEN and iomem_access_permitted
Date: Wed, 12 May 2010 15:55:57 -0500 [thread overview]
Message-ID: <4BEB15DD.7020208@eu.citrix.com> (raw)
In-Reply-To: <C810D2A1.1CAF%keir.fraser@eu.citrix.com>
Keir Fraser wrote:
> Unprivileged domains will be unable to obtain a reference to dom_xen. So
> this bug can only trigger from dom0.
>
OK -- and DOMID_IO redirects the checks back to current->domain before
calling iomem_access_permitted() in get_page_from_l1e(). So we don't
believe a domU should be able to pass a "dummy domain" to
iomem_access_permitted(). Good to know. :-)
-George
next prev parent reply other threads:[~2010-05-12 20:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-12 20:45 DOMID_XEN and iomem_access_permitted George Dunlap
2010-05-12 20:48 ` Keir Fraser
2010-05-12 20:55 ` George Dunlap [this message]
2010-05-13 9:09 ` Keir Fraser
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=4BEB15DD.7020208@eu.citrix.com \
--to=george.dunlap@eu.citrix.com \
--cc=Keir.Fraser@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/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).