From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Re: DOMID_XEN and iomem_access_permitted Date: Wed, 12 May 2010 15:55:57 -0500 Message-ID: <4BEB15DD.7020208@eu.citrix.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org 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