Hi, I am currently porting ACM to xen/ia64. Because ia64 can''t handle unaligned accesses, the binary policy file should be aligned. This patch fixes this issue. (There is the same issue within xen/acm for dumping feature. A patch will follow). Tested on xen/ia64. Tristan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Reiner Sailer
2006-Sep-05 02:37 UTC
Re:[Xen-devel] PATCH (ACM): keep binary stream aligned
> Message: 7 > Date: Mon, 4 Sep 2006 17:02:54 +0200 > From: Tristan Gingold <Tristan.Gingold@bull.net> > Subject: [Xen-devel] PATCH (ACM): keep binary stream aligned > To: xen-devel@lists.xensource.com, Keir Fraser > <Keir.Fraser@cl.cam.ac.uk> > Cc: xen-ia64-devel <xen-ia64-devel@lists.xensource.com> > Message-ID: <200609041702.54492.Tristan.Gingold@bull.net> > Content-Type: text/plain; charset="us-ascii" > > Hi, > > I am currently porting ACM to xen/ia64.Great news Tristan! We do not have ia64 systems available for testing but we are very interested in how your ACM port is going.> Because ia64 can''t handle unaligned accesses, the binary policyfileshould be> aligned. This patch fixes this issue. > (There is the same issue within xen/acm for dumping feature. A patchwill> follow).Thanks. Please submit the patch for creating the dump in the ACM (if you have one) as well.> Tested on xen/ia64.I tried the tools/security patch on my laptop and it works fine on my x86 Xen. Please make sure the ''alignment-hole'' in the policy reference is filled deterministically (e.g., with \''0''). The same source policy should always yield the same binary policy. Thanks Reiner _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tristan Gingold
2006-Sep-05 07:27 UTC
Re: [Xen-devel] PATCH (ACM): keep binary stream aligned
Le Mardi 05 Septembre 2006 04:37, Reiner Sailer a écrit :> > Message: 7 > > Date: Mon, 4 Sep 2006 17:02:54 +0200 > > From: Tristan Gingold <Tristan.Gingold@bull.net> > > Subject: [Xen-devel] PATCH (ACM): keep binary stream aligned > > To: xen-devel@lists.xensource.com, Keir Fraser > > <Keir.Fraser@cl.cam.ac.uk> > > Cc: xen-ia64-devel <xen-ia64-devel@lists.xensource.com> > > Message-ID: <200609041702.54492.Tristan.Gingold@bull.net> > > Content-Type: text/plain; charset="us-ascii" > > > > Hi, > > > > I am currently porting ACM to xen/ia64.[...]> Please make sure the ''alignment-hole'' in the policy reference is filled > deterministically (e.g., with \''0''). The same source policy should always > yield the same binary policy.Yes, that''s the reason why I have added a memset! Tristan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel