[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen/arm: Correctly handle non-page aligned pointer in raw_copy_*
On 02/18/2014 02:59 PM, Ian Campbell wrote: > On Fri, 2014-02-14 at 17:10 +0000, Julien Grall wrote: >> The current implementation of raw_copy_* helpers may lead to data corruption >> and sometimes Xen crash when the guest virtual address is not aligned to >> PAGE_SIZE. > > Isn't a non-aligned address the vast majority of the cases (hypercall > arguments on the guest stack)? How have we managed to get away with this > for so long? Because most of the time the size is smaller than 1 page. It not the case with flask policy. -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |