This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] Re: [Xen-staging] [xen-unstable] Xen Security Modules: XSM

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: [Xen-staging] [xen-unstable] Xen Security Modules: XSM
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Tue, 04 Sep 2007 08:07:21 -0600
Cc: Keir Fraser <keir@xxxxxxxxxxxxx>, "George S. Coker, II" <gscoker@xxxxxxxxxxxxxx>
Delivery-date: Wed, 05 Sep 2007 08:20:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200708311022.l7VAMLno003138@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: HP OSLO R&D
References: <200708311022.l7VAMLno003138@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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 Williamson                             HP Open Source & Linux Org.

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>