From: Alex Williamson Subject: Re: [Xen-staging] [xen-unstable] Xen Security Modules: XSM Date: Tue, 04 Sep 2007 08:07:21 -0600 Message-ID: <1188914841.6716.10.camel@bling> References: <200708311022.l7VAMLno003138@latara.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200708311022.l7VAMLno003138@latara.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Keir Fraser , "George S. Coker, II" List-Id: xen-devel@lists.xenproject.org On Fri, 2007-08-31 at 11:22 +0100, Xen staging patchbot-unstable wrote: > diff -r 0f196e11a143 -r 96f64f4c42f0 xen/include/xsm/xsm.h > --- /dev/null Thu Jan 01 00:00:00 1970 +0000 > +++ b/xen/include/xsm/xsm.h Fri Aug 31 11:21:35 2007 +0100 ... > + int (*update_va_mapping) (struct domain *d, l1_pgentry_t pte); ... > +static inline int xsm_update_va_mapping(struct domain *d, > l1_pgentry_t pte) > +{ > + return xsm_call(update_va_mapping(d, pte)); > +} Shouldn't we be using a more opaque type here? l1_pgentry_t is rather arch specific. The implementation of update_va_mapping() in flask is also very x86 centric. Thanks, Alex -- Alex Williamson HP Open Source & Linux Org.